IIRC, it was mentioned here on the forum some time ago. What I would like is a type of “Snap-Shot” or “Scene”. I would like to move multiple faders each with different CC numbers in Metagrid, have BMTP record the last value of each fader and then I would like to be able to recall that value and send it to Metagrid thus returning the fader to that position. Is this possible?.
Hi,
Please find the attached.
Translators 1.0 through 1.7 capture the value of tracks 1-8 in global variables ga-gh respectively.
Translator 1.8 is a scen recall which will send all values.
Alternatively, I could have use a timer to send each value separately, but with only 8 values to send, I elected to just send raw MIDI.
Of course, if you shutdown Bome MIDI Translator Pro and restart it, the values are not retained but we have plans for persistent variables in the future.
Store-and-forward.bmtp (4.4 KB)
Steve Caldwell
Bome Customer Care
Also available for paid consulting services: bome@sniz.biz
Many thanks. Works perfectly!
As I am not adept at the Raw MIDI side of things i.e. I have no idea what this:
'b0 15 ga b0 16 gb b0 17 gc b0 18 gd b0 19 ge b0 1a gf b0 1b gg b0 1c gh
is doing, or how you arrived at these. Unless you could explain what function the “b0 xx” and “b0 1x” has, what the 'Ctrl Right is for and why it has “ps” as a parameter, and lastely, why gx=qq, it may be more useful for my future projects if you could provide me with the Timer example. As I am familiar with timers in BMTP.
Thanks.
B is Control Change
0 is MIDI Channel 1 so B0 is control change on MIDI Channel 1
15 is which control 15 is in hex so it is CC 21
The last number is the value 00-7F hex or 0-127 decimal.
The rest follows the same pattern.
The control numbers are held in global variables ga-gh
So
b0 15 ga
is CC 21 MIDI CH1 value from global variable ga.
Steve Caldwell
Bome Customer Care
Also available for paid consulting services: bome@sniz.biz
So is this ^ going on under the hood?
This is the magic part that I thought would be somewhat visible. But apparently not?
You can research MIDI messages at MIDI.org or other places on the web and all of the mysteries will be revealed to you. I just use this raw MIDI cheat to make things go quicker in some cases.
Steve Caldwell
Bome Customer Care
Also available for paid consulting services: bome@sniz.biz
If not raw MIDI, what would the timer be sending?
I’ll post it later the rules take a little longer.
Here is the timer version.’
I disabled translator 1.8
The recall is called by translator 1.9 which starts at timer setting g0 to 8 and decrementing it on each count. We call the timer 8 (g0) times
Translator 1.9 rules determine which varible value to send. Here are the rules.
// decrement the counter (going higest to lowest)
g0=g0-1
// adjust outgoing cc number and put into the local
// variable tt
tt=g0+21
// put the stored global variable into the local
// variable pp
if g0==0 then pp=ga
if g0==1 then pp=gb
if g0==2 then pp=gc
if g0==3 then pp=gd
if g0==4 then pp=ge
if g0==5 then pp=gf
if g0==6 then pp=gg
if g0==7 then pp=gh
Then we send the value of pp (pulled from the appropriate global variable) one at a time.
Store-and-forward-tmer.bmtp (5.3 KB)
Steve Caldwell
Bome Customer Care
Also available for paid consulting services: bome@sniz.biz

