How to st tempo ?

Post Reply New Topic
RELATED
PRODUCTS

Post

Hi everybody,

I want to set the tempo but the set method ask a range value... I would like to set a single value, it's possible to make this ?

here my code :

transport = host.createTransport();
transport.getTempo().set(1, 128); //range

// i want to have a solution with just for example :
transport.getTempo().set(160);


Regards

Post

I found the soluce with inc() method.
I configured the range with 647 for increment integer, i do not why 647 but it's work !

.getTempo().inc(+10, 647);

Regards

Post

beejeridou wrote: Wed Jun 22, 2016 5:43 pm I found the soluce with inc() method.
I configured the range with 647 for increment integer, i do not why 647 but it's work !
5 years later the meaning of 647 is still a magical mystery. :/

Post

minortom wrote: Mon May 17, 2021 7:05 pm
beejeridou wrote: Wed Jun 22, 2016 5:43 pm I found the soluce with inc() method.
I configured the range with 647 for increment integer, i do not why 647 but it's work !
5 years later the meaning of 647 is still a magical mystery. :/
Seriously, nobody knows where this number comes from or why this is the appropriate value for `range` for changing tempo in whole BPM increments? Honest question.

How do people find out about these things? Did everyone just dig through the included scripts, saw 647 and go "well alright then, that's the tempo range, good to know"?

Post Reply

Return to “Controller Scripting”