Electronic Music mailing list archives

Previous Message: Re: Flash + scsynth
Next Message: Load env to buffer

From: lefty ()
Date: May 16, 2008
Subject: Pfx not working?
hi, im trying to use Pfx to add individual 
effects to differnt pdefs, but its
seems not working, the fx takes over 
the complete audiostream of other synths,too.
any explanation why it doesnt work would be very helpful.
thx


Pdef(\i1, Pbind( 
 
        \dur, Prand([1/3, 2/3, 4/3, 2/3 , 1/3, 1/3, 1/3, 3]*0.5, inf),
	\amp,1.4,
        \octave, 0,
	\scale, #[0,2,3,5,7] , \degree, x, 

	\instrument,\bass

)); 

~bsgroup = Pgroup(i1);
Pdef(\i, Pbus(Pfx(Pdef(~bsgroup), \distort));


SynthDef(\distort, { arg out=0, pregain=40, amp=0.2, gate=1; 
var env; 
env = Linen.kr(gate, 0.05, 1, 0.1, 2); 
XOut.ar(out, env, (In.ar(out, 2) * pregain).distort * amp); 
}, [\ir, 0.1, 0.1, 0]).store;

_______________________________________________
sc-users mailing list [EMAIL REMOVED] http://lists.create.ucsb.edu/mailman/listinfo/sc-users

+ Pfx not working? lefty (05/16/08)
+---Re: Pfx not working? Stefan Nussbaumer (05/16/08)
+---Re: Pfx not working? James Harkins (05/16/08)
+---Re: Pfx not working? lefty (05/16/08)
+---Re: Pfx not working? lefty (05/16/08)

Previous Message: Re: Flash + scsynth
Next Message: Load env to buffer