Csound Csound-dev Csound-tekno Search About

panning ?

Date1998-06-24 20:30
FromDavid Schuyeteneer
Subjectpanning ?
Sorry to bother you people with a rather silly question,
but I see that stereo panning is usually done like this :

  outs a1*kpan,a2*(-kpan)

were kpan is some slow sine oscili usually...

Thus inverting left and right.....My question is :

 when i do that, It doesn't work !!   


Could someone please post an idea for stereopanning ????



David.

Date1998-06-24 23:33
From"Daniel W. Hosken"
SubjectRe: panning ?
At 9:30 PM +0200 6/24/98, David Schuyeteneer wrote:
>
>Could someone please post an idea for stereopanning ????

Here's my panning method of choice. Put this function table in your score:

f3   0    8193   9   .25    1   0 ; quarter sine wave for panning function

This uses gen 9 to create a quarter sine wave (the .25 for the partial
number) with a strength of 1 and phase offset of 0. This is a decent
approximation for equal power panning. Then have this in your score:

a1, a2, a3, a4   pan   asig, kpan, 1, 3, 1

This takes input signal (asig), a left-right position or trajectory (kpan
between 0 and 1), a front-back position (here just 1 for always front
because I'm only doing stereo), a function table number (here 3), and a
mode (here 1 for position data normalized between 0 and 1). Use a1 and a2
for left and right and disregard the other outs.

Hope this was what you were looking for!

--Dan Hosken




Date1998-06-24 23:48
FromQATJD
SubjectRe: panning ?
	Just happen to be doing the same thing myself. I tried using the pan
opcode, but it's a pain to use. Then Richard Karpen referred me to his new
opcodes locsig, space, and their counterparts. They're great. They use
simple angular location and distance. 
	BUT they aren't in the docs yet. See the release notes for the usage
instructions.

	
At 09:30 PM 6/24/98 +0200, David Schuyeteneer wrote:
>Sorry to bother you people with a rather silly question,
>but I see that stereo panning is usually done like this :
>
>  outs a1*kpan,a2*(-kpan)
>
>were kpan is some slow sine oscili usually...
>
>Thus inverting left and right.....My question is :
>
> when i do that, It doesn't work !!   
>
>
>Could someone please post an idea for stereopanning ????
>
>
>
>David.
>
>
>

	thank you for your bandwidth