Struct thl::dsp::sampler::LoopFadePlan#
-
struct LoopFadePlan#
Where a loop wrap fades, in source frames.
A loop fade blends the head into a copy reading the other side of the jump, so the jump itself is silent:
m_pre: over the last frames before End, the copy reads the audio just before Loop and fades in; at End the head is already reading what follows Loop (a hardware sampler’s loop crossfade).m_post: after the wrap, the head starts at Loop under a copy that carries on past End and fades out (when there is no room before Loop).
At most one is non-zero; both zero means no room to fade.