On Mon, Feb 06, 2012 at 02:42:01PM +0100, Frank Barknecht wrote:
> Hi,
> 
> On Mon, Feb 06, 2012 at 02:22:34PM +0100, Pierre Massat wrote:
> > I need a simple equal-power crossfade between two signals. I asked the same
> > question a few years ago, but i just can't remember how to do it...
> 
> This is used in rj's e_pan.pd:
> 
> left = cos(p) * signal
> right = sin(p) * signal
> 
> where p is in radians from 0 to PI/2 (i.e. multiply your 0...1 panning by 
> 1.5708...)

Oh, well, actually you were looking for crossfade, not panning. It's basically
the same idea, though. In the rj library you could use [c_cpxfade]. The
helpfile for this compares it with the linear [c_xfade] which has the "hole in
the middle".

Ciao
-- 
 Frank Barknecht            Do You RjDj.me?          _ ______footils.org__

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to