ZZZ:
Filter:
ZZZ/Classes (extension) | External Control > Eurorack

ZZZ
ExtensionExtension

Abstract superclass of all module specific Expert Sleepers classes

Description

Users will normally not directly create instances of ZZZ, but only use it through its subclasses. It provides basic conversion methods, that can be used to drive DC coupled hardware of the Eurorack standard. Additionally it provides SynthDefs, which will be added during instantiation, that can be used for clock and gate signals.

Class Methods

Initialization

.new

Initialize a new instance.

NOTE: Do not call this method directly but instead derive a class from this one and use this method in the child's classes initialization method (see ZZZDevice for an example).

Arguments:

channels

An Array of Integers representing output bus channels (within the range of ServerOptions: -numOutputBusChannels) on a Server.

server

An instance of Server.

Returns:

An instance of ZZZ.

.initClass

Uses StartUp: *add to add SynthDefs used by child classes.

Conversion

.ampmidi

Calculates midi note for supplied amplitude.

Arguments:

amplitude

Amplitude in the range from 0.0 to 1.0.

Returns:

MIDI note for corresponding amplitude, nil if amplitude is not within the allowed octave range.

.noteCpsRangeMax

Cps for MIDI note C10.

Returns:

Returns cps for MIDI note C10.

.cvMaxADSR

Maximum voltage for ADSR on Eurorack modules.

Returns:

Returns maximum voltage for ADSR.

.noteCpsRangeMin

Cps for MIDI note C-2.

Returns:

Returns cps for MIDI note C-2.

.midiamp

Calculates amplitude for supplied MIDI note.

Arguments:

midi

MIDI note.

Returns:

Amplitude for corresponding midi note, nil if < 0 or > 127

.cvMinADSR

Minimum voltage for ADSR on Eurorack modules.

Returns:

Returns minimum voltage for ADSR.

.cvMaxTriggerGateClock

Maximum trigger/gate/clock control voltage for Eurorack modules.

Returns:

Returns maximum maximum trigger/gate/clock control voltage for Eurorack modules.

.cpsvoltage

Calculates voltage for supplied cycles per second.

Arguments:

cps

Cycles per seconds

Returns:

Returns voltage for corresponding cycles per second.

.noteVoltageRangeMin

Maximum voltage for a note on Eurorack modules.

Returns:

Returns maximum voltage for notes.

.amplitudevoltage

(describe method here)

Arguments:

amplitude

(describe argument here)

Returns:

(describe returnvalue here)

.cvMaxLFO

(describe method here)

Returns:

(describe returnvalue here)

.noteVoltageRangeMax

(describe method here)

Returns:

(describe returnvalue here)

.ampcps

(describe method here)

Arguments:

amplitude

(describe argument here)

Returns:

(describe returnvalue here)

.cvMinTriggerGateClock

(describe method here)

Returns:

(describe returnvalue here)

.voltageamplitude

(describe method here)

Arguments:

voltage

(describe argument here)

Returns:

(describe returnvalue here)

.cpsamp

(describe method here)

Arguments:

cps

(describe argument here)

Returns:

(describe returnvalue here)

.cvMinLFO

(describe method here)

Returns:

(describe returnvalue here)

.voltagecps

(describe method here)

Arguments:

voltage

(describe argument here)

Returns:

(describe returnvalue here)

Instance Methods

.channels

Returns an Array of Integers representing output bus channels (within the range of ServerOptions: -numOutputBusChannels) on a Server that was used in *new to initialize an instance of this class (or any of its subclasses).

Returns:

An Array of Integers.

.server

Returns a Server instance that was used in *new to initialize an instance of this class (or any of its subclasses).

Returns:

A Server instance.