how to update ableton's tempo

Mr. Tunes's icon

i am a little confused how to update the tempo of ableton from max. i am getting this tempo from a number box in a max patch (max is playing middleman between another application here).

i looked up hostsync~ help and couldnt figure out how to get it to send anything over to ableton. I tried the adl_rewire as my audio driver and the DAC kept flipping off.

now i am wondering, should i be using the rewire~ object instead? and does it matter what driver my system is set to?

Evan's icon

Is there a reason you're avoiding M4L? it'd be really simple to do it using the API.

chapelier fou's icon

and what about midi ?

Mr. Tunes's icon

Evan: i'm using this program called Espgrid, so i'm not sure how to integrate that into m4l. you can find it here inside the helpful code subfolder.

Chapelier: how do i go about this with midi? that would be ideal!

Andro's icon

Make an empty scene (remove all stop buttons) in Live and set the BPM and time signature.
Do a midi learn with the play function of the scene. Send that note from max to ableton. Voila !
A very simple but old school solution.

Mr. Tunes's icon

hi andro: not sure if that will work because i'm not going to be updating the tempo using note values or sliders. it's through a number box. i will try it though!

Wetterberg's icon

what is espgrid outputting? OSC, I suspect?

And yeah, an m4l client would be ideal.

chapelier fou's icon

I don't get it i guess. I would stick a ctlout to your number box, scale it and midi learn your tempo in live. Am i totally missing the point ?

broc's icon

ctlout and midi learn works only for a limited range of 128 BPM values.

Wetterberg's icon

and it's kind of hacky, in that you need to redo mapping for every new live set where you attempt to use espgrid.