precise timer in live's python API
Posted: Wed May 02, 2012 6:45 pm
hey there,
i dont know if i am right in that part of the forum, but it seems, that the python part is not anymore supported(?)
but i have a question. i am trying to write a device in python (for the launchpad) which basically is a step sequencer that is just triggers effects based on the step and the activated effect. but independent from my target of the step sequencer i have some trouble to setup a step sequencer that is tight enough.
i tried to get a precise time callback with
and also with
but all of them seem to come every 100ms. and that is not precise enough. because if i do calculate into beat time, then sometimes some steps are skipped. so in general its very unprecise.
is there a way to get a tight callback on each 16th note for example?!?!
thx in advance
best
/martyn
P.S. btw, you can checkout all of the scripts in the google repository,
https://code.google.com/p/mlostekk-live/
its still everything in alpha mode, but as soon as everything works tight, i will do some tutorial and setup videos
i dont know if i am right in that part of the forum, but it seems, that the python part is not anymore supported(?)
but i have a question. i am trying to write a device in python (for the launchpad) which basically is a step sequencer that is just triggers effects based on the step and the activated effect. but independent from my target of the step sequencer i have some trouble to setup a step sequencer that is tight enough.
i tried to get a precise time callback with
Code: Select all
_register_timer_callback in my control surface
Code: Select all
add_current_song_time_listener in the song() element
is there a way to get a tight callback on each 16th note for example?!?!
thx in advance
best
/martyn
P.S. btw, you can checkout all of the scripts in the google repository,
https://code.google.com/p/mlostekk-live/
its still everything in alpha mode, but as soon as everything works tight, i will do some tutorial and setup videos