fix: guard matrix mod OSC arg

This commit is contained in:
clement
2026-06-28 20:06:49 +02:00
parent 3ece3c9e8e
commit 96bb1151a7
+1 -1
View File
@@ -456,7 +456,7 @@ OSCdef(\mat_kit, { |msg, time, addr|
OSCdef(\mat_mod, { |msg, time, addr|
~toscTouch !? { ~toscTouch.(addr) };
~matApplyMod.(msg[1].asInteger, (msg[2] ? \none).asSymbol,
~matApplyMod.((msg[1] ? 0).asInteger, (msg[2] ? \none).asSymbol,
(msg[3] ? \none).asSymbol, (msg[4] ? 0).asFloat)
}, '/matrix/mod');