← Back to release summary

WebAudio: AudioParams include min/max attributes to specify the nominal range

Category
Multimedia
Type
New or changed feature
Status
Enabled by default (Chrome 52)
Intent stage
None

Summary

All AudioParams have a readonly min and max attribute to specify the minimum and maximum value the AudioParam can have. The value is clamped to lie in this range. This allows easy introspection for the developer to determine the valid ranges for a parameter.

Standards & signals

Docs: http://webaudio.github.io/web-audio-api/#attributes-5 https://developer.mozilla.org/en-US/docs/Web/API/AudioParam

View on chromestatus.com