Class tQuery.WebAudio.NodeChainBuilder
builder to generate nodes chains. Used in tQuery.WebAudio.Sound
- Defined in: tquery.webaudio.js
Constructor Attributes | Constructor Name and Description |
---|---|
tQuery.WebAudio.NodeChainBuilder(audioContext)
Constructor
|
Method Summary
Class Detail
tQuery.WebAudio.NodeChainBuilder(audioContext)
Constructor
- Parameters:
- {webkitAudioContext} audioContext
- the audio context
Method Detail
-
analyser(properties)add a analyser
- Parameters:
- {Object} properties Optional
- properties to set in the created node
-
bufferSource(properties)add a bufferSource
- Parameters:
- {Object} properties Optional
- properties to set in the created node
-
{AudioBufferSourceNode} cloneBufferSource()Clone the bufferSource. Used just before playing a sound
- Returns:
- {AudioBufferSourceNode} the clone AudioBufferSourceNode
-
destroy()destructor
-
first()
- Returns:
- the first node of the chain
-
gainNode(properties)add a gainNode
- Parameters:
- {Object} properties Optional
- properties to set in the created node
-
last()
- Returns:
- the last node of the chain
-
nodes()getter for the nodes
-
panner(properties)add a panner
- Parameters:
- {Object} properties Optional
- properties to set in the created node