|
@@ -1,27 +0,0 @@ |
|
|
SinOsc o1 => Gain m => dac; |
|
|
|
|
|
SinOsc o2 => m; |
|
|
|
|
|
SinOsc o3 => m; |
|
|
|
|
|
|
|
|
|
|
|
0.1 => m.gain; |
|
|
|
|
|
500 => o1.freq; |
|
|
|
|
|
800 => o2.freq; |
|
|
|
|
|
900 => o3.freq; |
|
|
|
|
|
|
|
|
|
|
|
OscRecv orec; |
|
|
|
|
|
5005 => orec.port; |
|
|
|
|
|
orec.listen(); |
|
|
|
|
|
|
|
|
|
|
|
orec.event("block/update") @=> OscEvent update; |
|
|
|
|
|
|
|
|
|
|
|
while (true) { |
|
|
|
|
|
update => now; |
|
|
|
|
|
<<< "got data" >>>; |
|
|
|
|
|
//update.getInt() => int i; |
|
|
|
|
|
//update.getInt() => int h; |
|
|
|
|
|
//update.getInt() => int s; |
|
|
|
|
|
//update.getInt() => int v; |
|
|
|
|
|
//<<< i >>>; |
|
|
|
|
|
//<<< h >>>; |
|
|
|
|
|
//<<< s >>>; |
|
|
|
|
|
//<<< v >>>; |
|
|
|
|
|
} |
|
|
|