From 4a399ff43ded949f2c7699fac158426aed9bc65e Mon Sep 17 00:00:00 2001 From: mwinter Date: Mon, 30 Oct 2023 15:32:24 +0100 Subject: [PATCH] tweaking ammann synth back to long attack --- live_utilities/supercollider/live_utilities.scd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/live_utilities/supercollider/live_utilities.scd b/live_utilities/supercollider/live_utilities.scd index 6298d98..05ebce7 100644 --- a/live_utilities/supercollider/live_utilities.scd +++ b/live_utilities/supercollider/live_utilities.scd @@ -71,8 +71,8 @@ s.waitForBoot({ b = 6.collect({var buf = Buffer.alloc(s, 512, 1); buf.sine1(1.0 / 5.collect({arg i; pow(i + 1, 5.0.rand + 1)}), true, true, true)}); SynthDef(\ammann, {arg freq, amp, del = 5, gate = 1, sustain = 1, buf = 0, out = 0; - //Out.ar(out, Osc.ar(Select.kr(buf, b), freq, 0, amp) * EnvGen.kr(Env.adsr(3, sustain - 4, 1, 1), gate, 1, 0, 1, doneAction: 2)); - Out.ar(out, Osc.ar(Select.kr(buf, b), freq, 0, amp) *EnvGen.kr(Env.adsr(0.25, sustain, 0.85, 0.2), gate, 1, 0, 1, doneAction: 2)); + Out.ar(out, Osc.ar(Select.kr(buf, b), freq, 0, amp) * EnvGen.kr(Env.adsr(3, sustain - 4, 1, 1), gate, 1, 0, 1, doneAction: 2)); + //Out.ar(out, Osc.ar(Select.kr(buf, b), freq, 0, amp) * EnvGen.kr(Env.adsr(0.25, sustain, 0.85, 0.2), gate, 1, 0, 1, doneAction: 2)); }).add; };