You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement Drop to drop AudioBuffer and Vec cleanly in renderers (cf. Otto's comment)
AudioBufferSourceRenderer::buffer
ConvolverRenderer::buffer
WaveshaperRenderer::curve
BiquadFilter::{x1, x2, y1, y2} -> consider using ArrayVec instead?
DelayRenderer::ring_buffer
DynamicsCompressorRenderer::ring_buffer
IirFilterRenderer::{norm_coefs, states} -> consider using ArrayVec instead, we can probably clamp eveything using MAX_CHANNELS and the max number of coefs (i.e. 20) ?
Implement optimizations proposed there, especially the second one as most of the time params are not modulating (or are not modulated by) an incoming signal (ok, this one is a bit out of context... :)
Follow up on #353, plus few ideas:
Dropto dropAudioBufferandVeccleanly in renderers (cf. Otto's comment)AudioBufferSourceRenderer::bufferConvolverRenderer::bufferWaveshaperRenderer::curveBiquadFilter::{x1, x2, y1, y2}-> consider usingArrayVecinstead?DelayRenderer::ring_bufferDynamicsCompressorRenderer::ring_bufferIirFilterRenderer::{norm_coefs, states}-> consider usingArrayVecinstead, we can probably clamp eveything usingMAX_CHANNELSand the max number of coefs (i.e.20) ?ArrayVecinstead ofVecinAudioParam(this is already a dependency so that's cool, and except forresizethis is mostly a drop in) Perf - useArrayVecinstead ofVecfor internalAudioParambuffer #363