A Jack Transport leader that will set beat/bar/tick position information.
A Jack Transport leader that will set beat/bar/tick position information.
(calculate-timings
frame-rate
frame
{:keys [beats-per-minute beats-per-bar beat-type ticks-per-beat] :as timing})
(initialize!)
(initialize! force?)
(initialize! client force?)
Attempt to become transport leader, and register the callback that allows us to control the current JackPosition.
Attempt to become transport leader, and register the callback that allows us to control the current JackPosition.
(populate-jack-pos pos
{:keys [bar beat tick bar-start-tick beats-per-bar beat-type
ticks-per-beat beats-per-minute]})
The timing information that everything else is based on. We just get a frame number and frame rate from Jack, the rest we calculate based on this. You can swap! this to change e.g. the tempo.
The timing information that everything else is based on. We just get a frame number and frame rate from Jack, the rest we calculate based on this. You can swap! this to change e.g. the tempo.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close