On Tue, 21 Sep 2010, ronni montoya wrote:

Hi list, i was wondering if theres an abstraccion or object like this in pd: I need a pan object that when is -1 is complete silence and when is +1 is complete silence too. when the value begins to move from -1 to +1 the sound begins to appear in the left speaker then it moves to the right and then the amplitude decreases in the right speaker until it arrives to +1. Is there something like this in pd?

multiply the left  side by 1-x,
multiply the right side by 1+x,
then multiply both sides by (1-x*x)/sqrt(2).

x is your parameter that goes from -1 to +1.

that's just an example : there are many more ways to do it.

 _______________________________________________________________________
| Mathieu Bouchard ------------------------------ Villeray, Montréal, QC
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to