tools to deal with multiple scores
tools to deal with multiple scores
(->forking-update x)
Turn x
into a forking-update if possible.
Turn `x` into a forking-update if possible.
(->forking-update! x)
Turn x
into a forking-update or throw.
Turn `x` into a forking-update or throw.
(->multi-update x)
Turn x
into a multi-update if possible.
Turn `x` into a multi-update if possible.
(->multi-update! x)
Turn x
into a multi-update or throw.
Turn `x` into a multi-update or throw.
(concat-multiscores multiscores)
Concat several multiscores into one.
Concat several multiscores into one.
(fit-multiscore multiscore options)
(forking-update pat & body)
Creates a score -> multiscore update.
Creates a score -> multiscore update.
(forking-update? x)
Return true if x
is a forking-update.
Return true if `x` is a forking-update.
(map-multiscore-update score update)
map a multiscore update
over score
map a multiscore `update` over `score`
(map-update multi-score update)
map an update over a multiscore
map an update over a multiscore
(merge-multiscores multiscores)
Merge several multiscores into one.
Merge several multiscores into one.
(multi-update pat & body)
Creates a multiscore -> multiscore update.
Creates a multiscore -> multiscore update.
(multi-update? x)
Return true if x
is a multi-update.
Return true if `x` is a multi-update.
(partial-update-multiscore multi-score filt upd)
Use 'filt to match some events of the score 's, apply 'x to the resulting subscore, then merge unselected events into the updated subscore. This second version allows you to provide an event update as a filter. If the result of the update is equal to the original event, it is considered a match.
Use 'filt to match some events of the score 's, apply 'x to the resulting subscore, then merge unselected events into the updated subscore. This second version allows you to provide an event update as a filter. If the result of the update is equal to the original event, it is considered a match.
(update-multiscore multiscore update)
(update-score score update)
Update a single score
using update
.
If update
is a multi-update, lift the score
and apply update
to it,
then return the first score from the resulting multiscore.
Update a single `score` using `update`. If `update` is a multi-update, lift the `score` and apply `update` to it, then return the first score from the resulting multiscore.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close