Experiments have shown that for the basic oscillator types, using 4096 coefficients produces exactly the same results as using 2048.
The spec, however, says we need to support 8192. That's a pretty big increase in size.
As an optimization, it might be possible to adjust the table sizes of the PeriodicWave. For all PeriodicWave sizes, set the minimum size to be 2048. When creating a PeriodicWave, find the index of the last non-zero value and set the wave size to the next power of two.
For the basic oscillator sizes, we can, perhaps, just use 2048 instead of the 4096 coefficients we used today. This would make the table half as large, which would be a big help on Android.
Comment 1 by sheriffbot@chromium.org
, Oct 15Status: Untriaged (was: Available)