gcallipo / RadioDSP-Pico

Audio Filter DSP for Shorthwave Receiver. This Is a Digital Signal Processing to compute the audio of a Radio receiver. The project Is based on the Raspberry Pico pi board. The project implements some usefull filters and show how to setup a simple audio dsp realtime processing chain using ADC In and I2S Out.
Creative Commons Zero v1.0 Universal
25 stars 6 forks source link

Make corrections for gains and offset corrections. #6

Closed nezumi-tech closed 1 year ago

nezumi-tech commented 1 year ago

I made some changes on your latest code. At first, I changed the gaining procedure to improve the dynamic range. Second, I deleted unnecessary ADC offset correction. Finally, I applied "Auto Format" of Arduino IDE to whole code. Please review and comment on my changes.

nezumi-tech commented 1 year ago

Note that this changes made the more dynamic range for the system. So, we should adjust the input volume to get comfortable output volume.

gcallipo commented 1 year ago

Yes I understood, I Will check if the 8 gain Is enough to drive the speaker.

Instead for the overrange led I prefer to move to a external led to apply in a box in the future, but at the moment as test can be ok, we can add a comment if someone needs to change It as external indicator.

You remove the dac Bias, I suppose because the I2S can accept the full int16 range. Well, i don't consider this detail. Wll done !

I Will try the new source as soon as possible and give you a feedback as can hear It.

Thanks so much for the support. Vy 73 de Giuseppe, ik8yfw

-- Inviato da Libero Mail