[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] PanB / DecodeB2



I seem to be having a little bit of trouble playing around with the ambisonic stuff in supercollider.  

I'm trying for a basic test to get a sound to move around in a circle once, but what happens is it's going around several times.
I'm converting degrees to radian for this test...  what am I doing wrong?


(
{
var w, x, y, z, p, a, b, c, d;


p = PinkNoise.ar; // source


// B-format encode
#w, x, y, z = PanB.ar(p, ((Line.kr(1,360,10)/180)*pi)-pi, ((0.1/180*pi))); 


// B-format decode to quad
DecodeB2.ar(4, w, x, y, 0.5);
}.play;
)