Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Convolution2L bug #723

Open
modularbrains opened this Issue · 0 comments

1 participant

modularbrains
modularbrains

I am pretty certain that Convolution2L has a bug in it, at least judging from the results it gives me, and from a comparison to Convolution2.

If you listen to the example below, which convolves noise with a Low-Pass filter kernel, you will here some glitches (clicks) on the 2L that do not exist in Convolution2, and which make the UGen unusable.
I'm on osx, running 3.6.2, but I remember this kind of problem from 3.4.

// load the kernel - and use the file that can be downloaded from here: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/Convolution2L-bug-td7593409.html (you'll need to set the path, of course)

b = Buffer.read(s, " ")
b.plot;

// synth to listen to both UGens
(
x = {|kernel, xfade = 1, switch = 0|
var trig, sig, conv;
trig = Impulse.kr(1);
sig = WhiteNoise.ar;
conv = Select.ar(switch,
[Convolution2.ar(sig, kernel, trig, 1024),
Convolution2L.ar(sig, kernel, trig, 1024, xfade)]
);
}.play(s, [\kernel, b])
)

x.set(\switch, 1); // glitches (Convolution2L)
x.set(\switch, 0); // glitch-free (Convolution2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.