MIDI with the S16
- streamfuchs
- Posts: 77
- Joined: Tue Sep 21, 2021 11:58 am
Re: MIDI with the S16
I am just about releasing a new version of my "Behringer S16 Remote Control" app with which it will be possible to control two daisychained S16 with all 32 channels via MIDI.
But there is one question left, perhaps someone out there has got the answer:
I know about the possibility of controlling phantom power and gain via MIDI commands but is there a possibility of controlling the "HA locked" function of an S16 with MIDI commands?
But there is one question left, perhaps someone out there has got the answer:
I know about the possibility of controlling phantom power and gain via MIDI commands but is there a possibility of controlling the "HA locked" function of an S16 with MIDI commands?
Re: MIDI with the S16
The S16 manual says: "The HA locked LED indicates preamp gain adjustment has been blocked by the controlling X32. To unlock, open the X32 GLOBAL/SETUP page and un-check the General Preferences' Lock Stagebox ckeckbox.
With X32-Edit:
So, it looks like to command isn't an S16 MIDI one, but a control on the X32. i.e. you should be able to un-check the X32 checkbox with a SYSEX command (embedding the OSC into SYSEX) to send it over MIDI if that's your communication path.
The OSC command is:
/-prefs/haflags %int
Global parameters: <int> is a bitmask
bit 0: Lock Stagebox
bit 1: X32 HA Gain split mode
bit 2: AES50/A HA Gain split mode
bit 3: AES50/B HA Gain split mode
With X32-Edit:
So, it looks like to command isn't an S16 MIDI one, but a control on the X32. i.e. you should be able to un-check the X32 checkbox with a SYSEX command (embedding the OSC into SYSEX) to send it over MIDI if that's your communication path.
The OSC command is:
/-prefs/haflags %int
Global parameters: <int> is a bitmask
bit 0: Lock Stagebox
bit 1: X32 HA Gain split mode
bit 2: AES50/A HA Gain split mode
bit 3: AES50/B HA Gain split mode
- streamfuchs
- Posts: 77
- Joined: Tue Sep 21, 2021 11:58 am
Re: MIDI with the S16
Hi Patrick,
I fear I have not understood this completely.
The Sysex command has to begin with
F0 00 20 32 32
and end with F7
In between the OSCtext in HEX.
For /-prefs/haflags
it would be
2f 2d 70 72 65 66 73 2f 68 61 66 6c 61 67 73
what about the %int being a bitmask?
When there are 4 bits and I only want to lock the stagebox the first bit should be 1?
So bitmask would be 1000?
so %int would be %1000 would be in HEX 25 31 30 30 30??
Obviously I am doing something wrong, because that does not work.
1) Where is my fault and
2) can I adress here a MIDI channel as well?
I fear I have not understood this completely.
The Sysex command has to begin with
F0 00 20 32 32
and end with F7
In between the OSCtext in HEX.
For /-prefs/haflags
it would be
2f 2d 70 72 65 66 73 2f 68 61 66 6c 61 67 73
what about the %int being a bitmask?
When there are 4 bits and I only want to lock the stagebox the first bit should be 1?
So bitmask would be 1000?
so %int would be %1000 would be in HEX 25 31 30 30 30??
Obviously I am doing something wrong, because that does not work.
1) Where is my fault and
2) can I adress here a MIDI channel as well?
Re: MIDI with the S16
Hello,
not 1000 but 16. Bitmasks are binary data or'ed together, converted to their int equivalent
So the full sysex would be (need testing):
F0 00 20 32 32 2f 2d 70 72 65 66 73 2f 68 61 66 6c 61 67 73 20 31 36 F7
Hope this works,
-Patrick
PS/Edit: There a tool that @pvannatto wrote to generate sysex from OSC... don't remember the name; may be part of Paul's Toolbox.
not 1000 but 16. Bitmasks are binary data or'ed together, converted to their int equivalent
So the full sysex would be (need testing):
F0 00 20 32 32 2f 2d 70 72 65 66 73 2f 68 61 66 6c 61 67 73 20 31 36 F7
Hope this works,
-Patrick
PS/Edit: There a tool that @pvannatto wrote to generate sysex from OSC... don't remember the name; may be part of Paul's Toolbox.
- streamfuchs
- Posts: 77
- Joined: Tue Sep 21, 2021 11:58 am
Re: MIDI with the S16
Hi Patrick,
thanks for the explanation.
But unfortunately it does not work.
Maybe that the S16 is not able to understand Sysex messages.
Perhaps Pauls has got any information about this.
-Thomas
thanks for the explanation.
But unfortunately it does not work.
Maybe that the S16 is not able to understand Sysex messages.
Perhaps Pauls has got any information about this.
-Thomas
Re: MIDI with the S16
It's called SysexOscGen.
Regarding the bitmap value. I believe the sysex string uses the snippet format (ie. %0000) not the bitmap integer.
If I remember correctly, the bits read right to left. Therefore to lock the S16 it would be:
OSC: /-prefs/haflags %0001
F0 00 20 32 32 2F 2D 70 72 65 66 73 2F 68 61 66 6C 61 67 73 20 25 30 30 30 31 F7
Paul Vannatto
Global Moderator
Global Moderator
- streamfuchs
- Posts: 77
- Joined: Tue Sep 21, 2021 11:58 am
Re: MIDI with the S16
Hi Paul,
I found your generator.
But unfortunately your HEX suggestion does not work either.
I tried several textvariations of %0000 (%1000, %0001; %1111) but no way.
I sent a "normal" MIDI message to the MIDI port of the S16:
B0 60 7F
which switches the phantom power of channel 1 to ON.
This works.
Then I tried to achieve the same result with the OSC/SysEX format, I tried three version for the first local input, the first AES50 port A input and the first AES50 port B input.
OSC: /headamp/000/phantom ON
F0 00 20 32 32 2F 68 65 61 64 61 6D 70 2F 30 30 30 2F 70 68 61 6E 74 6F 6D 20 4F 4E F7
OSC: /headamp/032/phantom ON
F0 00 20 32 32 2F 68 65 61 64 61 6D 70 2F 30 33 32 2F 70 68 61 6E 74 6F 6D 20 4F 4E F7
OSC: /headamp/080/phantom ON
F0 00 20 32 32 2F 68 65 61 64 61 6D 70 2F 30 38 30 2F 70 68 61 6E 74 6F 6D 20 4F 4E F7
Nothing happens. That made me suspicious that perhaps Sysex is not implemented in the S16??
Did you succeed already in sending a sysex message to a S16 at all?
I found your generator.
But unfortunately your HEX suggestion does not work either.
I tried several textvariations of %0000 (%1000, %0001; %1111) but no way.
I sent a "normal" MIDI message to the MIDI port of the S16:
B0 60 7F
which switches the phantom power of channel 1 to ON.
This works.
Then I tried to achieve the same result with the OSC/SysEX format, I tried three version for the first local input, the first AES50 port A input and the first AES50 port B input.
OSC: /headamp/000/phantom ON
F0 00 20 32 32 2F 68 65 61 64 61 6D 70 2F 30 30 30 2F 70 68 61 6E 74 6F 6D 20 4F 4E F7
OSC: /headamp/032/phantom ON
F0 00 20 32 32 2F 68 65 61 64 61 6D 70 2F 30 33 32 2F 70 68 61 6E 74 6F 6D 20 4F 4E F7
OSC: /headamp/080/phantom ON
F0 00 20 32 32 2F 68 65 61 64 61 6D 70 2F 30 38 30 2F 70 68 61 6E 74 6F 6D 20 4F 4E F7
Nothing happens. That made me suspicious that perhaps Sysex is not implemented in the S16??
Did you succeed already in sending a sysex message to a S16 at all?
Last edited by streamfuchs on Wed Aug 09, 2023 3:58 pm, edited 1 time in total.
Re: MIDI with the S16
No, unfortunately. I don't have an S16 (I use the SD8 and SD16) and I don't use MIDI myself.streamfuchs wrote: ↑Wed Aug 09, 2023 2:53 pm Did you succeed already in sending a sysex message to a S16 at all?
I mean, can it be possible that the S16 is not able to "understand" Sysex?
Paul Vannatto
Global Moderator
Global Moderator
- streamfuchs
- Posts: 77
- Joined: Tue Sep 21, 2021 11:58 am
Re: MIDI with the S16
I just connected the S16 via AES50 to my X32 and sent OSC over MIDI Sysex Messages to the X32
(You have to activate "OSC over MIDI Sysex" whithin the remote section of the X32 of course)
When sending Pauls version:
OSC: /-prefs/haflags %0001
F0 00 20 32 32 2F 2D 70 72 65 66 73 2F 68 61 66 6C 61 67 73 20 25 30 30 30 31 F7
to the X32 the indication "Lock stagebox" within the X32 is turning on and the S16 indicates "HA Locked" as well.
So it becomes clear to me:
Behringer implemented "OSC over Sysex" in the X32 and the X32 translates the Sysex messages into OSC and sends them to the S16.
The S16 itself is not remotable via Sysex, only with the documented MIDI messages for phantom power and gain control.
(You have to activate "OSC over MIDI Sysex" whithin the remote section of the X32 of course)
When sending Pauls version:
OSC: /-prefs/haflags %0001
F0 00 20 32 32 2F 2D 70 72 65 66 73 2F 68 61 66 6C 61 67 73 20 25 30 30 30 31 F7
to the X32 the indication "Lock stagebox" within the X32 is turning on and the S16 indicates "HA Locked" as well.
So it becomes clear to me:
Behringer implemented "OSC over Sysex" in the X32 and the X32 translates the Sysex messages into OSC and sends them to the S16.
The S16 itself is not remotable via Sysex, only with the documented MIDI messages for phantom power and gain control.
Last edited by streamfuchs on Wed Aug 09, 2023 5:41 pm, edited 1 time in total.
Re: MIDI with the S16
Thanks for confirming that Thomas. I will add this to the Wiki S16 page.streamfuchs wrote: ↑Wed Aug 09, 2023 5:17 pm The S16 itself is not remotable via Sysex, only with the documented MIDI messages for phantom power and gain control.
Paul Vannatto
Global Moderator
Global Moderator