This class provides an interface to Expert Sleepers' Eurorack modules. It offers convenience methods to create clocks and gates on the device's outputs, based on (shared) TempoBusClocks.
Creates an instance of ZZZDevice on a Server using an Array of output bus channels (within the range of ServerOptions: -numOutputBusChannels). Throws ZZZError if the parameters ar not set or invalid.
channels |
An Array of Integers, that represent output bus channels indeces (within the range of ServerOptions: -numOutputBusChannels) on the Server instance. |
server |
The Server instance to use. |
An instance of ZZZDevice interfacing the given hardware device.
Return the understood playTypes that can be used. A playType
relates to how scheduling takes place on a given TempoBusClock when adding or changing clocks on an output:
\beat
: When this playType
is used the clock is added/ changed/ removed on the next beat.\bar
: When this playType
is used the clock is added/ changed/ removed on the next bar.Return the understood types of clocks that can be used:
\zeroFive
: A clock signal ranging from 0.0
to 5.0
(24 beats per qarter note)\minusFiveFive
: A clock signal ranging from -5.0
to 5.0
(24 beats per qarter note)\korgZeroFive
: A clock signal ranging from 0.0
to 5.0
(48 beats per quarter note)\korgMinusFiveFive
: A clock signal ranging from -5.0
to 5.0
(48 beats per quarter note)Initializes the Dictionaries required for -clocks, -gates, -gateBusses, -outs, -tempos and -tempoBusses, as well as populates the -outs Dictionary and initializes -deviceGroup when the Server is booted.
Adds a TempoBusClock to the -tempos Dictionary. Throws ZZZError on invalid input.
slot |
An Integer ( |
tempo |
A Float ( |
Removes a TempoBusClock from the -tempos Dictionary and any clock relying on it.
slot |
An Integer ( |
playType |
A Symbol describing the |
quant |
An Integer setting the quant (the beat) on which to schedule removal of the tempo and clock Synth(s). Only regarded if |
Adds a clock Synth on a hardware output. Throws ZZZError on invalid input.
output |
An Integer ( |
slot |
An Integer ( |
type |
A Symbol describing the clock type to use (see *clockTypes for the valid types and explanation). |
playType |
A Symbol describing the |
quant |
An Integer setting the quant (the beat) on which to schedule playing the clock Synth. Only regarded if |
replace |
A Boolean indicating whether to replace clock currently playing at |
Removes a clock Synth playing on a hardware output. Throws ZZZError on invalid input.
output |
An Integer ( |
playType |
A Symbol describing the |
quant |
An Integer setting the quant (the beat) on which to schedule removal of the clock Synth. Only regarded if |
Adds a gate Synth on a hardware output. Throws ZZZError on invalid input. The gate's multiplication value can be controlled using the respective Bus exposed in -gateBusses.
output |
An Integer ( |
input |
A Float ( |
Removes a gate Synth from a hardware output. Throws ZZZError on invalid input.
output |
An Integer ( |
Sets the TempoBusClock used for a given clock on an output
of an Expert Sleepers device. Throws ZZZError on invalid input.
output |
An Integer ( |
slot |
An Integer ( |
playType |
A Symbol describing the |
quant |
An Integer setting the quant (the beat) on which to schedule playing the clock Synth. Only regarded if |
type |
A Symbol describing the clock type to use (see *clockTypes for the valid types and explanation). |
Sets the tempo of a TempoBusClock (see -addTempo on how to add a tempo).
slot |
An Integer ( |
tempo |
A Float ( |
Returns a Dictionary of hardware output numbers and their respective clock Synths (see -addClock on how to add a clock).
A Dictionary of Integer and Synth associations.
Returns the Group instance to which all Synths are added. This variable is setup during -init.
A Group.
Returns a Dictionary of hardware outputs and their respective Busses connected to the gate Synths (see -addGate on how to setup a gate).
A Dictionary of Integer and Bus associations.
Returns a Dictionary of hardware output numbers and their respective gate Synths (see -addGate on how to add a gate).
A Dictionary of Integer and Synth associations.
Returns a Dictionary representing the mapping between the outputs on the hardware (the numbering starts at 1
) and the Server's output bus channels (within the range of ServerOptions: -numOutputBusChannels) connected to the hardware.
A Dictionary of Integer associations.
Returns the output bus channel (an Integer within the range of ServerOptions: -numOutputBusChannels) mapped to a given hardware output number. Throws ZZZError if the output parameter is invalid.
output |
An Integer ( |
An Integer representing an output bus channel.
Returns a Dictionary of slots (starting from 1
) and their respective Busses, which are connected to TempoBusClocks and clock Synths.
A Dictionary of Integer and Bus associations.
Returns a Dictionary of the currently available tempos (see -addTempo on how to setup a tempo).
A Dictionary of slots (Integer) and TempoBusClock associations.
Convenience wrapper around -postClocks, -postGates, -postOuts and -postTempos.
Posts information about the currently running clocks.
Posts information about the currently running gate Synth(s).
Posts information about the mapping of hardware outputs to Server output bus channels.
Posts information about the currently running TempoBusClocks.