minor change to SoundGenerator