Provides an interface for binaural audio processing.
Typical use involves sending it a monophonic signal for processing and then routing its output to a bus.
This interface is actually a small wrapper for two monaural
processors.
- Source:
- To Do:
-
- Document private members
Interfaces
Methods
(static) create(optionsopt) → {syngen.audio.binaural}
Instantiates a new binaural processor.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
Properties
|
- Source:
Returns:
destroy()
Prepares the instance for garbage collection.
- Source:
from(input)
Connects input
to this.
Parameters:
Name | Type | Description |
---|---|---|
input |
AudioNode |
- Source:
to()
Connects this to output
.
Parameters:
Type | Description |
---|---|
AudioNode |
- Source:
update()
Updates its inner monaural processors with options
.
- Source:
- See:
- To Do:
-
- Calculate coordinates and orientation of monaural processors here