From 4b7e51c10075720e73916a57ae67fc2764214cec Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Sun, 29 Jan 2023 10:30:27 +0100 Subject: [PATCH] Fixes for example script of effect_reverb_ext8. --- .../examples/AudioDelay8M/AudioDelay8M.ino | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/third-party/effect_delay_ext8/examples/AudioDelay8M/AudioDelay8M.ino b/third-party/effect_delay_ext8/examples/AudioDelay8M/AudioDelay8M.ino index b650432..cd2d432 100644 --- a/third-party/effect_delay_ext8/examples/AudioDelay8M/AudioDelay8M.ino +++ b/third-party/effect_delay_ext8/examples/AudioDelay8M/AudioDelay8M.ino @@ -43,14 +43,8 @@ void setup() { } void loop() { - static bool on_off; - - if(on_off) - amp1.gain(0.0); - else - amp1.gain(1.0); - - on_off=!on_off; - - delay(1000); + amp1.gain(1.0); + delay(200); + amp1.gain(0.0); + delay(2000); }