Does the Delay Effect work? #1706
-
Hi, I have been trying to add an output voice audio delay of approximately 1 second using a i2s microphone and a i2s amp but for the life of me I can't get the Delay Effect to work. I have searched everywhere and feel like I've tried everything. How should I be implementing the Effect? `#include "AudioTools.h" AudioInfo info(44100, 2, 16); uint16_t duration_ms=1000; Delay dlay(duration_ms, depth, feedbackAmount, sampleRate); AudioEffectStream effects(dlay); // Arduino Setup // start I2S in in.begin(config_in); // start I2S out config_out.pin_mck = 3; // must be 0,1 or 3 - only for ESP_IDF_VERSION_MAJOR >= 4 out.begin(config_out); effects.addEffect(dlay); Serial.println("I2S started..."); // Arduino loop - copy sound to out |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is a Wiki! |
Beta Was this translation helpful? Give feedback.
There is a Wiki!