From d0c866716194c6641cb0695051b7d2f965876f40 Mon Sep 17 00:00:00 2001 From: lambda Date: Sat, 19 Sep 2026 23:07:01 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20drywet=20=D1=81=D0=B8=D0=B3=D0=BD=D0=B0=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NodeDictionary/makeBufferProcessingNdef.sc | 8 +++++--- NodeDictionary/makeBufferProcessingSynthDef.sc | 7 +++++-- 2 files changed, 10 insertions(+), 5 deletions(-) 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 +}