AudioAnalyser

THREE.AudioAnalyser
class AudioAnalyser(audio: Audio, fftSize: UndefOr[Int]) extends Object

Create a frequency analyser for audio sources. This uses the Web Audio API's AnalyserNode to provide frequency and time domain data for visualization.

Attributes

Graph
Supertypes
class Object
trait Any
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def getAverageFrequency(): Double

Get the average frequency for this analyser.

Get the average frequency for this analyser.

Attributes

def getData(file: Any): Any

Get the data array for this analyser.

Get the data array for this analyser.

Attributes

def getFrequencyData(): Uint8Array

Get the frequency data for this analyser.

Get the frequency data for this analyser.

Attributes

Inherited methods

def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object

Concrete fields

var analyser: Any

The analyser node for this analyser.

The analyser node for this analyser.

Attributes

var analyserFftSize: Int

The FFT size for this analyser.

The FFT size for this analyser.

Attributes

var data: Uint8Array

The data array for frequency data.

The data array for frequency data.

Attributes