|
Post by derums on Mar 24, 2022 17:42:14 GMT
Hello thank you for this comprehensive and really versatile tool. My use case is to use an iPad that will send core midi pc or cc info. Can I setup streambyter to receive this message and pass it as a predefined sysex message to the iPad camera connection usb out connected to the device I need to control?
is there a link to the required syntax?
I'm using a Zoom b3n that requires sysex messages to change effects parameters but understands pc commands as patch changes already. The iPad recognizes it from coremidi
|
|
nic
Soapbox Supremo  
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Mar 25, 2022 17:32:31 GMT
Hi derums , Yes, you can convert a CC to a sysex message. It's essentially just a send command and the syntax will be specified in the b3n document which should give you the hex incantations you will need. All sysex messages will start with F0 and end in F7, and given it's a Zoom product would expect the second byte to be 52 (Zoom manufacturer number). Where you might come unstuck is if the b3n requires checksums on sys messages. Roland does this, for example, and this complicates things a bit, but it can be done (search this forum for roland checksum). In any case, the basic recipe you will need is something like: # send a sysex message on CC 40, ch1 ON if m0 == B0 $40 7F send F0 52 12 34 56 78 A1 A2 F7 end Where obviously the sysex message has to be correct for the b3n - I just made it up. And I also made up CC 40 channel 1 as an example. Adjust to your own requirements. If the sysex message being sent is longer than 16 bytes in total, then you will need to split it over multiple send statements with a +F flag appended to each. This may not work very well for many AUv3 hosts, but MidiFire as a host should be able to handle split sysex messages (or use the internal non-AUv3 Stream Byter module in MidiFire). I suspect the b3n will not require sysex messages that are long; it's usually just bulk dumps. Hope that helps. Regards, Nic.
|
|
|
Post by uncledave on Mar 29, 2022 17:35:18 GMT
I see that nic already answered your basic question. I just want to add the following:
You will need a MIDI routing app like MidiFire, or one of the AUv3 hosts (Audiobus, AUM, etc.) to make the connection to the external device. Stand-alone SB only sends and receives on its own Virtual MIDI port.
|
|