Hi,
How does one handle synths which has a gate argument, with a external midikeyboard (MIDIdef.noteOn, MIDIdef.noteOff)?
Hi,
How does one handle synths which has a gate argument, with a external midikeyboard (MIDIdef.noteOn, MIDIdef.noteOff)?
There is also an example in the built-in documentation:
Also, my ddwVoicer quark supports voice-stealing, and simplifies midi keyboard usage because notes are addressed by pitch. (It does use == on floats, but .midicps is deterministic.)
v = Voicer(15, \default);
MIDIIn.connectAll;
// no funky arrays, no fuss
MIDIdef.noteOn(\on, { |vel, num| v.trigger1(num.midicps, vel/127) });
MIDIdef.noteOff(\off, { |vel, num| v.release1(num.midicps) });
hjh