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 [email protected] https://lists.linuxaudio.org/listinfo/linux-audio-dev
