I have a DSI Evolver hardware synth that sometimes cannot cope with all the midi information it gets sent. So I get hanging notes and other weird sounds (yeah, I know, that’s what modular is all about)
There’s a midi panic option in the right click menu of CV-MIDI (VCV), but you need to navigate to the module to activate that.
My questions;
is there a way to remotely trigger a right-click menu item?
Is there another way to send a midi panic message to a synth?
would anybody be willing to create a generic, all channel midi panic (all notes off) module?
or is this already possible in some, module? Maybe one of those esoteric nerdy scripting ones?
My MPE module actually only listens to MIDI in signals. I implemented a panic menu item the same way as the core modules do. I put your request on my endless feature list, because I plan to implement sending MIDI signals out, but please be patient.
Now if anyone with some experience with scripts (I know there are some of those here in the forum) could help me (us) out creating a script that does that (ideally, sending out an all channel Midi all notes off message), that would be awesome.
I had a quick look at the module’s github, and needed a panic buttom for myself.
Sorry, I was wrong. You can only send MIDI messages to one particular channel. So to set all notes off on all channels, you will need 16 modules (for the MIDI channels 1 to 16) containing the same script and be triggered by an additional button-module that sends a trigger signal to all 16 modules at the same time. Btw, I’m not an expert in Lua coding.
As I said, I’m not an expert in Lua, but here’s a quick hack:
config.frameDivider = 1
config.bufferSize = 32
done = false
buttonTrig = SchmittTrigger.new()
function process(block)
if buttonTrig:process(block.button and 0 or 1) then
sendMidiMessage(11, 120, 0)
sendMidiMessage(11, 123, 0)
end
end
On the module pleine lune, this code will send an AllSoundsOf-message and an AllNotesOff-message to the choosen MIDI out device on the choosen MIDI channel (both have to be set in the context menu).