// 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__; SawOsc generator => Gain mixer => dac ; Noise noisey => Gain noisegain => mixer ; 1000 => generator.freq ; 0.9 => generator.gain ; 0.0 => noisegain.gain ; dac => Gain __g__ => WvOut __w__ => blackhole; // Parameters: WAVEFORM_FREQ_GAINOSC_GNOISE // Parameters: SawOsc_1000_0.9_0.0 "lazy1_SawOsc_1000_0.9_0.0_0.wav" => __w__.wavFilename ; // This is the REFERENCE SOUND with no Noise for this oscillator. 1::second => now ; null @=> __w__;