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

Re: [sc-users] PanB / DecodeB2



I believe PanB wants values between -1 and 1.

Hope that helps,

Josh

******************************************

Joshua D. Parmenter

http://www.realizedsound.net/josh/


"...Some people think a composer's supposed to please them, but in a way a composer is a chronicler... He's supposed to report on what he's seen and lived."

                                                                            -Charles Mingus



On Jan 4, 2006, at 10:43 AM, David Feller Jensenius wrote:

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;
)


_______________________________________________
sc-users mailing list