CreepyPants
2020-07-21 18:18:09
Apologies in advance for one of my ambling questions - this one should prove to be worse than any previous. Sorry.
tl;dr -
Two connections for playing:
USB MIDI Inputs -> Hub -> BomeBox
and
DIN MIDI -> BomeBox DIN
*where BomeBox runs BMT script
Need to be changed for development to:
USB MIDI Inputs -> Hub -> Laptop -> BomeBox
and
DIN MIDI -> Laptop -> BomeBox DIN
*where BomeBox runs no script, routes everything straight through, and script is being edited/tested on the laptop
NOTE: I have a working system which involves moving cables around, but I'm hoping for a more elegant approach which I may be overlooking perhaps using BomeNetwork.
--
I'm sure others have wondered about this, but I couldn't find anything from searching the Forum yet.
I have a BMT script that uses Global Variables to "do things". These variables change based on selecting a Preset which is done via incoming MIDI msg.
Okay: I have a sequencer that when I load a song it sends to CH16 on a specific Port a PgmChg msg which loads the BMT Preset which loads the Global Variable values I use for that song.
Awesome.
But the problem lies in going between BMT on the laptop and BMT on the BomeBox: I can't update the variables once the script is on the Box - or rather, if I can then they are not part of the script itself and they need to be since reading/writing global variables via sequencer data is cumbersome. (Cute and fun, yet cumbersome)
Right now I do a hardware switch.
In my rig, my sequencer sends out via USB and DIN MIDI. I use both (because: >16 Channels)
For the USB bit, I 'break' the connection between the USB Hub and the BomeBox and connect the hub to the laptop, which handles data IO for the USB MIDI stuff. Easy peasy. For the DIN MIDI stuff, I use a UM-ONE going from the sequencer into the laptop, and then into the DIN MIDI on the BomeBox. Then the BomeBox has no script loaded and just a straight through routing.
So, once I have the script variables determined, I load the script to the Box, reconnect the DIN MIDI from the sequencer to the BomeBox, re-establish the connection from the Hub to the Box.
I'm wondering if there's a more elegant way to handle this, perhaps via BomeNetwork. I'm obviously having a difficult enough time visualising what I've got going on now, so I'm terribly sorry I haven't a clue how to properly ask this question.
I'm not sure how involved I need to be offering data to help me get through this. I mostly have a system that is variable for inputs, but generally there are 5 data inputs to my system, 4 through USB MIDI and 1 through DIN MIDI. These get distributed to USB MIDI and DIN MIDI destinations, the latter of which are partially through a 2x2 MIDI Interface connected to aforementioned USB Hub, and others receive data from BomeBox DIN Out connected to a Kenton Thru box.
Would a picture help? LOL
(I think a picture would be more confusing)