List of all members | Public Member Functions | Public Attributes
Synth Class Reference

The Master Element in the synthesis tree. More...

+ Inheritance diagram for Synth:

Public Member Functions

EventProcessor getEventProcessor (int index)
 get EventProcessor at the given index
 
Value getParameter (string parameter)
 Gets an Element parameter. More...
 
table getParameterConnections (string parameter)
 Get all SignalConnection for this parameter. More...
 
bool hasParameter (string parameter)
 
void setParameter (string parameter, Value value)
 Sets an Element parameter. More...
 

Public Attributes

table auxs
 all AuxEffect for this node
 
table children
 element children using the element name as key
 
string displayName
 name shown on the user interface
 
table eventProcessors
 all EventProcessor for this node
 
table inserts
 all InsertEffect for this node
 
table modulations
 all ControlSignalSource for this node using the modulation name as key
 
string name
 internal element name
 
int numEventProcessors
 number of event processors for this node
 
int numParams
 number of parameters
 
table parameterDefinitions
 table of parameter definitions. More...
 
Elementparent
 element parent
 
table parts
 Part list for this Synth.
 
string type
 internal element type
 

Detailed Description

The Master Element in the synthesis tree.

Member Function Documentation

void Element::setParameter ( string  parameter,
Value  value 
)
inherited

Sets an Element parameter.

Parameters
parameterparameterName or parameterId
valueparameterValue (number|bool|string) according to definition
See Also
Elements & parameters
Value Element::getParameter ( string  parameter)
inherited

Gets an Element parameter.

Parameters
parameterparameterName or parameterId
Returns
parameterValue (number|bool|string) according to definition
See Also
Elements & parameters
bool Element::hasParameter ( string  parameter)
inherited
Parameters
parameterparameterName or parameterId
Returns
true or false
See Also
Elements & parameters
table Element::getParameterConnections ( string  parameter)
inherited

Get all SignalConnection for this parameter.

Parameters
parameterparameterName or parameterId
Returns
table of parameter connections
See Also
Elements & parameters

Member Data Documentation

table Element::parameterDefinitions
inherited

table of parameter definitions.

returns the following table:

property type optional
id number no
type "int","float","bool","string" no
default type no
displayName string no
description string no
readOnly number no
serialize boolean no
min type yes
max type yes