[Webkit-unassigned] [Bug 83558] Add Doppler effect support for MediaElementAudioSourceNode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 18 10:35:18 PDT 2012


--- Comment #5 from Chris Rogers <crogers at google.com>  2012-04-18 10:35:18 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > Is this requirement in the spec?
> > 
> > It isn't in the spec, and I wasn't anticipating this as even a possibility.  I would suggest we avoid this because it could significantly complicate integration with HTMLMediaElement.  I also don't think it's likely to be needed very often.
> Hi Chris,
> I`m a little confused that AudioBufferSourceNode supports the doppler effect but HTMLMediaElement not.
> They are both audio sources, why different?

Yes, this is a good point.  But it is difficult to implement the pitch shift using this technique as in this patch.

> Does that mean HTMLMediaElementNode + Panner(with doppler) is rare case and it`s meaningless to support it?

I think it will be a much rarer case than AudioBufferSourceNode.  I wouldn't say it's meaningless in an ideal world, but it is just extremely fragile to try to pitch shift with resampler changes in this way because of the way the HTMLMediaElements are implemented in browsers.

> Also it seems that they are not specified in spec. 

True, I should be clear about it.

> And how about new-added Oscillator? It should be another kind of source node, right?

I think the Oscillator can support the pitch shift very similar to AudioBufferSourceNode.  I'll try to be clear in the spec...

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