Liking cljdoc? Tell your friends :D

alda.lisp.score


continueclj

(continue score & body)

Continues the score represented by the score map score, evaluating the events in body and returning the completed score.

Continues the score represented by the score map `score`, evaluating the
events in `body` and returning the completed score.
sourceraw docstring

continue!clj

(continue! score-atom & body)

Convenience function for dealing with Alda scores stored in atoms.

(continue! my-score (part 'bassoon' (note (pitch :c))))

is short for:

(apply swap! my-score continue (part 'bassoon' (note (pitch :c))))

Convenience function for dealing with Alda scores stored in atoms.

(continue! my-score
  (part 'bassoon'
    (note (pitch :c))))

is short for:

(apply swap! my-score continue
  (part 'bassoon'
    (note (pitch :c))))
sourceraw docstring

new-scoreclj

(new-score)
source

scoreclj

(score & body)

Initializes a new score, evaluates the events contained in body (updating the score accordingly) and returns the completed score.

A score and its evaluation context are effectively the same thing. This means that an evaluated score can be used as an input to continue-score

Initializes a new score, evaluates the events contained in `body` (updating
the score accordingly) and returns the completed score.

A score and its evaluation context are effectively the same thing. This
means that an evaluated score can be used as an input to `continue-score`
sourceraw docstring

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

× close