/*Getting started.. 1.7 Realtime Instrument Control
This instrument provides two control possibilities to a sine oscillator from the graphical user interface (GUI).
Open the widget window, press 'Run' and move the sliders!
You can set the channel on which widgets receive by right-clicking on the widget and choosing 'Properties'
*/
sr = 44100
ksmps = 128
nchnls = 2
0dbfs = 1
instr 1
kFreq invalue "freq" ; userdefined channel: freq
kAmp invalue "amp" ; userdefined channel: amp
kAmp port kAmp, .02 ; this smoothes the incoming slider values
kFreq port kFreq, .02 ; smoothing is usually required to avoid 'zipper noise'
aSine poscil3 kAmp, kFreq, 1
outs aSine, aSine
endin
f 1 0 1024 10 1
i 1 0 3600 ;calls the instrument, and plays for 3600 seconds
e
; written by Alex Hofmann (Nov. 2009) - Incontri HMT-Hannover
1013279563397true16015816216234266147{546018a6-f10c-4f00-b707-593b7713dd57}true0-3-255.00000000scope2.000000001.000000001.000000001.000000000.00000000freq164525738{40fda0db-fe7a-4e5e-83b7-efb1aa9fdd7e}true0-3200.000000001000.00000000433.46303500lincontinuous-1.00000000falseamp1714926743{923df544-20e6-4881-a63e-e1d5cbacb793}true0-30.000000001.000000000.17603000lincontinuous-1.00000000false161223131{2f6e0bb1-0572-4de2-a4a7-f0cff14be5e6}true0-3left
Lucida Grande
183000255255255noborder111611823131{248a601f-2231-437b-bd55-306f2dd67c1a}true0-3left
Lucida Grande
183000255255255noborder11