[Bug 17403] (LinearConvolution): Linear convolution effect is defined by Wikipedia

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17403

Marcus Geelnard (Opera) <mage@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |mage@opera.com
         Resolution|FIXED                       |

--- Comment #3 from Marcus Geelnard (Opera) <mage@opera.com> 2012-06-12 08:43:52 UTC ---
I think this mail-comment from the original issue was overlooked:

"
The new document [1] contains valuable information, but isn't what this  
issue was about. If linear convolution need not be defined, then the issue  
should be closed as invalid.

Not everyone reading the spec will have a background in signal processing,  
e.g. we want our QA to be able to write tests with little effort. We  
suggest to define the output y in terms of the input x and the [possibly
normalized] impulse  
response g as a summation formula or pseudo-code such as:

y[n] = 0
for i in 0...N-1:
   y[n] += x[n-i] * g[i]

This leaves no room for ambiguity about the phase of the output signal.

ISSUE-70 will need to be resolved for the above formula to make sense,  
though, as the input and impulse response may have different numbers of  
channels.

[1] https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/convolution.html
"

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 12 June 2012 08:45:28 UTC