|
Yes I agree with Batuhan, here are two possible variations that work well...
SynthDef("FreeVerb", { arg out, mix = 0.33, room = 0.5, damp = 0.5, mul = 1, add = 0 ; var in; in = SoundIn.ar([0,0]); Out.ar(out, FreeVerb.ar(in,mix,room,damp,mul,add)) }).send(s)
x = Synth(\FreeVerb)
SynthDef("FreeVerb", { arg out, in= 0, mix = 0.33, room = 0.5, damp = 0.5, mul = 1, add = 0 ; var audio; audio = SoundIn.ar([in,in+1]); Out.ar(out, FreeVerb.ar(audio,mix,room,damp,mul,add)) }).send(s)
x = Synth(\FreeVerb)
Might work best with In.ar for use on a Bus for input from other processes...
Best wishes, René
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)
|