How to make smoother transitions between articulations when using MIDI Muters?
-
Hi friends,
I’ve created a keyswitch setup using two MIDI Muters.
When I switched articulations, the last note from the previous sampler kept ringing.To fix that, I used the function Engine.allNotesOff(); every time I press the keyswitch.
It works, but it cuts the notes off very abruptly.Do you have any ideas on how to make the transition between articulations smoother?
Thanks!
const var articulacionTrGen = [36]; const var articulacionTrCres = [38]; const var MidiMuterTrGen = Synth.getMidiProcessor("MidiMuterTrGen"); const var MidiMuterTrCres = Synth.getMidiProcessor("MidiMuterTrCres"); inline function onmyButtonControl(component, value) { if (value) return; Engine.allNotesOff(); } function onNoteOn() { local n = Message.getNoteNumber(); if (articulacionTrGen.contains(n)) { Engine.allNotesOff(); MidiMuterTrGen.setAttribute(0, 0); MidiMuterTrCres.setAttribute(0, 1); Message.ignoreEvent(true); return; } if (articulacionTrCres.contains(n)) { Engine.allNotesOff(); MidiMuterTrGen.setAttribute(0, 1); MidiMuterTrCres.setAttribute(0, 0); Message.ignoreEvent(true); return; } } -
@lijas90 Enable the "Fix stuck notes" button of the MIDI muter
-
@d-healey That’s it! Thank you so much, David!