*super late 3-year bump* I'm debugging this system at last, and I'm starting from the audio preconditioning hardware. This should DC block and add a DC bias of about 2.5V. My Arduino reads the output as a constant 1023/1023 == 5V. Hooking the audio output directly to the Arduino gives me a value fluctuating from 0/1023 to 100/1023. I've also checked that I definitely have 5.0V from ground to the 5V supply rail and that the audio input's common is connected to the Arduino's ground. Does anyone see any obvious mistake that I've made?
Edit: Turns out that AREF != VCC on the Arduino board, which I was not expecting at all. Now it idles at ~511, and audio makes the values swing towards the extremes of 0 and 1023. Debugging continues.
Edit #2: Debugged throughout the post-FFT postprocessing that generates (eventually) seven amplitude levels from the FFT output, as well as an estimation of beat based on low-frequency amplitude. As you can see from the below video, I need to switch from a linear to a logarithmic scale for discretizing the moving average of the amplitudes.
Edit: Turns out that AREF != VCC on the Arduino board, which I was not expecting at all. Now it idles at ~511, and audio makes the values swing towards the extremes of 0 and 1023. Debugging continues.
Edit #2: Debugged throughout the post-FFT postprocessing that generates (eventually) seven amplitude levels from the FFT output, as well as an estimation of beat based on low-frequency amplitude. As you can see from the below video, I need to switch from a linear to a logarithmic scale for discretizing the moving average of the amplitudes.