[Webkit-unassigned] [Bug 105625] WaveShaperNode not functioning properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 21 10:39:44 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=105625





--- Comment #1 from Chris Rogers <crogers at google.com>  2012-12-21 10:41:58 PST ---
(In reply to comment #0)
> WaveShaperNode has setCurve functionality to set the user defined curve.
> But as per W3C the curve should get arrange between values -1 to 1, with 0 being as centre.
> 
> Here below is the example:
>                 var value = new Float32Array(3);
>                 value[0] = 0.1;
>                 value[1] = 0.23;
>                 value[2] = -1;
>                 value[3] = 0;
> Use setCurve to set this curve to node. Then after processing WaveShaper node; expected output is
>                 value[0] = -1;
>                 value[1] = 0;
>                 value[2] = 0.1;
>                 value[3] = 0.23;
> 
> The following more on this, WaveShaperNode.h has process method which should eventually call WaveShaperProcessor::process() to perform the expected functionality. But the WaveShaperProcessor::process() function is not getting called.

I'm not sure I understand your test here.  Are you expecting the "value" ArrayBuffer to somehow be modified?  That's not what is supposed to happen.

Have you looked at the layout test?
https://svn.webkit.org/repository/webkit/trunk/LayoutTests/webaudio/waveshaper.html

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list