A randomly selected note from the list

Hi!
How to configure BMT so that when an incoming message appears, a randomly selected note from the existing list is emulated?

Hi,

Although Bome MIDI Translator does not have a "random" function, you might want to simulate one with a timer. Please see the below post and let me know if you have further questions. Also if you use the keyword search "random" on this forum you might find other examples.

 

https://www.bome.com/support/kb/rules-question

 

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

 

Thank You, Steve!

One more question.

The task - an incoming message should emulate a command to turn off all notes in the range from E1 to B4. There are 44 notes in this range. If I create 44 translators, each for a separate note, how much will this affect the system? Is it correct to solve the problem in this way?

Hi,
You don’t need 44 translators. Rather create a timer that iterates through the notes that you want to turn off as I explained in the post below: You can just set the timer counter to the values of the notes you want to sent note-off and the count to the number of notes.

Hi, Steve!
Thank you so much for your help!!!
Could you put the following settings in the attached file?
Incoming message: 91 79 7f
All notes from 90 28 64 to 90 83 64 should be turned off. Velocity for
all notes is only 64.
I tried to do it myself, but so far I could not.

Hi, if you make the outgoing message 80 28 64 to 80 83 64 it should work.
80 is a note-off message type on MIDI channel 1.
If that doesn’t work try 90 28 00 to 90 83 00. This is an alternate form of note off message.
The last byte is the velocity and a note-on with velocity of 0 is recognized as a midi Note off event.
Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

Steve, help me set up this translator…
I can’t understand how to set the range from 90 28 64 to 90 83 64, in which the notes should be turned off when receiving a control incoming message 91 79 7f.

Steve, help me set up this translator... I can’t understand how to set the range from 90 28 64 to 90 83 64, in which the notes should be turned off when receiving a control incoming message 91 79 7f.

Well, I don't think you want to send a note of 83 hex since that is greater than 127 decimal and MIDI only allows for values up to 127 (7F H). So assuming you want to send notes 28D to 83D which is 1CH to 53H, the attached file should work (assuming you are sending note-off on MIDI CH 1 and incoming is Note-On Note 79H (112 Decimal) on MIDI CH2 .

You might what to get a hex to decimal converter or simply type the note number you want in decimal in to google search like

"28 decimal in hex"

You can also convert back

"1C hex in decimal"

Raw MIDI is always in HEX, not decimal.

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz


Attachments:
1577476821480_Selected-Notes-off-2019-12-27.bmtp

Steve, you are a genius.
God save Steve! I will pray for you.
Merry Christmas and Happy New Year!!!

Glad to help!
MC and HNY to you too!

Commentary deleted by autor.

You deleted your latest request. Did you figure it out?

Yes. I mistakenly wrote there.