Hi, I was just wondering how I’d go about sending OSC to AbletonOSC via Scripting in a Canvas?
I’m trying with the SendOSC, but I can’t see to get the right kind of language going to get it to send to AbletonOSC, I’m a noob when it comes to this stuff.
My use case is wanting to change the time signature manually, cause now there’s the feature of resetting back to Arrangement View after playing clips in Session View, so I want to take advantage of this now. So I have some click loops in session that I want to trigger and also change the time signature to follow what the click time signature is.
Hey @Adam_Molinaro,
You can follow this guide to set up a connection to AbletonOSC: OSC Connections
Then, send OSC commands like this:
sendOsc(":AbletonOSC/live/song/set/signature_numerator", 3);
sendOsc(":AbletonOSC/live/song/set/signature_denominator", 4);
Let me know if this works for you 
Yeah unfortunately that isn’t working for me.
I’ve followed the guide on setting up the connection to AbletonOSC.
I’m sending a midi note script right before those too, would that have anything to do with it?
sendMidiNote(“IAC Driver Bus 1”, 1, 60);
sendOsc(“:AbletonOSC/live/song/set/signature_numerator”, 4);
sendOsc(“:AbletonOSC/live/song/set/signature_denominator”, 4);
That’s what I’m using 
Hey @Adam_Molinaro, please excuse my late reply on this issue!
I found the cause for this issue. Since JavaScript doesn’t discern between floats and integers, all numbers are sent as integer by default. AbletonOSC expects integers for signature values so it can’t handle the messages sent from sendOsc.
I’ve added a new int helper to the latest Beta that explicitly marks a number as an integer. This should now work:
sendOsc(":AbletonOSC/live/song/set/signature_numerator", int(3));
sendOsc(":AbletonOSC/live/song/set/signature_denominator", int(4));
Let me know if it works on your end as well, I’m looking forward to your reply! 
1 Like
Oh now this is fantastic! That works perfectly, thanks heaps Leo!! 