Fully implements sound_replace