-odac -d sr = 44100 ksmps = 32 nchnls = 1 0dbfs = 1 gihandle OSCinit 9009 ; listen on 9009 #define HOST #"192.168.1.67"# ; address of computer listening to OSC messages on port 8008 schedule "master", 0, -1 instr master kindex init 0 ktrig OSClisten gihandle, "/android/test", "i", kindex if ktrig==1 then event "i","beep",0,1,kindex endif endin instr beep index=p4 OSCsend 1, $HOST, 8008, "/desktop/test", "i", index ; send back the index kenv adsr 0.1,0.1,0.6,0.2 asig poscil 0.8,index*100, -1 out kenv*asig endin 0 0 25 105 true 231 46 255 slider1 5 5 20 100 {fd279cfe-4bc1-44e8-8a16-d0a92bb18359} true 0 -3 0.00000000 1.00000000 1.00000000 lin continuous -1.00000000 false 0.00000000 0.55000001 1.00000000