changing tempo through OSC

4 replies [Last post]
anpelo6
User offline. Last seen 20 weeks 2 days ago. Offline
Joined: 2013-12-01
Posts:

Hello,
I'm programming a application to control Ardour through pure data.
I managed to contol basic play/stop commands, but I cannot find an easy way to change tempo.
I found only following OSC commands to edit tempo information: Editor/set-tempo-from-edit-range and Editor/set-tempo-from-region. But they don't work as I would expect. In fact, I'm even not able to use them properly from inside Ardour.
So, basically, I would like to know if there is a OSC command to change global tempo, whitout going into regions.
Thanks,
Andrés

paul
paul's picture
User offline. Last seen 1 day 14 hours ago. Offline
Joined: 2006-03-16
Posts:

No such command, sorry. In addition there is no single global tempo, at least not in theory. In practice many projects have only a single tempo marker, so effectively there is. It might be trivial to add this.

anpelo6
User offline. Last seen 20 weeks 2 days ago. Offline
Joined: 2013-12-01
Posts:

Thanks,
so, how would I do if I want to change the tempo continously - let's say, every second?
In this case, I think it's not a good approach to work in a region-based approach.

paul
paul's picture
User offline. Last seen 1 day 14 hours ago. Offline
Joined: 2006-03-16
Posts:

You would have a tempo marker in each location you wanted to change tempo at. There would then have to be some way to identify/address a tempo marker via OSC. Probably position.

anpelo6
User offline. Last seen 20 weeks 2 days ago. Offline
Joined: 2013-12-01
Posts:

Ok paul, thank you very much for the answer.
I was imagining there was a continuous tempo control.
But I will manage with that.
Greetings