Liking cljdoc? Tell your friends :D

jax.patcher


->nodesclj/s

(->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

cloneclj/s

(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/s

(connect 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

disconnectclj/s

(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/s

(event-channel event-type)

genidclj/s

(genid)

idsclj/s

(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

insert-connectionclj/s

(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/s

(insert-node x obj)

Insert a :jax.patcher/object into x

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

instrumentclj/s

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

Creates an instrument from an object set.

Creates an instrument from an object set.
raw docstring

midi-effectclj/s

(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

namesclj/s

(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/s

(node-by-id x id)

Lookup a node by its id

Lookup a node by its id
raw docstring

nodes-by-nameclj/s

(nodes-by-name x name)

Returns all nodes matching name

Returns all nodes matching name
raw docstring

nodes-by-object-nameclj/s

(nodes-by-object-name x name)

Returns all nodes matching an object name

Returns all nodes matching an object name
raw docstring

obj-lookupclj/s


obj-lookup-inverseclj/s


objectclj/s

(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-nameclj/s

(object-name {:keys [object]})

object-name-inverseclj/s

(object-name-inverse {:keys [object]})

object-setclj/s

(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

patchclj/s

(patch & objects)

Concisely defines an object-set

Concisely defines an object-set
raw docstring

refclj/s

(ref obj idx)

remove-connectionclj/s

(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

rgetclj/s

(rget m k)

routeclj/s

(route match)
(route match init)

set-argsclj/s

(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/s

(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/s

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

set-nameclj/s

(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/s

(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/s

(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/s

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

unpack-argclj/s

(unpack-arg arg)

unpack-argsclj/s

(unpack-args args)

update-argsclj/s

(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/s

(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/s

(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/s

(update-node x id k f)

update-objectclj/s

(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/s

(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

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

× close