<CsoundSynthesizer>
<CsOptions>
-odac -b10
</CsOptions>
<CsInstruments>

gihandle OSCinit 12000

sr = 44100
ksmps = 100
nchnls = 1

instr   1
kx init 0
ky init 0
kk  OSClisten gihandle, "/coordinates", "ff", kx, ky

ktest = round(kx*.025)
kgo changed ktest
if(kgo==1) then
event "i", 2, 0, 6, ky
endif

endin

instr 2
aenv expseg 0.01, 0.2, 5000, p3-0.2, 0.01
aout oscil aenv, p4*6, 1
out aout  
endin

</CsInstruments>
<CsScore>
f1 0 1024 10 1 
i1 0 100
</CsScore>
</CsoundSynthesizer>


<MacOptions>
Version: 3
Render: Real
Ask: Yes
Functions: ioObject
Listing: Window
WindowBounds: 72 179 400 200
CurrentView: io
IOViewEdit: On
Options:
</MacOptions>

<MacGUI>
ioView nobackground {60652, 59881, 55512}
ioSlider {5, 5} {20, 100} 0.000000 1.000000 0.000000 slider1
</MacGUI>

