Topic: Touch OSC help please

I'm looking to make Touch OSC control just a slider and 3 eq knobs in Totalmix. I've spent a lot of time but now realised that this is probably over my head!

Is there someone would would help? I'm happy to compensate for time etc. I have the Touch OSC as I'd like it - but I am stuck on how to write the OSC addresses. I have got it connected via wifi as I've successfully tested this - https://gearspace.com/board/music-compu … droid.html

Thanks in advance,
james

Re: Touch OSC help please

Maybe a hint: there are some unnecessary OSC messages on the Mute button.

Anyhow, it should be quite easy, to realize what you want.

Just describe as detailed as possible what you need
"just a slider and 3 eq knobs in Totalmix" is not very precise.

So my questions:

- Slider:
  A fixed fader for a fixed bus and a fixed channel? Or should these parameters be selectable?
- 3 eq knobs:
   I assume these should be bound to the Slider above?
   Which 3 eq knobs exactly?
   Eq on/off button for this would also make sense?

- should the "new" slider and the eq buttons be added beside your main slider? or replace it?
- which dimensions?

“Do It For Her”
My Gear: Bontempi Magic light Keyboard

Re: Touch OSC help please

- Slider:
  A fixed fader for a fixed bus and a fixed channel? Or should these parameters be selectable?

Yes, I have 2 hardware faders ganged together in TM. This is the only fader needed.

- 3 eq knobs:
   I assume these should be bound to the Slider above?

Not quite, one eq know from the first of the ganged silders and two from the second.

Eq on/off button for this would also make sense?
Yes, it would.

- should the "new" slider and the eq buttons be added beside your main slider? or replace it?

I don't need the main silder. the new sliders/eq are all I need.

Actually, I've managed to do a touchOSC layout that would work - all I need is info how to enter the OSC commands.

4 (edited by maggie33 2024-10-03 08:43:03)

Re: Touch OSC help please

all I need is info how to enter the OSC commands.

The usual way is described here - by adding one (or more OSC messages in the editor)
https://hexler.net/touchosc/manual/editor-messages-osc

The advanced way is to do it via script - quick example for sending sth if the value (key x) of a control has changed (you moved a slider, knob, etc..)

quick example:

function onValueChanged(key)
  if key == "x" then        
    sendOSC('YOURADDRESS', self.values[key])    
  end
end

PS: Did you look into the TouchOSC template provided by RME? Should be clear if you look into a control and see how the messages ar sent/received there. You can adapt this for your need...

“Do It For Her”
My Gear: Bontempi Magic light Keyboard

Re: Touch OSC help please

Yes, I was looking at that page. So for example, if I wanted to map my TouchOSC slider to the first TM hardware output fader - what do I enter?
Sorry if this is obvious and I'm missing something.

Re: Touch OSC help please

PS: Did you look into the TouchOSC template provided by RME? Should be clear if you look into a control and see how the messages ar sent/received there. You can adapt this for your need...

I didn't find a live download link for this - can you point me to it?

Re: Touch OSC help please

Create a OSC Message for your Fader.
in the Address field delete everything (if there is sth already).
In the Address field clock the green + Button on the right.
Select CONSTANT and enter "/1/volume1"

Should look like this:

https://i.ibb.co/dBSYQy6/osc-fader.png

“Do It For Her”
My Gear: Bontempi Magic light Keyboard

8

Re: Touch OSC help please

jb5x wrote:

didn't find a live download link for this - can you point me to it?

That link is in every manual!

------------------
An OSC implementation chart can be downloaded from the RME website:
   
http://www.rme-audio.de/downloads/osc_t … ix_new.zip
   
RME offers a free iPad template for the iOS app TouchOSC (by Hexler, available in the Apple App-Store):
   
http://www.rme-audio.de/downloads/tosc_ … mplate.zip

Regards
Matthias Carstens
RME

9 (edited by maggie33 2024-10-03 09:01:27)

Re: Touch OSC help please

jb5x wrote:

PS: Did you look into the TouchOSC template provided by RME? Should be clear if you look into a control and see how the messages ar sent/received there. You can adapt this for your need...

I didn't find a live download link for this - can you point me to it?

Scroll down to "New OSC table and TouchOSC template" in https://forum.rme-audio.de/viewtopic.ph … 22#p221522

Edit: ...or read what MC just posted:-)

“Do It For Her”
My Gear: Bontempi Magic light Keyboard

Re: Touch OSC help please

That's great, I should be able to figure it out now. Thanks for your help.

Re: Touch OSC help please

So,  I've got my main fader and mute working -0 which feels like a big triumph. But I now need to get the page 2 things applied.
I'm looking for eqGain1 on track 1 and eqGain2 and eqGan3 on track 2
I've read that I need to set the track before I set page 2 things. But I can't find an example of how to do this. Help would be very gratefully received...

