Liking cljdoc? Tell your friends :D

alda.lisp.model.offset


instruments-all-at-same-offsetclj

(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.)
sourceraw docstring

Offsetcljprotocol

absolute-offsetclj

(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+clj

(offset+ this bump)

Returns a new offset bump ms later.

Returns a new offset bump ms later.
source

offset<=clj

(offset<= score & offsets)

Convenience fn for determining if offsets are in order.

Convenience fn for determining if offsets are in order.
sourceraw docstring

offset=clj

(offset= score & offsets)

Convenience fn for comparing absolute/relative offsets.

Convenience fn for comparing absolute/relative offsets.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close