|
Post by elektrodave on Nov 6, 2013 3:15:35 GMT
Hi. I am a happy user of the Midi Bridge's Stream Byter since a month now and I'm very please with this app. It is great for my purpose. I mostly use it to remap control change messages and midi channel. Now, I would like to access some controller inside my Korg Electribe SX that are only accessible via NRPN messages. So basically, I would like to convert CC messages to NRPN. I know my Electribe NRPN structure messages but I have no idea how could I write this in the Stream Byter window. I would like to convert CC #22 on channel 10 to NRPN. Here's the NRPN structure messages and parameter number I'm trying to control. Note that everything is in Hexadecimal. n = the Midi channel
| Status | Second | Third |
| MSB | Bn | 63 | 0F |
| LSB | Bn | 62 | 46 |
| Data Entry (MSB) | Bn | 06 | 0~127 |
|
Thank you very much for your help.
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Nov 6, 2013 8:12:59 GMT
Hi elektrodave, try this:
# electrodave cc/nrpn rewrite # for KORG Electribe SX B9 16 = XX 63 0F +C B9 16 = XX 62 46 +C B9 16 = XX 06 +C B9 16 = XX +B
Although you said everything was in hex, I assumed the CC (22) and channel (10) were in decimal so they are converted to hex in the above rules. If I was wrong, then change all B9 16 to BA 22 You can omit the final rule if you want the original CC to be passed.
Note also that the MIDI channel the CC is using is retained for the NRPN.
Any questions, problems just post back. I didn't check the ruleset in the Stream Byter but I think it should parse. ;-)
Regards, Nic.
|
|
|
Post by elektrodave on Nov 6, 2013 12:48:12 GMT
Thank you very much for your help Nic. I will try your code friday evening.
|
|
|
Post by elektrodave on Nov 9, 2013 15:38:31 GMT
Hello Nic. ElektroDave again. First, just to let know that the code you gave me last wednesday works fine. Thanks again. Also, english is not my first language, so I probably sound peculiar sometimes. Thanks for your understanding. I would like to go a step further in my attempts to control my Korg Electribe via NRPN messages. I have some parameters, like, for example, Filter type, which has a button that circle around between Low Pass Filter, High Pass Filter, Band Pass Filter and a so-called Band Pass Filter Plus. It is also possible to control this button via NRPN. The only thing that changes in the NRPN message is the Data Entry's Third byte where values between different range makes different filter types been chosen. I would like to change these filter type in circle with the press of a momentary switch sending CC message. From what I understand, value between 0 to 31 (in decimal) choose LPF, values between 32 to 63 choose HPF, etc. I taught of a starting value ( 0 for example), to whom each press adds a value that falls in the range of the upper filter. Then, for the last value (BPF+), the value is reset to zero. That's it. I wonder how could this be possible the code? Here I give you the NRPN table for my Korg and under it, the code to be modified. I guess, the modification should take place on the third line, third byte. Thank you for your help.
| Status | Second | Third | MSB | Bn | 63 | 0F | LSB | Bn | 62 | 45 | Data Entry (MSB) | Bn | 06 | 00~1F : LPF 20~3F : HPF 40~5F : BPF 60~7F : BPF+ |
n = MIDI channel Number ------------------------------------------------------------------ B9 16 = XX 63 0F +C B9 16 = XX 62 45 +C B9 16 = XX 06 +C B9 16 = XX +B
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Nov 9, 2013 16:41:16 GMT
Hi elektrodave, No worries about English not being your first language. Right now the Stream Byter doesn't have the ability to do something differently for the same MIDI event out of the box, but you can do it by using scenes together with the Stream Byter, but it is a workaround and a bit messy. The good side is you only need to set it up once. First, please read this thread
So to cycle through the different NRPNs when the original controller is pressed, you need 4 separate rules saved into the 4 different scenes (scene 0 to scene 3). This trick will only work with rules in the Stream Byter on an input (left side of MidiBridge) port only and the scene channel we are going to hijack is channel 16 # save into scene 0 B9 16 7F = XX 63 0F +C B9 16 7F = XX 62 45 +C B9 16 7F = XX 06 00 +C # LPF B9 16 7F = CF 01 +C # switch to scene 1 B9 16 = XX +B
# save into scene 1 B9 16 7F = XX 63 0F +C B9 16 7F = XX 62 45 +C B9 16 7F = XX 06 20 +C # HPF B9 16 7F = CF 02 +C # switch to scene 2 B9 16 = XX +B
# save into scene 2 B9 16 7F = XX 63 0F +C B9 16 7F = XX 62 45 +C B9 16 7F = XX 06 40 +C # BPF B9 16 7F = CF 03 +C # switch to scene 3 B9 16 = XX +B
# save into scene 3 B9 16 7F = XX 63 0F +C B9 16 7F = XX 62 45 +C B9 16 7F = XX 06 60 +C # BPF+ B9 16 7F = CF 00 +C # switch to scene 0 B9 16 = XX +BThat might do it. I'm not sure if you want to re-use CC 16(hex) for this or use a different CC. The above rules will only work/cycle when CC16 is set to 127. Hope that helps. Regards, Nic.
|
|
|
Post by elektrodave on Nov 9, 2013 21:36:29 GMT
Hi Nic. ElektroDave. Thanks again. I got the idea. I will try it later today.
And by the way Nic, I wanted to tell you I really appreciate your quick responses and help. You're very generous. Just so you know, my first language is french. I read un a post that you understand french. Donc, je voulais te dire un merci beaucoup de Montreal et à la prochaine.
Dave.
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Nov 10, 2013 12:27:09 GMT
> I read un a post that you understand french.
Oui, c'est vrai (et allemand et néerlandais)
>Donc, je voulais te dire un merci beaucoup de Montreal et à la prochaine.
Merci! J'étais à Montréal il y a environ 15 ans, mais seulement pour un jour.
Respects, Nic.
|
|