// python genwav.py 2000 12345 // D. Parson, January 2018 // Generator inserts actual code for the following (ABOVE): // WAVEFORM generator => Gain mixer => dac ; // Noise noisey => Gain noisegain => mixer ; // FREQ => generator.freq ; // GAINOSC => generator.gain ; // GNOISE => noisegain.gain ; // dac => Gain __g__ => WvOut __w__ => blackhole; // Parameters: WAVEFORM_FREQ_GAINOSC_GNOISE // "lazy1_SERIALNUMBER.wav" => __w__.wavFilename ; // 1::second => now ; // Run for 1 second, save output .wav file. // null @=> __w__; SinOsc generator => Gain mixer => dac ; Noise noisey => Gain noisegain => mixer ; 341 => generator.freq ; 0.510394332522 => generator.gain ; 0.249946792181 => noisegain.gain ; dac => Gain __g__ => WvOut __w__ => blackhole; // Parameters: WAVEFORM_FREQ_GAINOSC_GNOISE // Parameters: SinOsc_341_0.510394332522_0.249946792181 "lazy1_SinOsc_341_0.510394332522_0.249946792181_531147.wav" => __w__.wavFilename ; 1::second => now ; null @=> __w__;