New issue
Advanced search Search tips

Issue 604826 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: May 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocked on:
issue 594594
issue 607699



Sign in to add a comment

Add warning if AudioParam limits are exceeded

Project Member Reported by rtoy@chromium.org, Apr 19 2016

Issue description

In the current WebAudioAPI spec, nominal ranges are given for each possible AudioParam such that if the AudioParam is set to a value outside the range, the value is clipped to one of the end points.

This is a bit annoying if you accidentally set the value outside the range because there's no indication that you did something wrong.

The spec doesn't say errors should be thrown, but it would certainly be useful if a warning is printed if an attempt is made to set the value outside the nominal range.  This only applies to the AudioParam setter.  The automation methods (and the compound parameters) can't do this because the values are all happening in the audio thread.

 

Comment 1 by rtoy@chromium.org, Apr 27 2016

Blockedon: 594594

Comment 2 by rtoy@chromium.org, Apr 28 2016

Blockedon: 607699

Comment 3 by rtoy@chromium.org, May 18 2016

Status: Fixed (was: Available)
This was actually implemented in  issue 594594 .

Closing as fixed.

Sign in to add a comment