(instruments-all-at-same-offset {:keys [current-instruments instruments]
:as score})
If all of the :current-instruments are at the same absolute offset, returns that offset. Returns nil otherwise.
(Returns 0 if there are no instruments defined yet, e.g. when placing a marker or a global attribute at the beginning of a score.)
If all of the :current-instruments are at the same absolute offset, returns that offset. Returns nil otherwise. (Returns 0 if there are no instruments defined yet, e.g. when placing a marker or a global attribute at the beginning of a score.)
(absolute-offset this score)
Returns the offset in ms from the start of the score.
Returns the offset in ms from the start of the score.
(offset+ this bump)
Returns a new offset bump ms later.
Returns a new offset bump ms later.
(offset<= score & offsets)
Convenience fn for determining if offsets are in order.
Convenience fn for determining if offsets are in order.
(offset= score & offsets)
Convenience fn for comparing absolute/relative offsets.
Convenience fn for comparing absolute/relative offsets.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close