On Tue, Sep 24, 2019 at 08:38:19PM +0200, Johannes Lorenz wrote:
> For example, in zynaddsubfx, we count the ascending zero crossings and
> calculate the fade-in length upon it [1]. Then, an S-curve of that length is
> multiplied with the signal. Counting zero crossings prevents clicking on
> lower notes, and it makes higher notes more punchy. That algorithm works
> very well for a buffersize of 256 samples (at 44100 samples/s), but it fails
> at 32 samples (since the zero crossings of 32 samples are often not
> representive).
That could be a good method, but why should this (or anything a synth
does) depend on period size ? Implementation may be a bit simpler if
it does, but that's poor excuse (IMHO :-)...
Ciao,
-- FA _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org https://lists.linuxaudio.org/listinfo/linux-audio-devReceived on Wed Jan 1 02:16:10 2020
This archive was generated by hypermail 2.1.8 : Wed Jan 01 2020 - 02:16:10 EET