| the original SynthDef needs to know that 'in' is \ar:
SynthDef(\pulser, {arg out, in ; Out.ar(out, in * Pulse.ar(3)) }, [\kr, \ar]).send(s)
Best,
Josh On Jul 27, 2009, at 2:08 PM, Andrea Valle wrote: Yes, but I want to pass the arg after. Why not?
e.g.
SynthDef(\pulser, {arg out, in ; Out.ar(out, in * Pulse.ar(3)) }).send(s)
x = Synth(\pulser)
b = Bus.audio ;
{Out.ar(b, Pulse.ar(4)) }.play ;
x.map(\in, b)
-a- On Jul 27, 2009, at 11:01 PM, Batuhan Bozkurt wrote: Your "in" argument is nil, you are reading input from nothing, its just a nil argument, thus you are bumping into a glitch, I think.
On Jul 27, 2009, at 11:56 PM, Andrea Valle wrote: Hi to all,
While creating a rev synth for fx bank I'm having this
SynthDef("FreeVerb", { arg out, in, mix = 0.33, room = 0.5, damp = 0.5, mul = 1, add = 0 ; Out.ar(out, FreeVerb.ar(in,mix,room,damp,mul,add)) }).send(s)
x = Synth(\FreeVerb)
Am I missing something?
Thanks
Best
-a-
-------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università degli Studi di Torino -------------------------------------------------- " This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a lotta what-have-yous." (Jeffrey 'The Dude' Lebowski)
-------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università degli Studi di Torino -------------------------------------------------- " This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a lotta what-have-yous." (Jeffrey 'The Dude' Lebowski)
****************************************** /* Joshua D. Parmenter http://www.realizedsound.net/josh/
“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono */ |