
Could you give a quick example on how to use WvOut in order to write to a file? I have tried the following with no success, a part from having an empty "audio" file: WvOut waveOut; gain g; 0.9 =>g.gain; noise whitenoise; 0.5 => whitenoise.gain; "/CHUCK/samples/test.wav"=>waveOut.wavFilename; whitenoise => waveOut; whitenoise => dac; 2::second => now; waveOut.closeFile; whitenoise =< dac;

this works for me: noise whitenoise => gain g => WvOut waveOut => dac; 0.9 =>g.gain; 0.5 => whitenoise.gain; "test.wav"=>waveOut.wavFilename; 2::second => now; waveOut.closeFile; but IMHO using the gain ugen here is a little redundant so this should be fine, too: noise whitenoise => WvOut waveOut => dac; 0.5 => whitenoise.gain; "test.wav"=>waveOut.wavFilename; 2::second => now; waveOut.closeFile; ./MiS
participants (3)
-
eduard
-
Michal Seta
-
Perry R Cook