Performance questions

I have two things that I was wondering if they can be resolved/improved.

  1. On my mac, I keep getting the following message a few seconds after starting my server:
    OSC Message
    Is there a way to set up OSC to be on a different IP and not use the same one as my mac?

  2. I am using OSC on my 1st gen iPad Pro and I noticed that I have a significant lag between pushing a button and seeing the feedback on the screen. It seems to be getting worse the more things I add to my template.

Doesn’t seem to be the case on my mac app when using my mouse, however.
Also, if I push a button on my iPad it will show the visual feedback on my mac before it shows on my iPad. So clearly something is making the iPad respond slower.

Is this a bug? or something that can be improved with connection settings?
Here’s a link to a video demonstrating the lag:
https://youtu.be/gbgqnRagHWs

Thanks!

Hi,

Is there a way to set up OSC to be on a different IP and not use the same one as my mac?

OSC doesn't "use" any IP, what's probably happening here is that it uses a service ("bonjour") that reveal an (harmless) configuration error in your network : you have two computers/devices with the same host name.

If this doesn't appear to be the issue, you may also try specifying a unique name in the server's instance-name option, this would help if you're running two OSC servers on your network (not needed in OSC v1).

I am using OSC on my 1st gen iPad Pro and I noticed that I have a significant lag between pushing a button and seeing the feedback on the screen. It seems to be getting worse the more things I add to my template.

Unfortunately, iOS 9.3 (which 1st gen iPads run on) is no longer supported as of OSC version 1, there is no plan to improve things on this side. Does your iPad run on iOS 10.3 or higher ? Are you using the latest OSC version (v1 can be considered stable now) ?

I'll try that. I think that for some reason it clashes with my Avid Eucon network configuration.
Eucon seems to have a more stable connection when OSC is not running.

Running on the latest iOS and using the latest version of OSC.
Can the template start to lag when adding a lot of pictures/icons to buttons?
It kinda feels like before I started adding icons it was running a little smoother but I might be wrong.

How big is your session file ? Would you mind uploading it ?

Sent you the session file in a private message.

Thank you!

The session is not heavy, pictures could make it slower but there but there are just a few of them so I don’t think that’s the culprit … it runs smoothly on my 10 years old laptop (lenovo x61), it may help to test it on a different iPad.

Are you sending a lot of messages to the interface (maybe with a custom module) ?

Not sending a lot of messages (at least not simultaneously).
I do find it to be a lot snappier on my iPhone. Even after a complete reset of my iPad.
It’s super odd. Unfortunately I don’t have another iPad. It’s weird since the iPad should have more power than my iPhone…

I still wonder if it’s a connection thing.
Is there a way to get a wired connection?

Wired network connection might be more stable (as long as there is an ip address to connect to, OSC doesn’t mind), but I don’t think it’s a connection issue, from your video it looks like input lag (visual feedback is late). Could you please try with OSC 1.0.2 ? There was a tiny ios-related change, although I doubt it could affect performances…

Touch delay seems to be a recurrent issue on iPads from what I read. Did you had a chance to try a different app (Lemur, TouchOSC, etc) on this one ?

I used Lemur for the longest time.
I had zero lags with it. It’s funny that it’s an iPad thing but my iPhone seems to work better.

I just noticed that I have a different controller sending midi messages to Cubase and OSC receives those messages. It doesn’t interfere with anything or triggers anything, however I have the iPhone and iPad side by side and I can clearly see how the buttons on the iPhone flashes quicker than the ones on the iPad.

I don’t mind making a video if it could help narrow down what seems to be the cause of the lag.
It shouldn’t be a performance thing, since this is an iPad pro (first gen, but still). It should be more than powerful to run this. Right?

EDIT:
turns out my midi device list order was changed. That’s what caused the cross triggering.
but the point stands. The iPad has some weird lag to it…

hi Jean,
I wanna circle back to the network error issue.
For whatever reason, the minute I start the OSC server I’m starting go get disconnections between my Mac and my Avid S1 (which is connected by Ethernet directly to my mac).

As long as I don’t run OSC the connection is stable, but once I start it… it’s all mayhem…
Is there any settings I can change to make sure the two stay clear off each other?
Perhaps change the port? or create a custom one?

Did you try changing OSC’s port option to anything different than the default value (8080) ?

It was actually 9000 since day one (after reading it in a tutorial).
Is it possible to change the server IP?

Also (might be unrelated) if I run the server on a different machine (say a Paspberry Pi with a touch screen), would I still be able to send midi messages to my main DAW on my mac? Would that possibly fix the issues of having the server?

Thank you so much for your help!

It was actually 9000 since day one (after reading it in a tutorial).

Then maybe try a different one, just in case.

Is it possible to change the server IP

The server's does not have any IP, only the system does.

Also (might be unrelated) if I run the server on a different machine (say a Paspberry Pi with a touch screen), would I still be able to send midi messages to my main DAW on my mac

OSC doesn't send MIDI through the network so you'd need to bridge it somehow to try that.

Ok!
That gives me enough info to start trying things out.

Thanks!