Liking cljdoc? Tell your friends :D

omkamra.sequencer


*compile-target*clj

The pattern compiler turns to this target if it finds a pattern form, pattern expression, binding key or bind expression that it does not understand. This target can also supply default bindings for :bind forms.

The pattern compiler turns to this target if it
finds a pattern form, pattern expression, binding key or bind
expression that it does not understand. This target can also supply
default bindings for :bind forms.
sourceraw docstring

active-sequencersclj

source

add-callbackclj

(add-callback {:keys [offset] :as pattern} callback)
source

add-callback-afterclj

(add-callback-after {:keys [offset] :as pattern} delay callback)
source

align-positionclj

(align-position position alignment)
source

beats->msclj

(beats->ms beats bpm)
source

beats->nsclj

(beats->ns beats bpm)
source

beats->ticksclj

(beats->ticks beats tpb)
source

bind-expr?clj

(bind-expr? x)
source

bind-specs->update-fnclj

(bind-specs->update-fn bind-specs)

Takes a map of binding specifications and creates a function which when given a map of bindings, updates them according to the specs.

Takes a map of binding specifications and creates a function which
when given a map of bindings, updates them according to the specs.
sourceraw docstring

bpm!clj

(bpm! sequencer new-bpm)
source

clear!clj

(clear! sequencer)
source

collect-bindingsclj

(collect-bindings items)
source

compileclj

source

compile-bind-exprcljmultimethod

source

compile-bind-specclj

(compile-bind-spec k spec)

Takes a key and a spec, returns a function which when given a map of bindings, returns a value calculated from the bindings as described by spec.

Takes a key and a spec, returns a function which when given a map of
bindings, returns a value calculated from the bindings as described
by spec.
sourceraw docstring

compile-binop-bind-exprcljmacro

(compile-binop-bind-expr name op)
source

compile-pattern-exprcljmultimethod

source

compile-pattern-formclj

(compile-pattern-form x)
source

conjvclj

(conjv v x)
source

createclj

(create)
(create config)
source

dissoc-valueclj

(dissoc-value m v)
source

find-target-factoryclj

(find-target-factory descriptor)
source

get-default-bindingsclj

(get-default-bindings)
source

make-targetclj

(make-target descriptor)

Finds the target factory which understands descriptor and uses it to create the corresponding target. Caches the result, so successive calls with the same descriptor return the same target. Uses the descriptor's sanitized (canonical) form as the cache key.

Finds the target factory which understands descriptor and uses it
to create the corresponding target. Caches the result, so successive
calls with the same descriptor return the same target. Uses the
descriptor's sanitized (canonical) form as the cache key.
sourceraw docstring

make-target*clj

source

merge-pattern-queueclj

(merge-pattern-queue timeline start-pos pq)

Merges each pattern in pq into the timeline starting at start-pos.

Merges each pattern in pq into the timeline starting at start-pos.
sourceraw docstring

nanosleepclj

(nanosleep ns)

Sleeps for ns nanoseconds. Attempts to be precise, even if this requires busy waiting.

Sleeps for ns nanoseconds. Attempts to be precise, even if this
requires busy waiting.
sourceraw docstring

nanosleep-current-precisionclj

source

nanosleep-default-precisionclj

source

parknanos-current-precisionclj

source

parknanos-default-precisionclj

source

pattern-expr?clj

(pattern-expr? x)
source

pfncljmacro

(pfn & args)

Same as fn but marks the resulting function as a pattern transformer.

Same as fn but marks the resulting function as a pattern transformer.
sourceraw docstring

pfn?clj

(pfn? x)
source

playclj

(play sequencer pf)
(play sequencer pf bindings)
source

register-sequencerclj

(register-sequencer sequencer)
source

register-targetclj

(register-target target)
(register-target target alias)
source

register-target-factoryclj

(register-target-factory factory)
source

registered-targetsclj

Set of targets shared by all sequencers. These are automatically started when the first sequencer starts and stopped when the last active sequencer exits.

Set of targets shared by all sequencers. These are
automatically started when the first sequencer starts and stopped
when the last active sequencer exits.
sourceraw docstring

resolve-bindingclj

(resolve-binding k v)
source

resolve-targetclj

(resolve-target target)
source

restartclj

(restart sequencer)
source

seed-patternclj

source

Sequencerclj

source

startclj

(start sequencer)
source

statusclj

(status sequencer)
source

stopclj

(stop sequencer)
source

switch!clj

(switch! atom new-val)

Sets the value of atom to new-val. Returns the previous value.

Sets the value of atom to new-val. Returns the previous value.
sourceraw docstring

target-aliasesclj

Keyword aliases which can be used to identify targets in :bind expressions.

Keyword aliases which can be used to identify targets
in :bind expressions.
sourceraw docstring

target-factoriesclj

source

ticks->msclj

(ticks->ms ticks tpb bpm)
source

ticks->nsclj

(ticks->ns ticks tpb bpm)
source

unregister-sequencerclj

(unregister-sequencer sequencer)
source

unregister-targetclj

(unregister-target target)
source

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

× close