4 ms·
> Problem is only Chrome allows tuning FFT precision now. This is plain wrong. Source: I maintain the Web Audio API in Firefox.
by padenot 9y ago
> Problem is only Chrome allows tuning FFT precision now.
This is plain wrong.
Source: I maintain the Web Audio API in Firefox.
- makaronich 9y agoSorry, my bad. I meant you can't set FFTSIZE higher than 2048 and we need at least 8192 to identify notes correctly (at least in Safari). Does Firefox allow higher FFTSIZE than the default?
- padenot 9y agoYes, up to 32768, per spec [0]. It's just that Safari does not implement this part of the spec, which has changed in early 2015 to allow for longer FFTs [1]. [0]: https://webaudio.github.io/web-audio-api/#dom-analysernode-fftsize https://webaudio.github.io/web-audio-api/#dom-analysernode-f... [1]: https://github.com/WebAudio/web-audio-api/issues/375 https://github.com/WebAudio/web-audio-api/issues/375