diff --git a/NodeDictionary/makeBufferProcessingNdef.sc b/NodeDictionary/makeBufferProcessingNdef.sc index 9cc45d6..5ebbf67 100644 --- a/NodeDictionary/makeBufferProcessingNdef.sc +++ b/NodeDictionary/makeBufferProcessingNdef.sc @@ -5,15 +5,17 @@ var internalName = if(name.isNil, {this[\name]}, {name}); Ndef(internalName, { - var signal, gate; + var signal, dry, gate; gate = \gate.tr(0); + dry = In.ar(\in.kr(0), this[\inChannels] ? 1); signal = SynthDef.wrap( func: this[\func], ); - + signal = LinXFade2.ar(dry, signal, \drywet.kr(1)); + this.processSig(signal, gate); }); } -} \ No newline at end of file +} diff --git a/NodeDictionary/makeBufferProcessingSynthDef.sc b/NodeDictionary/makeBufferProcessingSynthDef.sc index 753b847..5350e21 100644 --- a/NodeDictionary/makeBufferProcessingSynthDef.sc +++ b/NodeDictionary/makeBufferProcessingSynthDef.sc @@ -1,18 +1,21 @@ + NodeDictionary { makeBufferProcessingSynthDef { SynthDef(this[\name], { - var signal, gate; + var signal, dry, gate; gate = \gate.tr(0); + dry = In.ar(\in.kr(0), this[\inChannels] ? 1); signal = SynthDef.wrap( func: this[\func], ); + signal = LinXFade2.ar(dry, signal, \drywet.kr(1)); + Out.ar( \out.kr(0), this.processSig(signal, gate); ); }); } -} \ No newline at end of file +}