New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify exponential ramp behavior when previous value is 0 #624
Specify exponential ramp behavior when previous value is 0 #624
Conversation
Clarify what happens if the previous event value is 0. We also explicitly allow v0 and v1 to both be negative (the formula is well-defined in this case). If an error is thrown, the previous value is propagated. Fixes WebAudio#612.
time. A NotSupportedError exception MUST be thrown if this | ||
value is less than or equal to 0, or if the value at the time | ||
of the previous event is less than or equal to 0. | ||
time. A NotSupportedError exception MUST be thrown if any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<code>
around the exception name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. Are we going to do that everywhere else in the document? We don't do that anywhere right now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think I have a patch that does it lying around in a branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although I did this in this patch, couldn't we do this the same way that "MUST" is magically highlighted (by respec)?
Specify exponential ramp behavior when previous value is 0
…nd V1 have opposite signs or V0 is zero r=padenot WebAudio/web-audio-api#624 Depends on D189101 Differential Revision: https://phabricator.services.mozilla.com/D189204
…pposite signs or V0 is zero WebAudio/web-audio-api#624 Depends on D189101 Differential Revision: https://phabricator.services.mozilla.com/D189204 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1458045 gecko-commit: 52f0910d6e377784c88b639c006d8790b027cee4 gecko-reviewers: padenot
…pposite signs or V0 is zero WebAudio/web-audio-api#624 Depends on D189101 Differential Revision: https://phabricator.services.mozilla.com/D189204 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1458045 gecko-commit: 52f0910d6e377784c88b639c006d8790b027cee4 gecko-reviewers: padenot
…nd V1 have opposite signs or V0 is zero r=padenot WebAudio/web-audio-api#624 Depends on D189101 Differential Revision: https://phabricator.services.mozilla.com/D189204 UltraBlame original commit: 52f0910d6e377784c88b639c006d8790b027cee4
…nd V1 have opposite signs or V0 is zero r=padenot WebAudio/web-audio-api#624 Depends on D189101 Differential Revision: https://phabricator.services.mozilla.com/D189204 UltraBlame original commit: 52f0910d6e377784c88b639c006d8790b027cee4
…nd V1 have opposite signs or V0 is zero r=padenot WebAudio/web-audio-api#624 Depends on D189101 Differential Revision: https://phabricator.services.mozilla.com/D189204
…nd V1 have opposite signs or V0 is zero r=padenot WebAudio/web-audio-api#624 Depends on D189101 Differential Revision: https://phabricator.services.mozilla.com/D189204 UltraBlame original commit: 52f0910d6e377784c88b639c006d8790b027cee4
…pposite signs or V0 is zero WebAudio/web-audio-api#624 Depends on D189101 Differential Revision: https://phabricator.services.mozilla.com/D189204 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1458045 gecko-commit: 52f0910d6e377784c88b639c006d8790b027cee4 gecko-reviewers: padenot
Clarify what happens if the previous event value is 0. We also
explicitly allow v0 and v1 to both be negative (the formula is
well-defined in this case).
If an error is thrown, the previous value is propagated.
Fixes #612.