Liking cljdoc? Tell your friends :D

alda.core


*alda-executable*clj

source

*alda-history*clj

source

->strclj

(->str x)
source

aldaclj

(alda & args)
source

at-markerclj

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

barlineclj

(barline)

Barlines, at least currently, do nothing beyond visually separating other events.

Barlines, at least currently, do nothing beyond visually separating other
events.
sourceraw docstring

chordclj

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

clear-history!clj

(clear-history!)
source

cramclj

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

durationclj

(duration & components)
source

end-voicesclj

(end-voices)
source

get-variableclj

(get-variable var-name)

Returns any number of events previously defined as a variable.

Returns any number of events previously defined as a variable.
sourceraw docstring

key-sigclj

(key-sig & args)

Emits inline Lisp code (key-sig ...)

Emits inline Lisp code (key-sig ...)
sourceraw docstring

key-sig!clj

(key-sig! & args)

Emits inline Lisp code (key-sig! ...)

Emits inline Lisp code (key-sig! ...)
sourceraw docstring

key-signatureclj

(key-signature & args)

Emits inline Lisp code (key-signature ...)

Emits inline Lisp code (key-signature ...)
sourceraw docstring

key-signature!clj

(key-signature! & args)

Emits inline Lisp code (key-signature! ...)

Emits inline Lisp code (key-signature! ...)
sourceraw docstring

lisp-builtincljmacro

(lisp-builtin sym)
source

lisp-builtin-attributescljmacro

(lisp-builtin-attributes & syms)
source

lisp-builtinscljmacro

(lisp-builtins & syms)
source

markerclj

(marker name)

Places a marker at the current absolute offset.

Places a marker at the current absolute offset.
sourceraw docstring

metric-modulationclj

(metric-modulation & args)

Emits inline Lisp code (metric-modulation ...)

Emits inline Lisp code (metric-modulation ...)
sourceraw docstring

metric-modulation!clj

(metric-modulation! & args)

Emits inline Lisp code (metric-modulation! ...)

Emits inline Lisp code (metric-modulation! ...)
sourceraw docstring

msclj

(ms number)
source

noteclj

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

note-lengthclj

(note-length number & [{:keys [dots]}])
source

octaveclj

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

octave!clj

(octave! & args)

Emits inline Lisp code (octave! ...)

Emits inline Lisp code (octave! ...)
sourceraw docstring

panclj

(pan & args)

Emits inline Lisp code (pan ...)

Emits inline Lisp code (pan ...)
sourceraw docstring

pan!clj

(pan! & args)

Emits inline Lisp code (pan! ...)

Emits inline Lisp code (pan! ...)
sourceraw docstring

panningclj

(panning & args)

Emits inline Lisp code (panning ...)

Emits inline Lisp code (panning ...)
sourceraw docstring

panning!clj

(panning! & args)

Emits inline Lisp code (panning! ...)

Emits inline Lisp code (panning! ...)
sourceraw docstring

partclj

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

pauseclj

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

pitchclj

(pitch letter & accidentals)
source

play!clj

(play! & xs)
source

quantclj

(quant & args)

Emits inline Lisp code (quant ...)

Emits inline Lisp code (quant ...)
sourceraw docstring

quant!clj

(quant! & args)

Emits inline Lisp code (quant! ...)

Emits inline Lisp code (quant! ...)
sourceraw docstring

quantizationclj

(quantization & args)

Emits inline Lisp code (quantization ...)

Emits inline Lisp code (quantization ...)
sourceraw docstring

quantization!clj

(quantization! & args)

Emits inline Lisp code (quantization! ...)

Emits inline Lisp code (quantization! ...)
sourceraw docstring

quantizeclj

(quantize & args)

Emits inline Lisp code (quantize ...)

Emits inline Lisp code (quantize ...)
sourceraw docstring

quantize!clj

(quantize! & args)

Emits inline Lisp code (quantize! ...)

Emits inline Lisp code (quantize! ...)
sourceraw docstring

reference-pitchclj

(reference-pitch & args)

Emits inline Lisp code (reference-pitch ...)

Emits inline Lisp code (reference-pitch ...)
sourceraw docstring

reference-pitch!clj

(reference-pitch! & args)

Emits inline Lisp code (reference-pitch! ...)

Emits inline Lisp code (reference-pitch! ...)
sourceraw docstring

set-durationclj

(set-duration & args)

Emits inline Lisp code (set-duration ...)

Emits inline Lisp code (set-duration ...)
sourceraw docstring

set-note-lengthclj

(set-note-length & args)

Emits inline Lisp code (set-note-length ...)

Emits inline Lisp code (set-note-length ...)
sourceraw docstring

set-variableclj

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

stop!clj

(stop!)
source

Stringifycljprotocol

-strclj

(-str this)
source

tempoclj

(tempo & args)

Emits inline Lisp code (tempo ...)

Emits inline Lisp code (tempo ...)
sourceraw docstring

tempo!clj

(tempo! & args)

Emits inline Lisp code (tempo! ...)

Emits inline Lisp code (tempo! ...)
sourceraw docstring

track-volclj

(track-vol & args)

Emits inline Lisp code (track-vol ...)

Emits inline Lisp code (track-vol ...)
sourceraw docstring

track-vol!clj

(track-vol! & args)

Emits inline Lisp code (track-vol! ...)

Emits inline Lisp code (track-vol! ...)
sourceraw docstring

track-volumeclj

(track-volume & args)

Emits inline Lisp code (track-volume ...)

Emits inline Lisp code (track-volume ...)
sourceraw docstring

track-volume!clj

(track-volume! & args)

Emits inline Lisp code (track-volume! ...)

Emits inline Lisp code (track-volume! ...)
sourceraw docstring

transposeclj

(transpose & args)

Emits inline Lisp code (transpose ...)

Emits inline Lisp code (transpose ...)
sourceraw docstring

transpose!clj

(transpose! & args)

Emits inline Lisp code (transpose! ...)

Emits inline Lisp code (transpose! ...)
sourceraw docstring

transpositionclj

(transposition & args)

Emits inline Lisp code (transposition ...)

Emits inline Lisp code (transposition ...)
sourceraw docstring

transposition!clj

(transposition! & args)

Emits inline Lisp code (transposition! ...)

Emits inline Lisp code (transposition! ...)
sourceraw docstring

tuning-constantclj

(tuning-constant & args)

Emits inline Lisp code (tuning-constant ...)

Emits inline Lisp code (tuning-constant ...)
sourceraw docstring

tuning-constant!clj

(tuning-constant! & args)

Emits inline Lisp code (tuning-constant! ...)

Emits inline Lisp code (tuning-constant! ...)
sourceraw docstring

voiceclj

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

volclj

(vol & args)

Emits inline Lisp code (vol ...)

Emits inline Lisp code (vol ...)
sourceraw docstring

vol!clj

(vol! & args)

Emits inline Lisp code (vol! ...)

Emits inline Lisp code (vol! ...)
sourceraw docstring

volumeclj

(volume & args)

Emits inline Lisp code (volume ...)

Emits inline Lisp code (volume ...)
sourceraw docstring

volume!clj

(volume! & args)

Emits inline Lisp code (volume! ...)

Emits inline Lisp code (volume! ...)
sourceraw docstring

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

× close