A few little bugs cleaned up

bugfix-looptober-cleanup
bombinans 2023-09-30 18:11:55 +10:00
parent de332e6c48
commit 9ba8700d8a
2 changed files with 9 additions and 5 deletions

View File

@ -1,7 +1,7 @@
(
~to = TouchOSC("192.168.0.209", 9000);
~to = TouchOSC(~touchosc_ip, 9000);
~tracknum = 0;
@ -74,10 +74,6 @@ OSCdef.freeAll;
~to.button('/grains/record0', 0, { | v | ~setrecord.value(0, v) });
~to.button('/grains/record1', 0, { | v | ~setrecord.value(1, v) });
~to.button('/grains/record2', 0, { | v | ~setrecord.value(2, v) });
~to.button('/grains/record3', 0, { | v | ~setrecord.value(3, v) });
@ -147,6 +143,13 @@ OSCdef.freeAll;
~to.v_('/track/pitch', ~granulator.pitch);
});
// set up the record buttons on the front page now because /track/mix has been defined
~to.button('/grains/record0', 0, { | v | ~setrecord.value(0, v) });
~to.button('/grains/record1', 0, { | v | ~setrecord.value(1, v) });
~to.button('/grains/record2', 0, { | v | ~setrecord.value(2, v) });
~to.button('/grains/record3', 0, { | v | ~setrecord.value(3, v) });

View File

@ -20,6 +20,7 @@ Routine.run({
s.sync;
("./effects.scd").loadRelative;
s.sync;
~touchosc_ip = "192.168.0.209";
("./interface.scd").loadRelative;
});
)