supercollider / supercollider

An audio server, programming language, and IDE for sound synthesis and algorithmic composition.
http://supercollider.github.io
GNU General Public License v3.0
5.42k stars 744 forks source link

DelayN bug with audio rate delaytime of zero #2321

Open Sciss opened 8 years ago

Sciss commented 8 years ago

Compare:

{
    var condAcc    = Phasor.ar(start: 2, end: 8);
    var condAccT = DelayN.ar(condAcc, 1, 0);
    condAccT
}.plot(duration: 0.0005, discrete: true)

{
    var condAcc    = Phasor.ar(start: 2, end: 8);
    var condAccT = DelayN.ar(condAcc, 1, DC.ar(0));
    condAccT
}.plot(duration: 0.0005, discrete: true)

The first example correctly outputs the input signal without delay. The second example incorrectly delays by one sample frame.

telephon commented 6 years ago

still reproducible.