|
JPL Spatial
Sound spatialization and propagation library
|
#include <JPLSpatial/Auralization/DelayLine.h>
Public Types | |
| using | InterpolatorType = DelayTapXFade |
Public Member Functions | |
| void | SetCrossfade (float alpha) |
| void | SetDelay (float delay) |
| template<class DelayLine > requires (DelayLine::WindowSize >= InputLength) | |
| float | Process (const DelayLine &delayLine) |
| Process delay crossfade and get the delayed sample. | |
Static Public Attributes | |
| static constexpr uint32_t | InputLength = 1 |
Delay Tap crossfading from previous to target sample position using simple cosine crossfade
Process delay crossfade and get the delayed sample.
Set crossfade fraction
| alpha | : must be in (0, 1) |
Set target delay is in samples, the old delay tap time is crossfaded with the new time
For now we use discrete values,