Class Analyser
Hierarchy
- Analyser
Index
Constructors
constructor
Properties
BARGRAPHAMPLITUDESearch playground for BARGRAPHAMPLITUDE
Gets or sets the bar graph amplitude
DEBUGCANVASPOSSearch playground for DEBUGCANVASPOS
Gets or sets the position of the debug canvas
Type declaration
-
x: number
-
y: number
DEBUGCANVASSIZESearch playground for DEBUGCANVASSIZE
Gets or sets the debug canvas size
Type declaration
-
height: number
-
width: number
FFT_ SIZESearch playground for FFT_SIZE
Gets or sets the FFT table size
SMOOTHINGSearch playground for SMOOTHING
Gets or sets the smoothing
Methods
connect Audio NodesSearch playground for connectAudioNodes
-
Connects two audio nodes
Parameters
-
inputAudioNode: AudioNode
defines first node to connect
-
outputAudioNode: AudioNode
defines second node to connect
Returns void
-
disposeSearch playground for dispose
-
Releases all associated resources
Returns void
draw Debug CanvasSearch playground for drawDebugCanvas
-
Renders the debug canvas
Returns void
get Byte Frequency DataSearch playground for getByteFrequencyData
-
Gets the current frequency data as a byte array
Returns Uint8Array
a Uint8Array
get Byte Time Domain DataSearch playground for getByteTimeDomainData
-
Gets the current waveform as a byte array
Returns Uint8Array
a Uint8Array
get Float Frequency DataSearch playground for getFloatFrequencyData
-
Gets the current frequency data as a float array
Returns Float32Array
a Float32Array
get Frequency Bin CountSearch playground for getFrequencyBinCount
-
Get the number of data values you will have to play with for the visualization
Returns number
a number
stop Debug CanvasSearch playground for stopDebugCanvas
-
Stops rendering the debug canvas and removes it
Returns void
Class used to work with sound analyzer using fast fourier transform (FFT)
https://doc.babylonjs.com/how_to/playing_sounds_and_music