Select all notes with a variable?

0
1

Hey guys.

Been using MT for awhile now, it really is great. I had a question as to how rules and variables though, I wanted to see if this is possible.

 

I’m looking to design a way for one note press to simultaneously trigger an “all notes off” message in another channel. Is this possible? I’ve gotten up to the point of being able to trigger a single note off message to a specific note, but I want to send the note off to the entire available notes on the channel, 0-127. Can this be done without having to make 128 new translators?

Marked as spam
Posted by (Q&A Forum: 1, Answers: 1)
January 1, 2018 12:53 am
18 views
0
Private answer

Hi,

Use Raw MIDI. You manually put in the following (for MIDI channel 1)

80 00 00 80 01 00 80 02 00 80 03 00 …   80 127 00

Hopefully you see the pattern.

Alternatively some MIDI devices understand the special “All notes off” message

B0 7B 7F

Or you can trigger a countdown timer. Set ga=128, have the timer execute 128 times

In the timer  you would have the following rules

ga=ga-1

if ga<=0 then exit rules, skip outgoing action

outgoing action  raw MIDI  : b0 ga 00

Marked as spam
Posted by (Q&A Forum: 26, Answers: 1531)
January 1, 2018 1:16 am

Thank you so much! Turns out the Raw Midi only takes hex, so I had to input hex values for the note area that you had incremented above. I ended up putting the following text to send a “note off” to all notes on midi ch 13 (8C)

8C 00 00 8C 01 00 8C 02 00 8C 03 00 8C 04 00 8C 05 00 8C 06 00 8C 07 00 8C 08 00 8C 09 00 8C 0A 00 8C 0B 00 8C 0C 00 8C 0D 00 8C 0E 00 8C 0F 00 8C 10 00 8C 11 00 8C 12 00 8C 13 00 8C 14 00 8C 15 00 8C 16 00 8C 17 00 8C 18 00 8C 19 00 8C 1A 00 8C 1B 00 8C 1C 00 8C 1D 00 8C 1E 00 8C 1F 00 8C 20 00 8C 21 00 8C 22 00 8C 23 00 8C 24 00 8C 25 00 8C 26 00 8C 27 00 8C 28 00 8C 29 00 8C 2A 00 8C 2B 00 8C 2C 00 8C 2D 00 8C 2E 00 8C 2F 00 8C 30 00 8C 31 00 8C 32 00 8C 33 00 8C 34 00 8C 35 00 8C 36 00 8C 37 00 8C 38 00 8C 39 00 8C 3A 00 8C 3B 00 8C 3C 00 8C 3D 00 8C 3E 00 8C 3F 00 8C 40 00 8C 41 00 8C 42 00 8C 43 00 8C 44 00 8C 45 00 8C 46 00 8C 47 00 8C 48 00 8C 49 00 8C 4A 00 8C 4B 00 8C 4C 00 8C 4D 00 8C 4E 00 8C 4F 00 8C 50 00 8C 51 00 8C 52 00 8C 53 00 8C 54 00 8C 55 00 8C 56 00 8C 57 00 8C 58 00 8C 59 00 8C 5A 00 8C 5B 00 8C 5C 00 8C 5D 00 8C 5E 00 8C 5F 00 8C 60 00 8C 61 00 8C 62 00 8C 63 00 8C 64 00 8C 65 00 8C 66 00 8C 67 00 8C 68 00 8C 69 00 8C 6A 00 8C 6B 00 8C 6C 00 8C 6D 00 8C 6E 00 8C 6F 00 8C 70 00 8C 71 00 8C 72 00 8C 73 00 8C 74 00 8C 75 00 8C 76 00 8C 77 00 8C 78 00 8C 79 00 8C 7A 00 8C 7B 00 8C 7C 00 8C 7D 00 8C 7E 00 8C 7F 00

Thank you so much! Very quick response time here.

( at January 1, 2018 3:36 am)

Yep, all in hex, sorry about that. Glad you got it working!

Steve

( at January 1, 2018 4:01 am)