This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Audio-ISSUE-92 (AudioBufferSourceNodeResampling): AudioBufferSourceNode resampling [Web Audio API] http://www.w3.org/2011/audio/track/issues/92 Raised by: Philip Jägenstedt On product: Web Audio API AudioBufferSourceNode has a playbackRate attribute which will require interpolation/resampling of some kind. However, it is not defined how to resample. Possibly it should be as close as possible to an ideal resampling, in which case that should be stated. Alternatively, it could be possible to specify which kind of resampling to perform via an attribute: nearest, linear, cubic, sinc, etc... It also needs to be defined what should be done about folding when the net result of the sample rates and playback rate is a downsampling, if anything.
(In reply to comment #0) > Audio-ISSUE-92 (AudioBufferSourceNodeResampling): AudioBufferSourceNode > resampling [Web Audio API] > > http://www.w3.org/2011/audio/track/issues/92 > > Raised by: Philip Jägenstedt > On product: Web Audio API > > AudioBufferSourceNode has a playbackRate attribute which will require > interpolation/resampling of some kind. However, it is not defined how to > resample. Possibly it should be as close as possible to an ideal resampling, > in which case that should be stated. Alternatively, it could be possible to > specify which kind of resampling to perform via an attribute: nearest, > linear, cubic, sinc, etc... > > It also needs to be defined what should be done about folding when the net > result of the sample rates and playback rate is a downsampling, if anything. I agree that a .resamplingType attribute could be defined, but holding off on that for now, since it's something which can later be added. In the mean-time, I think we should specify that the default is "linear". Does that seem ok?
Yeah, that sounds OK.
Web Audio API issues have been migrated to Github. See https://github.com/WebAudio/web-audio-api/issues
Closing. See https://github.com/WebAudio/web-audio-api/issues for up to date list of issues for the Web Audio API.