Liking cljdoc? Tell your friends :D

jax.patcher


->nodesclj

(->nodes objs)

Recursively walks over a collection of nodes (objects or object-sets), and flattens them into a collection of objects

Recursively walks over a collection of nodes (objects or object-sets), and flattens them into a collection of objects
raw docstring

args-parametersclj

(args-parameters args params)

cloneclj

(clone instrument)

Creates a new instance of an instrument - by walking all objects and generating new, unique IDs for each.

Creates a new instance of an instrument - by walking all objects and generating new, unique IDs for each.
raw docstring

connectclj

(connect x [outlet-id outlet-idx] [inlet-id inlet-idx])

Creates a connection between [outlet-id idx] -> [inlet-id idx]

Creates a connection between [outlet-id idx] -> [inlet-id idx]
raw docstring

disconnectclj

(disconnect x [outlet-id outlet-idx] [inlet-id inlet-idx])

Removes the connection between [outlet-id idx] -> [inlet-id idx]

Removes the connection between [outlet-id idx] -> [inlet-id idx]
raw docstring

event-channelclj

(event-channel event-type)

genidclj

(genid)

idsclj

(ids x)

Returns a set of all ids for each node in x

Returns a set of all ids for each node in x
raw docstring

inlets-parametersclj

(inlets-parameters inlets params)

insert-connectionclj

(insert-connection connections idx connection)

For connections (eg, something conforming to :object/inlets or :object/outlets), insert a :object/connection object at the given index

For connections (eg, something conforming to :object/inlets or :object/outlets), insert a :object/connection object at the given index
raw docstring

insert-nodeclj

(insert-node x obj)

Insert a :jax.patcher/object into x

Insert a :jax.patcher/object into x
raw docstring

instrumentclj

(instrument obj-set)
(instrument obj-set plugout-idx)

Creates an instrument from an object set.

Creates an instrument from an object set.
raw docstring

instrument?clj

(instrument? x)

midi-effectclj

(midi-effect obj-set)
(midi-effect obj-set midiout-idx)

Creates a MIDI effect from an object set

Creates a MIDI effect from an object set
raw docstring

midi-effect?clj

(midi-effect? x)

namesclj

(names x)

Returns a set of all names for each node in x

Returns a set of all names for each node in x
raw docstring

node-by-idclj

(node-by-id x id)

Lookup a node by its id

Lookup a node by its id
raw docstring

nodes->parametersclj

(nodes->parameters nodes)

nodes-by-nameclj

(nodes-by-name x name)

Returns all nodes matching name

Returns all nodes matching name
raw docstring

nodes-by-object-nameclj

(nodes-by-object-name x name)

Returns all nodes matching an object name

Returns all nodes matching an object name
raw docstring

objectclj

(object & {:keys [object id args inlets outlets name]})

Creates an object map from its arguments

Creates an object map from its arguments
raw docstring

object-setclj

(object-set & objects)

Creates an object-set from its arguments The first arg will be treated as the inlet, and the last arg will be treated as the outlet

Creates an object-set from its arguments
The first arg will be treated as the inlet, and the last arg will be treated as the outlet
raw docstring

object-set?clj

(object-set? x)

object?clj

(object? x)

parametersclj

(parameters x params)

patchcljmacro

(patch bindings & body)

refclj

(ref obj idx)

ref?clj

(ref? x)

remove-connectionclj

(remove-connection connections idx connection)

For connections (eg, something conforming to :object/inlets or :object/outlets), remove a matching :object/connection object from the given index

For connections (eg, something conforming to :object/inlets or :object/outlets), remove a matching :object/connection object from the given index
raw docstring

routeclj

(route id)
(route id init)

route?clj

(route? x)

set-argsclj

(set-args x id val)

Associates (eg, replaces) the arguments for an id relating to a :jax.patcher/object

Associates (eg, replaces) the arguments for an id relating to a :jax.patcher/object
raw docstring

set-inletsclj

(set-inlets x id inlets)

Associates (eg, replaces) the inlets for an id relating to a :jax.patcher/object

Associates (eg, replaces) the inlets for an id relating to a :jax.patcher/object
raw docstring

set-midioutclj

(set-midiout midi-effect obj-id obj-idx)

set-nameclj

(set-name x id name)

Associates (eg, replaces) the tagged name for an id relating to a :jax.patcher/object

Associates (eg, replaces) the tagged name for an id relating to a :jax.patcher/object
raw docstring

set-objectclj

(set-object x id object)

Associates (eg, replaces) the object name for an id relating to a :jax.patcher/object

Associates (eg, replaces) the object name for an id relating to a :jax.patcher/object
raw docstring

set-outletsclj

(set-outlets x id outlets)

Associates (eg, replaces) the outlets for an id relating to a :jax.patcher/object

Associates (eg, replaces) the outlets for an id relating to a :jax.patcher/object
raw docstring

set-plugoutclj

(set-plugout instrument obj-id obj-idx)

update-argsclj

(update-args x id f)

Updates the arguments for an id relating relating to a :jax.patcher/object

f is a function of: (fn [object args])

Updates the arguments for an id relating relating to a :jax.patcher/object

f is a function of: (fn [object args])
raw docstring

update-inletsclj

(update-inlets x id f)

Updates the inlets for an id relating relating to a :jax.patcher/object

f is a function of: (fn [object inlets])

Updates the inlets for an id relating relating to a :jax.patcher/object

f is a function of: (fn [object inlets])
raw docstring

update-nameclj

(update-name x id f)

Updates the object's tagged name for an id relating relating to a :jax.patcher/object

f is a function of: (fn [object name])

Updates the object's tagged name for an id relating relating to a :jax.patcher/object

f is a function of: (fn [object name])
raw docstring

update-nodeclj

(update-node x id k f)

update-objectclj

(update-object x id f)

Updates the object name for an id relating relating to a :jax.patcher/object

f is a function of: (fn [object object-name])

Updates the object name for an id relating relating to a :jax.patcher/object

f is a function of: (fn [object object-name])
raw docstring

update-outletsclj

(update-outlets x id f)

Updates the outlets for an id relating relating to a :jax.patcher/object

f is a function of: (fn [object outlets])

Updates the outlets for an id relating relating to a :jax.patcher/object

f is a function of: (fn [object outlets])
raw docstring

validate-obj-setclj

(validate-obj-set obj-set)

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

× close