fix: guard matrix mod OSC arg
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user