WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
63005
AudioContext noteGrainOn() method should not apply explicit windowing
https://bugs.webkit.org/show_bug.cgi?id=63005
Summary
AudioContext noteGrainOn() method should not apply explicit windowing
Chris Rogers
Reported
2011-06-20 12:17:36 PDT
AudioContext noteGrainOn() method should not apply explicit windowing
Attachments
Patch
(3.53 KB, patch)
2011-06-20 12:19 PDT
,
Chris Rogers
kbr
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Rogers
Comment 1
2011-06-20 12:19:16 PDT
Created
attachment 97838
[details]
Patch
Chris Rogers
Comment 2
2011-06-20 12:28:06 PDT
The noteGrainOn() method currently applies a hard-coded amplitude envelope (window) to the portion of sound played. The specification and use cases require that the portion should be played back as is with no further processing. If an amplitude envelope is desired, then scheduled AudioParam changes on an AudioGainNode may be used.
Kenneth Russell
Comment 3
2011-06-21 14:26:45 PDT
Comment on
attachment 97838
[details]
Patch Was this just a temporary stopgap for demos? Anyway, its removal looks fine.
Chris Rogers
Comment 4
2011-06-21 14:29:22 PDT
The old implementation of hard-coded grain window was before the ability existed to apply high-resolution envelopes in an AudioGainNode. So yes, in a way, it was a stop-gap solution.
Chris Rogers
Comment 5
2011-06-22 13:18:10 PDT
Committed
r89471
: <
http://trac.webkit.org/changeset/89471
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug