(defattribute attr-name & things)
Convenience macro for setting up attributes.
Convenience macro for setting up attributes.
(metric-modulation old new)
Express tempo in terms of metric modulation, where the new note takes the same amount of time (one beat) as the old note. (e.g. (metric-modulation "4." 2) means that the new length of a half note equals the length of a dotted quarter note in the previous measure)
Express tempo in terms of metric modulation, where the new note takes the same amount of time (one beat) as the old note. (e.g. (metric-modulation "4." 2) means that the new length of a half note equals the length of a dotted quarter note in the previous measure)
(set-note-length length)
Sets note duration in terms of alda note-lengths (e.g. quarter note = 4, dotted note = "4.")
Sets note duration in terms of alda note-lengths (e.g. quarter note = 4, dotted note = "4.")
(tempo val)
(tempo note-length val)
Multi-arity function that allows for an additional parameter to represent the tempo in terms of non-quarter notes (e.g.(tempo 2 60) <--> (tempo 120)). Overwrites the single-argument function produced by defattribute
Multi-arity function that allows for an additional parameter to represent the tempo in terms of non-quarter notes (e.g.(tempo 2 60) <--> (tempo 120)). Overwrites the single-argument function produced by defattribute
(tempo! val)
(tempo! note-length val)
Global version of overwritten tempo function
Global version of overwritten tempo function
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close