new Audealize(context, api_key, opts)
The Audealize AudioNode (See Getting Started)
Enables semantic control of EQ and reverb effects
To use, instantiate the node in your web audio graph, then set Audealize~eq_descriptor or Audealize~reverb_descriptor
This node can optionally look for synonyms if an unkown descriptor is given.
To utilize this functionality, get an API key from http://words.bighugelabs.com/api.php and pass as an argument to the constructor.
Enables semantic control of EQ and reverb effects
To use, instantiate the node in your web audio graph, then set Audealize~eq_descriptor or Audealize~reverb_descriptor
This node can optionally look for synonyms if an unkown descriptor is given.
To utilize this functionality, get an API key from http://words.bighugelabs.com/api.php and pass as an argument to the constructor.
Parameters:
Name | Type | Description |
---|---|---|
context |
AudioContext | The Web Audio context |
api_key |
string | (optional) API key for Thesaurus service provided by words.bighugelabs.com (See Synonyms) |
opts |
Object | (optional) Initial vlaues for eq_descriptor, reverb_descriptor, eq_amount, reverb_amount, eq_on, reverb_on |
- Source:
Members
(inner) eq_amount :number
The intensity of the EQ effect.
Scales the gain values of each filter in the equalizer.
Default = 1.0. A value of 0.0 means the EQ curve will be flat at 0dB.
Negative values can be used to achieve the inverse effect of the descriptor. (e.g. If eq_descriptor = 'bright' and eq_amount = -1, the sound will the opposite of bright)
Scales the gain values of each filter in the equalizer.
Default = 1.0. A value of 0.0 means the EQ curve will be flat at 0dB.
Negative values can be used to achieve the inverse effect of the descriptor. (e.g. If eq_descriptor = 'bright' and eq_amount = -1, the sound will the opposite of bright)
Type:
- number
- Source:
(inner) eq_descriptor :Descriptor
The EQ Descriptor.
Set with a string or Descriptor. Changes to this paramter will cause the effect settings to be changed immediately to match.
If set with a descriptor not present in the EQ dictionary, the node will attempt to find synonyms in the dictionary. (See Synonyms)
If none are found, the descriptor will revert to its previous value.
Set with a string or Descriptor. Changes to this paramter will cause the effect settings to be changed immediately to match.
If set with a descriptor not present in the EQ dictionary, the node will attempt to find synonyms in the dictionary. (See Synonyms)
If none are found, the descriptor will revert to its previous value.
Type:
- Source:
(inner) eq_on :boolean
The on/off state of the eq effect.
If true, EQ is enabled.
If true, EQ is enabled.
Type:
- boolean
- Source:
(inner) reverb_amount :number
The ratio of reverb to dry signal.
1 = reverb only. 0 = dry signal only.
Set with a number [0,1]
1 = reverb only. 0 = dry signal only.
Set with a number [0,1]
Type:
- number
- Source:
(inner) reverb_descriptor :Descriptor
The reverb Descriptor.
Set with a string or Descriptor. Changes to this paramter will cause the effect settings to be changed immediately to match.
If set with a descriptor not present in the reverb dictionary, the node will attempt to find synonyms in the dictionary. (See Synonyms)
If none are found, the descriptor will revert to its previous value.
Set with a string or Descriptor. Changes to this paramter will cause the effect settings to be changed immediately to match.
If set with a descriptor not present in the reverb dictionary, the node will attempt to find synonyms in the dictionary. (See Synonyms)
If none are found, the descriptor will revert to its previous value.
Type:
- Source:
(inner) reverb_on :boolean
The on/off state of the reverb effect.
If true, reverb is enabled.
If true, reverb is enabled.
Type:
- boolean
- Source:
Methods
(inner) connect(dest)
Connect output of this node to the input of another AudioNode
Parameters:
Name | Type | Description |
---|---|---|
dest |
AudioNode | The node to connect to |
- Source:
(inner) disconnect()
Disconnect the output of this node
- Source: