Little probleem with Touch osc

You have a question or need an advice about how to do something? Ask it here!
robbedoeske
Posts: 34
Joined: 18 Jan 2024 09:49
Little probleem with Touch osc

Post by robbedoeske »

I'm doing some testing with Tochosc on an iPad. Everything works, but I have one small problem. When I click Autoplay on the iPad, autoplay activates in Proppfrexx, but the LED doesn't turn on. When I control Autoplay in Proppfrexx with the mouse, the LED does turn on. What could be the cause? This problem doesn't occur with the other buttons. So, on the iPad, I can't see that autoplay is on when i activate it on the ipad.
User avatar
radio42
Site Admin
Posts: 9029
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Little probleem with Touch osc

Post by radio42 »

I am not sure, as it is so many years ago, that I implemented Touch OSC. But you can look yourself to the config provided, as it is all configuration work and OSC commands being send or received.
Nothing really hardcoded.
My issue is, currently, that my iPad died, so so have no real testing environment at the moment for it.
robbedoeske
Posts: 34
Joined: 18 Jan 2024 09:49
Re: Little probleem with Touch osc

Post by robbedoeske »

Oke thanks Bernd, i have looked in the configuration files but couldn't find it. I suppose i have to look in ProppFrexx ONAIR iPad.events.
User avatar
radio42
Site Admin
Posts: 9029
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Little probleem with Touch osc

Post by radio42 »

Yes. But I will also take a look later today - maybe I can spot anything.
Plus, there are normally a few direct global events being used.
robbedoeske
Posts: 34
Joined: 18 Jan 2024 09:49
Re: Little probleem with Touch osc

Post by robbedoeske »

Later, I also imported events for the D&R Webstation. Could this be causing the problem?
User avatar
radio42
Site Admin
Posts: 9029
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Little probleem with Touch osc

Post by radio42 »

Could be yes, if they overwrite existing events. But you can reimport the OSC events and see, if that solves the issue.
robbedoeske
Posts: 34
Joined: 18 Jan 2024 09:49
Re: Little probleem with Touch osc

Post by robbedoeske »

No nothing changed
User avatar
radio42
Site Admin
Posts: 9029
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Little probleem with Touch osc

Post by radio42 »

What does happen, when you click the SYNC button on the iPad - this should actually fire all commands to set all UI values on the iPad (TouchOSC).
If now the AutoPlay LED is set correctly...

...it might be an internal race condition when setting the ${cplautoplay} macro, which is being used in the Playlist.OnAutoPlayON resp. Playlist.OnAutoPlayOFF event (see general settings, section Events). Both events send the control-command "EXEC_SEND_OSC /home/autoplayled|f:${cplautoplay}"

You might solve the issue by modifying the Playlist.OnAutoPlayON and Playlist.OnAutoPlayOFF events in the general settings, section Events:
Add a new line above the commadn: "async". The new commands should now look like this for both events:

Code: Select all

async
EXEC_SEND_OSC /home/autoplayled|f:${cplautoplay}
robbedoeske
Posts: 34
Joined: 18 Jan 2024 09:49
Re: Little probleem with Touch osc

Post by robbedoeske »

Manny thanks Bernd, this is working partly. I have to push autoplay on the ipad several times and than the led goes on and off. But sometimes the led is on when autoplay is off..
User avatar
radio42
Site Admin
Posts: 9029
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Little probleem with Touch osc

Post by radio42 »

Okay, but that at least confirms my assumption.
Then I have to make a little adjustment on my side and ship an update. You should the remove the 'async' code you added.
I'll let you know, when the update is ready.

Post Reply