(->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
(args-parameters args params)(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.
(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]
(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]
(event-channel event-type)(genid)(ids x)Returns a set of all ids for each node in x
Returns a set of all ids for each node in x
(inlets-parameters inlets params)(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
(insert-node x obj)Insert a :jax.patcher/object into x
Insert a :jax.patcher/object into x
(instrument obj-set)(instrument obj-set plugout-idx)Creates an instrument from an object set.
Creates an instrument from an object set.
(instrument? x)(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
(midi-effect? x)(names x)Returns a set of all names for each node in x
Returns a set of all names for each node in x
(nodes->parameters nodes)(nodes-by-name x name)Returns all nodes matching name
Returns all nodes matching name
(nodes-by-object-name x name)Returns all nodes matching an object name
Returns all nodes matching an object name
(object & {:keys [object id args inlets outlets name]})Creates an object map from its arguments
Creates an object map from its arguments
(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
(object-set? x)(object? x)(parameters x params)(patch bindings & body)(ref obj idx)(ref? x)(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
(route id)(route id init)(route? x)(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
(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
(set-midiout midi-effect obj-id obj-idx)(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
(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
(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
(set-plugout instrument obj-id obj-idx)(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])
(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])
(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])
(update-node x id k f)(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])
(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])
(validate-obj-set obj-set)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |