This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

maxDecibels

Summary

The maximum power value in the scaling range for the FFT analysis data for conversion to unsigned byte values.

Property of apis/webaudio/AnalyserNodeapis/webaudio/AnalyserNode

Syntax

var result = AnalyserNode.maxDecibels;
AnalyserNode.maxDecibels = value;

Return Value

Returns an object of type NumberNumber

Examples

var audioCtx = new AudioContext();
var analyser = audioCtx.createAnalyser();
analyser.maxDecibels = -10;

Related specifications

Web Audio API
W3C Editor’s Draft