Welcome to %s forums

BrainModular Users Forum

Login Register

TouchOSC feedback

I need help on a Patch
Post Reply
La Tenaille
Member
Posts: 547
Location: Saint Etienne (France)
Contact:

Unread post by La Tenaille » 28 Dec 2013, 16:41

Hi,
I try to link a switch on both touchOSC and Usine. I've configured the touchOSC switch with local feedback off and made this patch :

Image

The trouble is it's behaving strangely. Sometimes the touchOSC switch is stucked and I have to push the Usine switch to have it work again.
Do I make a mistake ?
Thanks for your help

La Tenaille
Member
Posts: 547
Location: Saint Etienne (France)
Contact:

Unread post by La Tenaille » 28 Dec 2013, 22:40

This :

Image

with the "on change" option active seems a better way ?
I still have to tap switches once on Usine to have the touchOSC feedback working.

I have OSC drops when double taping a touchOSC switch, or 2 switches at the same time, do you have ideas on how to improve that ?

hesspet
Member
Posts: 92
Location: Germany
Contact:

Unread post by hesspet » 01 Jan 2014, 20:12

Warning: Not real knowledge, more a sort of try and error experience.

Depends on your device and your network.

OSC is based on UDP. Which means sometimes pakets can be dropped. If you TouchOSC device isn't fast enough it could be that your device never get's the message. I had this problem on a cheap Android device. Usine is too fast :-) or TouchOSC to slow. You need a delay. I've good results around 200-500ms. For optical feedback, this is fast enough. (for me)

OSC is not Bullet Proof in this case.

Also if you have to many messages at the same time. I'm not sure how TouchOSC organizes it's internal buffers on Android. At my old iPhone I never had this effect.

Your second patch:

I solved this double tapping problem in my own way :-) I use only a button and put a big led on it. And in usine I use the toogle patch so have the switch behavior. See here on the right side.

Image
+++ journeytounknownsoundscapes.blogspot.de +++
+++ DIY electronics +++ musical experiments +++ light experiments +++

La Tenaille
Member
Posts: 547
Location: Saint Etienne (France)
Contact:

Unread post by La Tenaille » 02 Jan 2014, 14:17

Thanks for your answer hesspet. I started with a cheap android tablet myself but I had a lot of troubles, especially with ad-hoc connection. Now I've found an Ipad 1 for 150€ and everything works far better. I've already tried the button + led option on android, I'm going to try it again with the ipad.
Where and how do you delay the signals ?
I can't use toggling on Usine because a lot of switch states are sent from mobius looper with MIDI messages. The trouble with toggles is you can't choose the state easily...
I've also tried audio metering feedback on touchOSC but it slows everything. I have to find a way to send less informations through wifi.

Edit : ok, you can use the switch module toggle pin to have an effective feedback.

hesspet
Member
Posts: 92
Location: Germany
Contact:

Unread post by hesspet » 02 Jan 2014, 16:46

Are you running Moebius as VST inside Usine? This is my way to solve a lot of problems. I let Usine do the whole communication (OSC/MIDI) stuff.

I wrote a post yesterday about my actual setup. Maybe there are some hints inside for you:

http://www.sensomusic.org/forums/viewtopic.php?id=4241

Peter

P.S.: Metering is also one of those "needs a gate to slow down" problems. If you use a meter and try to send each BLOC a OSC message, you slow down Usine and you overrun TouchOSC.

Sending metering infos is tricky. Let's say, it is ok to send 2-4 messages per second. Build a "clock" and a "event pass" and let pass only every 250-500ms a message via OSC. But - this meter does not shows the truth. It's only a snapshot. You need a sort of maximum/minimum patch to get the effective level and send back the results. I tried to make a patch, but I'm far away from a perfect solution. This was not so important for me, I stopped working on this.
+++ journeytounknownsoundscapes.blogspot.de +++
+++ DIY electronics +++ musical experiments +++ light experiments +++

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 66 guests