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
How to st tempo ?
-
- KVRer
- 7 posts since 16 Oct, 2014
-
- KVRer
- Topic Starter
- 7 posts since 16 Oct, 2014
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
I configured the range with 647 for increment integer, i do not why 647 but it's work !
.getTempo().inc(+10, 647);
Regards
-
- KVRist
- 316 posts since 18 Sep, 2020
5 years later the meaning of 647 is still a magical mystery. :/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 !
-
- KVRist
- 316 posts since 18 Sep, 2020
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.minortom wrote: Mon May 17, 2021 7:05 pm5 years later the meaning of 647 is still a magical mystery. :/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 !
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"?
