Author Topic: Behringer X32 OSC  (Read 10949 times)

Offline icw

  • Newbie
  • *
  • Posts: 6
Behringer X32 OSC
« on: March 30, 2019, 01:04:09 AM »
I am able to connect via OSC, but I am not getting any values to map from the board. I think I need to send a "/xremote" command to the board every 9 second or so. How is this done?

Offline azslow3

  • Administrator
  • Hero Member
  • *****
  • Posts: 1790
Re: Behringer X32 OSC
« Reply #1 on: March 30, 2019, 08:35:27 AM »
I am not sure OSC implementation inside AZ Controller is Behringer OSC compatible. But to send /xremote add "Monitor Timer" control with several seconds interval and send OSC from Feedback section. I can check if that works next week (I have XAir, but not at current place).

Offline icw

  • Newbie
  • *
  • Posts: 6
Re: Behringer X32 OSC
« Reply #2 on: March 31, 2019, 06:09:54 PM »
It works! I am receiving OSC commands and have been able to map a few. Next question, X32 sends an OSC command like /ch/01/mix/fader. Is there a way to break this string apart to say /ch/01 = first strip or do I have to create a corresponding hardware control for each channel.

Offline azslow3

  • Administrator
  • Hero Member
  • *****
  • Posts: 1790
Re: Behringer X32 OSC
« Reply #3 on: April 01, 2019, 11:02:33 AM »
You need per channel hardware+logic control. Since you want feedback, and so you need per channel "Monitor Value" with corresponding OSC send in the feedback of it.

Offline azslow3

  • Administrator
  • Hero Member
  • *****
  • Posts: 1790
Re: Behringer X32 OSC
« Reply #4 on: April 01, 2019, 12:22:13 PM »
May be several tips:
1) regularly save your preset (in the options tab to binary file or using "Preset" Cakewalk section on the top)
2) after creating one control, f.e. fader 1, use "Dup" button to replicate it. That way you can create 32 controls within several seconds (you will need to "learn" them, but that is also relatively fast)
3) to support (2), use state (variable) dependent logic
4) use functions for parameter setup, that way you can modify the logic for all controls.

For 2,3,4 example you can check X-Touch Mini preset. In short.
* create Software Set (variable) "_Ch" with values 1-32
* define control "_FaderParSel(_Ch)" (_Ch there is just a name, so you do not forget that is a "function" of that Set):
Channel Track WAI + _Ch Valume
* define control "Fader1":
Set _Ch = 1
Call _FaderParSel(_Ch)
Monitor parameter value (ultra)
Value

Feedback section:
OSC Send <Ctrl. address> Value
Last action failed: OSC Send <Ctrl. address> 0

* Test that it works after learning the fader
* duplicate 32 times, replace "Set _Ch" to set correct _Ch.
* learn all faders



Offline icw

  • Newbie
  • *
  • Posts: 6
Re: Behringer X32 OSC
« Reply #5 on: April 01, 2019, 02:31:56 PM »
Thanks for the help. I think I understand. Software State is the thing I was missing to speed the process up. I have been able to make fader, pan, gain, mute, solo, and label work for the 1st channel. I will work on changing the logic as you described, duplicate it 32x, and hopefully get a preset finished.

Offline icw

  • Newbie
  • *
  • Posts: 6
Re: Behringer X32 OSC
« Reply #6 on: April 01, 2019, 02:56:05 PM »
You mentioned the OSC implementation in your first response. Behringer does have a few commands that do not play well. I'm not sure that I need any of them, but just so you are aware.... When a channel is selected X32 sends /-stat/selidx with a param 0-71 (index representing channel/bus/etc). According to wireshark it is int32 not float. AZCtrl only sees 0 for 0 index and 1 for 1-71.

Offline icw

  • Newbie
  • *
  • Posts: 6
Re: Behringer X32 OSC
« Reply #7 on: April 01, 2019, 03:53:36 PM »
One other thing that I tried but could not get going was changing strip color. I can map the command from x32 and send feedback, but could not figure out how to get this info in/out of cakewalk.

Offline azslow3

  • Administrator
  • Hero Member
  • *****
  • Posts: 1790
Re: Behringer X32 OSC
« Reply #8 on: April 02, 2019, 10:24:58 AM »
Yes, that is why I have mentioned incomplete OSC. AZ Controller does not support INT parameters in OSC at the moment. Colors is a different story.

I do not have X32. But since it seems like you are serious about using it, in case you promise to test and report if it works, I can try to extend AZ Controller to support
missing features.

Offline icw

  • Newbie
  • *
  • Posts: 6
Re: Behringer X32 OSC
« Reply #9 on: April 11, 2019, 04:58:00 AM »
I would be glad to test and report back. If we can get integers to work, I think select button could set state channel then have unused button arm track and change the scribble strip color to give a visual of armed tracks. That would be really helpful.