Updated delay with VOX code. General tidy up and automatic calculation of optimum memory use and sample rate. Also set up with tabs for readability and more comments. Some small non-fatal bug fixes.
application/x-zip-compressed -
10.23 kB -
09/10/2021 at 05:54
Test of the repeater. Note you can see the signal strength meter on the receiver on the left show the incoming transmission. The transmitter on the right shows it transmitting the start beep almost immediately (which we are hearing through a separate CB receiver off camera) and then we hear the delayed transmitted audio about a second later. If you look closely, you can see the LED on the ESP32 light up as well.
Buffer and low pass filter for use on both input (anti-aliasing) and output (step smoothing) of the ESP32 based delay. Assumes a minimum 20000/sec sampling rate.
Final 2kHz sine wave output after post filtering with a 9.6kHz low pass filter. Note that the original input line level has been preserved. It looks good!
Audio sample. You are hearing the original voice audio, then the result after going through the repeater system. Recorded using a phone sound recorder! Quite intelligible, under the circumstances!