Closed patchuby closed 4 months ago
What's your use case?
I started thinking about it when making HLT (that would be solved with #73 ) to play the tail. But in general it would be useful to be able to delay action to be triggered on the next beat or the next bar. In that context a callback function that triggers on the next beat or next bar would do as well.
No longer in scope for Vinyl native. Perhaps https://github.com/Gizmo199/audio-tempo/ could be modified to support this?
No longer in scope for Vinyl native. Perhaps https://github.com/Gizmo199/audio-tempo/ could be modified to support this?
Yes, this functionality is already available via audio_tempo_queue_sound/method()
. But a queue_delay_for(number of downbeats)
could be nice as well.
Thanks! :)
Being able to delay the execution of functions without using an external library.
Possible ways to do this :