Interface: binaural

syngen.audio.binaural

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

monaural

Methods

(static) create(optionsopt) → {syngen.audio.binaural}

Instantiates a new binaural processor.

Parameters:
Name Type Attributes Description
options Object <optional>
Properties
Name Type Attributes Default Description
x Number <optional>
0
y Number <optional>
0
z Number <optional>
0
Source:
Returns:
Type
syngen.audio.binaural

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