Refactor sound.