AudioAnalyzer

Mostrar obsoleto
No explorable

AudioAnalyzer takes measurements from audio streams that are wired to it through Wire. It provides a single Input pin but does not produce any output streams.

Resumen

Propiedades

  • Solo lectura
    No replicado
    Leer paralelo

    The loudest volume observed during the last audio buffer.

  • Solo lectura
    No replicado
    Leer paralelo

    The root-mean-square average volume observed during the last audio buffer.

Métodos

Propiedades

PeakLevel

Solo lectura
No replicado
Leer paralelo

The loudest volume observed during the last audio buffer. This property changes often and thus does not fire changed events.

RmsLevel

Solo lectura
No replicado
Leer paralelo

The root-mean-square average volume observed during the last audio buffer. This property is generally more stable than PeakLevel but it may not capture momentary volume spikes.

Métodos

GetConnectedWires

Parámetros

pin: string

Devuelve

GetSpectrum

Returns the frequency spectrum of the last audio buffer, as an array of numbers. The elements of the array are root-mean-square volume levels, evenly spaced from 0 hertz to 24,000 hertz.


Devuelve

Eventos