-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
Description
Follow up on #353, plus few ideas:
- Implement
Dropto dropAudioBufferandVeccleanly in renderers (cf. Otto's comment)-
AudioBufferSourceRenderer::buffer -
ConvolverRenderer::buffer -
WaveshaperRenderer::curve -
BiquadFilter::{x1, x2, y1, y2}-> consider usingArrayVecinstead? -
DelayRenderer::ring_buffer -
DynamicsCompressorRenderer::ring_buffer -
IirFilterRenderer::{norm_coefs, states}-> consider usingArrayVecinstead, we can probably clamp eveything usingMAX_CHANNELSand the max number of coefs (i.e.20) ?
-
- Use
ArrayVecinstead ofVecinAudioParam(this is already a dependency so that's cool, and except forresizethis is mostly a drop in) Perf - useArrayVecinstead ofVecfor internalAudioParambuffer #363 - 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... :)
- Install https://github.com/Windfisch/rust-assert-no-alloc to make sure our render thread is clean