some tuning...

This commit is contained in:
tTh
2023-01-13 15:36:31 +01:00
parent 655a528192
commit f804d2c7ab
10 changed files with 62 additions and 30 deletions

View File

@@ -1,4 +1,5 @@
/* faire pouet avec chuck osc et un joystick
/*
faire pouet avec chuck osc et un joystick
-----------------------------------------
reception des boutons
*/
@@ -9,7 +10,7 @@ SqrOsc sl => Envelope envl => dac.left;
SawOsc sr => Envelope envr => dac.right;
0.5 => sl.gain => sr.gain;
0.01 => envl.time; 0.04 => envr.time;
0.22 => envl.time; 0.22 => envr.time;
OscIn oscin; OscMsg msg;

View File

@@ -3,11 +3,11 @@
reception des XY
*/
7777 => int InPort;
SqrOsc sl => dac.left;
7777 => int InPort;
15.55 => float divisor;
SqrOsc sl => dac.left;
SawOsc sr => dac.right;
0.0 => sl.gain => sr.gain;
0.0 => sl.gain => sr.gain;
OscIn oscin;
OscMsg msg;
@@ -27,8 +27,8 @@ while( true ) {
msg.getInt(0) => x;
msg.getInt(1) => y;
<<< "got (via ", InPort,") ", x, y >>>;
x => sl.freq;
y => sr.freq;
x/12.0 => sl.freq;
y/12.0 => sr.freq;
}
}