Re: Touch OSC help please

Reading the OSC implementation chart, MC pointed to, should help. 
Sheet none paged:
Either „/setOffsetInBank x“ or „/setBankStart x“ should be relevant for this. Depends what you mean with „track1/track2“
(which bus, submix, and relative offset from your current channel).

Tip: Use the „Toggle Log“ Option in TouchOsc to see what is sent/received for debugging.

“Do It For Her”
My Gear: Bontempi Magic light Keyboard

Re: Touch OSC help please

Reading the OSC implementation chart, MC pointed to, should help.

I am reading this.

Sheet none paged:
Either „/setOffsetInBank x“ or „/setBankStart x“ should be relevant for this. Depends what you mean with „track1/track2“

I meant faders counting from 1 on the TM hardware output.

(which bus, submix, and relative offset from your current channel).

what is my current channel? How is this set? No mention anywhere I can see.

Tip: Use the „Toggle Log“ Option in TouchOsc to see what is sent/received for debugging.

Thanks that's helpful

Received value selects a channel directly for page 2, in page 1 the channel becomes the first channel of the bank (if not limited by channel number); Numbering starting at 0 for single channels, stereo channels selected by left channel number; only valid and remote-enabled channels are recognised

That doesn't make any sense to me. I think it's above my ability.

The examples from totalmixOSC and ipadOSC are all in pages and I can't find where the actual coding is. All baffling to a newcomer.

Re: Touch OSC help please

Maybe the easiest way would be, i can offer:
If you would like, you could share your current template here, i could look into it and try to add the relevant things (as i understood what your goal is, right now ) and re-share it here.

“Do It For Her”
My Gear: Bontempi Magic light Keyboard

Re: Touch OSC help please

Thanks for bearing with me.

This is my template.
https://drive.proton.me/urls/EYK001YC08#SAaLfJlLfhCI

The eq radios need to control the following -
Bass - fader 1 band 1 gain
Mid - fader 2 band 2 gain
High - fader 2 band 3 gain
and the eq switch should toggle the eq on faders 1 and 2
(when i say fader 1 and 2 I'm counting the hardware faders starting at 1)

all most appreciated.

16 (edited by maggie33 2024-10-06 15:08:46)

Re: Touch OSC help please

few questions:

- i see MIDI Messages assigned. Do you really need them? (I think this comes from TouchOSCs Preferences - Editor - "Create default MIDI Messages", which you have accidentally checked on? )
- cam button: what is it for? needed?
- what is the Bin1/2/3 radio meant for?
- i see only one fader (but you need 2): should only one be visible at all, and you toggle via a button or sth which is the current active one? Or should i place 2 of them (one beside the other)?

- And the modet important: "when i say fader 1 and 2 I'm counting the hardware faders starting at 1"
-> You mean explicit the OutputBus, right?
-> So these would be fixed these 2 Out Channels: "AN 1/2 Out" and "AN 3/4 Out" Right?

Edit:
- It would also help to know which RME Unit you own / this is meant for

“Do It For Her”
My Gear: Bontempi Magic light Keyboard

Re: Touch OSC help please

No, I think the midi messages were there from default. I don't need them.

The Cam and Bin switches are for control of another program. I'll implement this later.

I only have one fader because I've set totalmix to gang faders 1 and 2 together (they will always be used this way). I assume this is the best way to do this.

- And the modet important: "when i say fader 1 and 2 I'm counting the hardware faders starting at 1"
-> You mean explicit the OutputBus, right?
-> So these would be fixed these 2 Out Channels: "AN 1/2 Out" and "AN 3/4 Out" Right?

Yes, the 3rd line - Hardware output bus. But I'm using AN 1/2 and AS 1/2

I have a Babyface pro. This project is a simplified remote for a 2 way active system. (Using Baach4Mac as the dsp/crossover).
Once I get this working I'm planning a hardware remote using a esp32 or something. Ambitious, I know...

18 (edited by maggie33 2024-10-06 20:54:40)

Re: Touch OSC help please

Should work. You just need to scale the elements to fit your screen...
BTW: Added some extras ;-)

Let me know if sth doesnt work as expected...

https://cloud.sndtek.de/s/gCNqwqFCnMsiM … 1.tosc.zip

PS: Quick'n dirty - didn't clean up the unnecessary code - maybe its useful for your further needs

“Do It For Her”
My Gear: Bontempi Magic light Keyboard

Re: Touch OSC help please

It's amazing. Thank you thank you. Buy you a coffee. or a beer!!

Re: Touch OSC help please

coffee/beer not necessary. But Thx :-)
Would make me more happy to get feedback if you understand now, how the "/setOffsetInBank" affects the 3 EQs on different channels.
The rest of my "extras" is meant more like an inspiration

“Do It For Her”
My Gear: Bontempi Magic light Keyboard