Controlling Logic Pro X through OSC

CarlEmail's icon

Hi

Has anyone succeeded in sending OSC control messages via the opensoundcontrol object to Logic Pro X yet? I'm struggeling with it.

All the best
Carl Emil

CarlEmail's icon

It works!!

Select the parameter you want to control, hit cmd-l and set up a new zone with a new control parameter. You only have to define the OSC Message Paths -> Value field. Send from Max on port 7000.

Yeah!
Carl Emil

Screen-Shot-2014-07-25-at-17.04.47-.png
png
Th8a's icon

goooooodddd freakin work, man! you Just made my whole 5 month project with that one! Took me ages to tackle logic's seemingly illogical approach to handling various midi ports or timesync data. many thanks.

CyX SenZe's icon

I haven't messed with OSC too much but on the Macbook Pro, I normally use IAC buses and they work very effectively. I'm new to Max but this will be one of the first things I try for transmitting MIDI data. I'd like to dive into OSC though and explore it's capabilities.

1offby's icon

Hello.
Logic 10.1.1, Max 7.0.4
I have been trying to assign a Logic X parameter to an OSC message sent from Max. Both Max and Logic are running on the same machine; I am sending the messages via "udpsend localhost 7000" or "udpsend 127.0.0.1"
After trying a lot of methods I cannot achieve any binding of a Logic parameter to an OSC message.
Is that what is shown here? can anyone share a Max patch that does this?

Steven Gelineck's icon

Hi Carl Emil,

I am trying to connect to Logic from Max through OSC - but there is no response from Logic.
I have tried formatting the OSC messages using the OpenSoundControl object from cnmat, but also just sending simple osc message using udpsend. I am trying to send to 127.0.0.1 7000, but there is no response from Logic. Any ideas on how to setup Logic to listen to port 7000?
I even tried to type in "/volume" in the OSC Message Paths -> Value field as you mentioned - still no response.
I saw that when using Logic Remote (Logic's own iPad controller), that seems to listen to 7000 - I can even see the osc addresses that are used for controlling volume, panning, etc... (the "Pages" zone for instance has "/mixer/volume/volume1" in the OSC Message Paths -> Value field) - but when I look in the Control Surface -> Setup.. I can see that when connecting with Logic Remote, it seems to be using the iPad as host (see screenshot).
I have attached a screenshot of the Max-patch I am using to test this + a screenshot of (nothing happening in) Logic's Controller Assignments.

Do you have any hints to how to solve this?
Thanks a lot!

/Steven Gelineck

maxpatch.jpg
jpg
ControllerAssignments.jpg
jpg
controlSurfaceSetup_LogicRemote.jpg
jpg
CarlEmail's icon

Hi Steven!

I gave it a shot, but no luck. OSX 10.11.3. Logic Pro X 10.2.2. I guess they up(down)dated something in Logic. Found this at hexler.net:

"It is not possible at this time to use customized Layouts or to learn OSC commands. However, authorized 3rd party developers can create Logic CS plug-ins which can use OSC-based communication."
http://hexler.net/docs/touchosc-setup-apple-logic

So. Crap.

EDIT: Waaaaaaaait a minute!! It seems he wrote that note in 2012. I had it working in 2014. Anyway, I still can't get it working now. Let me know if you find a way. It would be immensely useful.

~ce

dhjdhjdhj's icon

The way I have reverse-engineered this kind of thing in the past is to have Max listen for OSC messages on that port. Then use the iPad Logic app to send out messages which will then be displayed in Max. That should tell you something about the expected format.

Steven Gelineck's icon

Hi guys,

Thanks a lot for trying it out Carl Emil. I will keep you posted if I have any progress.
And thanks for the suggestion DHJDHJDHJ..
I have also attempted the reverse-engineering approach... But for some reason it does not work. I am not sure whether Logic somehow uses the iPad as a host - see the first screenshot of my last post.

/Steven

dhjdhjdhj's icon

Ah, I just tried running Logic Remote in my laptop and I see that nothing happens other than it telling me to make sure I've got logic (or MainStage) running somewhere. So there's some basic handshake going in, it's probably using bonjour to discover Logic before it does anything.

Assuming nothing is being encrypted, you might have to use a packet sniffer (wireshark for example) to look at the actual data being exchanged.

Steven Gelineck's icon

Thanks for you suggestion DHJDHJDHJ... I will have a look at wireshark and let you know if I have any luck.

/Steven

pierre ko's icon

Hello all !

Does anyone have a solution ? I'm trying to get OSC messages from Logic Pro X in order to make a special interface or to use it with another OSC interface over RJ45...

Thanks a lot !

Nick Graham's icon

I finally got it to work!

For Logic to accept OSC it has to be tricked into thinking it sees an iPad running TouchOSC. To do this you need to create a zeroconf service with a name ending in "[iPad](TouchOSC)".

I don't have access to Max these days but here is an example I made in PD to get my 13" tablet to act as two separate iPads for twice as many faders and plugin parameters. I used the zconf external but there is an equivalent for Max called oscbonjour.

Janne Nummela's icon

Hi, after oscbonjouring service, what is OSC syntax controlling Logic Pro X automations? Some simple like /1/Volume not seem to work.

I launched ToscA (http://forumnet.ircam.fr/shop/en/), and get it thru to Logic port 9010. But how to assign ToscA parameters to some Logic (plugin or other) automations....?

Ken Wong's icon

apple is dying. i have used logic pro for years and they seem to fall behind Ableton in allowing advanced users to do customized mappings. this osc issue is critical and it has become the reason that i move on to other daws

Bam ESP's icon

since apple f'ed everything up I use ni reaktor as osc to midi cc translator, open reaktor as midi fx in logic, set up your send and recieve IP and port inside ni reaktor, then add a midi cc out block in reaktor and connect it to an OSC Recieve Array. any incoming osc will turn into midi cc.