Does anyone know how to fade a mixed sound?&nbsp; I am creating a MixedSound which includes both a RepeatingSound (based on a looped SampledSound from a WAV file), and an FMSound.&nbsp; <br><br>I pretty much know how to apply a VolumeEnvelope to an FMSound by looking at the exponentialDecay method, but applying a VolumeEnvelope to a SampledSound, RepeatingSound, or MixedSound seems to have no effect.
<br><br>For example...<br><br>snd := RepeatingSound new.<br>snd setSound: (SampledSound fromWaveFileNamed: 'aWAVFile.wav') iterations: 1.<br>snd addEnvelope: (VolumeEnvelope exponentialDecay: 0.96).<br>snd storeWAVOnFileNamed: '
out.wav'.<br><br>...shows no effect on the waveforms in the resulting WAV file, even if I change the step size of the increments in the exponentialDecay to drag the decay out much further...<br><br>Do I need to write a method to modify the SoundBuffer values of the SampledSound directly?&nbsp; If so, I'm afraid I will need much more help!
<br><br>I just don't know enough technically about sound generation to trace my way through the updateTargetAt method of the VolumeEnvelope class to figure out what is going on with a non-FMSound...<br><br>Thanks,<br><br>
Rob<br><br><br>