davidedc / livecodelab

a web based livecoding environment
http://livecodelab.net/
MIT License
327 stars 63 forks source link

Add support for shifting the BPM (useful for syncing two pulses with the same BPM) #305

Closed gareve closed 5 years ago

gareve commented 5 years ago

Two performers can have their bpms set to 40, but their pulses may be out of sync.

With this new function, bpmShift K, the pulse will shift K milliseconds, enabling the performers to go in-sync or out of sync.

This demo shows it clearly: https://www.youtube.com/watch?v=GBricHd6F1Y

Is a good thing that all the BPM and pulse logic lives in a single file!

rumblesan commented 5 years ago

hey @gareve thanks contributing this. The bpm syncing definitely needs some improving and this is a good part of that. I'll have a look at this in the next couple of days and aim to get it merged soon :)

rumblesan commented 5 years ago

hey @gareve I created a new PR for this branch that's rebased ontop of master. https://github.com/davidedc/livecodelab/pull/308

I've merged that in, so I'll close this PR.

thanks for the contributions this is seriously useful.