Classes | UGens > Synth control

ControlName : Object

Object to store control information of SynthDef (used internally)
Source: InOut.sc

Description

For an explicit creation of control names see: NamedControl, Control

Class Methods

Inherited class methods

Undocumented class methods

ControlName.new(name, index, rate, defaultValue, argNum, lag)

Instance Methods

.name

.name = value

The name of the control.

Returns:

.index

.index = value

The index of the control.

Returns:

.rate

.rate = value

The rate of the control.

Returns:

a Symbol like 'audio' or 'control'

.defaultValue

.defaultValue = value

Default value of this control. Will be an Array for multichannel controls.

.numChannels

The number of channels.

Returns:

Inherited instance methods

Undocumented instance methods

.argNum

.argNum = value

.lag

.lag = value

Examples

a = SynthDescLib.global; // the global library of SynthDescs
x = a.synthDescs.at(\default); // get the default SynthDesc
x.controls.do { |ctl| [\name, ctl.name, \defaultValue, ctl.defaultValue].postln };"";