Comment Comment by hxii The audio was sourced from pixabay, and is not looped.The start and end points have gain faded in a curve, to avoid any clicking especially since the audio samples are not seamless.Previously a second buffer was used for crossfading, but it doubles the memory consumption with very little benefit.I was toying with the idea of synthesizing audio from smaller samples directly, but that's an idea for the future :) parent hxii 1 month ago
The start and end points have gain faded in a curve, to avoid any clicking especially since the audio samples are not seamless.
Previously a second buffer was used for crossfading, but it doubles the memory consumption with very little benefit.
I was toying with the idea of synthesizing audio from smaller samples directly, but that's an idea for the future :)