beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
op id:ee321c83-68de-4567-bada-a317e7afca6a
Gets the RMS of an input signal with some averaging applied. It can also get the raw value of the input signal.

summary (oneliner)

The type of the meter, either "level" or "signal". A "level" meter will return the volume level (rms) of the input signal and a "signal" meter will return the signal value of the input.

See also Tone.js Meter Doc.

doc

youtube id

Inputs

Audio In (Object)

The audio signal to meter


Update Value (Function)

Updates the Value port (raw)


Update Decibels (Function)

Updates the Decibels port


Smoothing (Number)

The amount of carryover between the current and last frame


Outputs

Audio Out (Object)

The untouched input signal


Value (Number)

The (raw) signal value, usually in range [-1..1]


Decibels (Number)

The current decibel value, usually in range [-96..0]


Meter Example:

Plays back an audio sample, analyses how loud it is every frame, and maps the loudness as background color.



Credits

  • Uses library: Tone.js (Webaudio Library)
  • Op author: tim

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using Meter

Public Patches using Meter