(at-marker name)
Sets the active instruments' current offset to the offset of the marker with the provided name.
Sets the active instruments' current offset to the offset of the marker with the provided name.
(barline)
Barlines, at least currently, do nothing beyond visually separating other events.
Barlines, at least currently, do nothing beyond visually separating other events.
(chord & events)
Causes every active instrument to play each note in the chord simultaneously at the instrument's current offset.
Events may include notes, rests, and attribute change (e.g. octave change) events.
Causes every active instrument to play each note in the chord simultaneously at the instrument's current offset. Events may include notes, rests, and attribute change (e.g. octave change) events.
(cram duration & events)
A cram expression time-scales the events it contains based on the ratio of the "inner duration" of the events to the "outer duration" of each current instrument.
A cram expression time-scales the events it contains based on the ratio of the "inner duration" of the events to the "outer duration" of each current instrument.
(get-variable var-name)
Returns any number of events previously defined as a variable.
Returns any number of events previously defined as a variable.
(key-sig & args)
Emits inline Lisp code (key-sig ...)
Emits inline Lisp code (key-sig ...)
(key-sig! & args)
Emits inline Lisp code (key-sig! ...)
Emits inline Lisp code (key-sig! ...)
(key-signature & args)
Emits inline Lisp code (key-signature ...)
Emits inline Lisp code (key-signature ...)
(key-signature! & args)
Emits inline Lisp code (key-signature! ...)
Emits inline Lisp code (key-signature! ...)
(marker name)
Places a marker at the current absolute offset.
Places a marker at the current absolute offset.
(metric-modulation & args)
Emits inline Lisp code (metric-modulation ...)
Emits inline Lisp code (metric-modulation ...)
(metric-modulation! & args)
Emits inline Lisp code (metric-modulation! ...)
Emits inline Lisp code (metric-modulation! ...)
(note pitch & [duration slur?])
Causes every active instrument to play a note at its current offset for the specified duration.
If no duration is specified, the note is played for the instrument's own internal duration, which will be the duration last specified on a note or rest in that instrument's part.
Causes every active instrument to play a note at its current offset for the specified duration. If no duration is specified, the note is played for the instrument's own internal duration, which will be the duration last specified on a note or rest in that instrument's part.
(octave value)
Sets the current octave, which is used to calculate the pitch of notes.
value
can be an octave number, :up or :down.
Sets the current octave, which is used to calculate the pitch of notes. `value` can be an octave number, :up or :down.
(octave! & args)
Emits inline Lisp code (octave! ...)
Emits inline Lisp code (octave! ...)
(pan & args)
Emits inline Lisp code (pan ...)
Emits inline Lisp code (pan ...)
(pan! & args)
Emits inline Lisp code (pan! ...)
Emits inline Lisp code (pan! ...)
(panning & args)
Emits inline Lisp code (panning ...)
Emits inline Lisp code (panning ...)
(panning! & args)
Emits inline Lisp code (panning! ...)
Emits inline Lisp code (panning! ...)
(part x)
Sets the current instrument instance(s) based on instrument-call
.
instrument-call
can either be a map containing :names and an optional
:nickname (e.g. {:names ["piano" "trumpet"] :nickname ["trumpiano"]})
or a valid Alda instrument call string, e.g. "piano/trumpet 'trumpiano'".
For convenience, single quotes can be used around the nickname instead of double quotes.
Sets the current instrument instance(s) based on `instrument-call`. `instrument-call` can either be a map containing :names and an optional :nickname (e.g. {:names ["piano" "trumpet"] :nickname ["trumpiano"]}) or a valid Alda instrument call string, e.g. "piano/trumpet 'trumpiano'". For convenience, single quotes can be used around the nickname instead of double quotes.
(pause & [duration])
Causes every active instrument to rest (not play) for the specified duration.
If no duration is specified, each instrument will rest for its own internal duration, which will be the duration last specified on a note or rest in that instrument's part.
Causes every active instrument to rest (not play) for the specified duration. If no duration is specified, each instrument will rest for its own internal duration, which will be the duration last specified on a note or rest in that instrument's part.
(quant & args)
Emits inline Lisp code (quant ...)
Emits inline Lisp code (quant ...)
(quant! & args)
Emits inline Lisp code (quant! ...)
Emits inline Lisp code (quant! ...)
(quantization & args)
Emits inline Lisp code (quantization ...)
Emits inline Lisp code (quantization ...)
(quantization! & args)
Emits inline Lisp code (quantization! ...)
Emits inline Lisp code (quantization! ...)
(quantize & args)
Emits inline Lisp code (quantize ...)
Emits inline Lisp code (quantize ...)
(quantize! & args)
Emits inline Lisp code (quantize! ...)
Emits inline Lisp code (quantize! ...)
(reference-pitch & args)
Emits inline Lisp code (reference-pitch ...)
Emits inline Lisp code (reference-pitch ...)
(reference-pitch! & args)
Emits inline Lisp code (reference-pitch! ...)
Emits inline Lisp code (reference-pitch! ...)
(set-duration & args)
Emits inline Lisp code (set-duration ...)
Emits inline Lisp code (set-duration ...)
(set-note-length & args)
Emits inline Lisp code (set-note-length ...)
Emits inline Lisp code (set-note-length ...)
(set-variable var-name & events)
Defines any number of events as a variable so that they can be referenced by name.
Defines any number of events as a variable so that they can be referenced by name.
(tempo & args)
Emits inline Lisp code (tempo ...)
Emits inline Lisp code (tempo ...)
(tempo! & args)
Emits inline Lisp code (tempo! ...)
Emits inline Lisp code (tempo! ...)
(track-vol & args)
Emits inline Lisp code (track-vol ...)
Emits inline Lisp code (track-vol ...)
(track-vol! & args)
Emits inline Lisp code (track-vol! ...)
Emits inline Lisp code (track-vol! ...)
(track-volume & args)
Emits inline Lisp code (track-volume ...)
Emits inline Lisp code (track-volume ...)
(track-volume! & args)
Emits inline Lisp code (track-volume! ...)
Emits inline Lisp code (track-volume! ...)
(transpose & args)
Emits inline Lisp code (transpose ...)
Emits inline Lisp code (transpose ...)
(transpose! & args)
Emits inline Lisp code (transpose! ...)
Emits inline Lisp code (transpose! ...)
(transposition & args)
Emits inline Lisp code (transposition ...)
Emits inline Lisp code (transposition ...)
(transposition! & args)
Emits inline Lisp code (transposition! ...)
Emits inline Lisp code (transposition! ...)
(tuning-constant & args)
Emits inline Lisp code (tuning-constant ...)
Emits inline Lisp code (tuning-constant ...)
(tuning-constant! & args)
Emits inline Lisp code (tuning-constant! ...)
Emits inline Lisp code (tuning-constant! ...)
(voice number)
Begins a voice identified by number
.
Until the voice group ends, all voices are played simultaneously.
Begins a voice identified by `number`. Until the voice group ends, all voices are played simultaneously.
(vol & args)
Emits inline Lisp code (vol ...)
Emits inline Lisp code (vol ...)
(vol! & args)
Emits inline Lisp code (vol! ...)
Emits inline Lisp code (vol! ...)
(volume & args)
Emits inline Lisp code (volume ...)
Emits inline Lisp code (volume ...)
(volume! & args)
Emits inline Lisp code (volume! ...)
Emits inline Lisp code (volume! ...)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close