Constructor
new AudioTimeEngine()
- Source:
Example
import audio from 'waves-audio';
class MyEngine extends audio.AudioTimeEngine {
constructor() {
super();
// ...
}
}
Extends
- TimeEngine
Members
(static) audioContext :AudioContext
Audio context used by the TimeEngine, default to the global audioContext
Type:
- AudioContext
- Source:
- See:
(static) outputNode :AudioNode
Output audio node. By default the connect method connects a given node to this output node.
Type:
- AudioNode
- Default Value:
- null
- Source:
Methods
connect(target)
Connect to an audio node (e.g. audioContext.destination)
Parameters:
Name | Type | Description |
---|---|---|
target |
AudioNode | Target audio node |
- Source:
disconnect(target)
Disconnect from an audio node (e.g. audioContext.destination). If undefined disconnect from all target nodes.
Parameters:
Name | Type | Description |
---|---|---|
target |
AudioNode | Target audio node. |
- Source: