From 401244a4e055bf8fac9200b6e24762176307b42d Mon Sep 17 00:00:00 2001 From: TMRh20 Date: Sun, 17 Dec 2023 09:44:22 -0600 Subject: [PATCH] Increase default gain to 10dB --- src/NRF52840/AutoAnalogAudio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NRF52840/AutoAnalogAudio.cpp b/src/NRF52840/AutoAnalogAudio.cpp index 200688c..c5dc7c7 100644 --- a/src/NRF52840/AutoAnalogAudio.cpp +++ b/src/NRF52840/AutoAnalogAudio.cpp @@ -27,7 +27,7 @@ #if !defined ARDUINO_NRF52840_FEATHER #define PDM_IRQ_PRIORITY 7 #define NRF_PDM_FREQ_1280K (nrf_pdm_freq_t)(0x0A000000UL) ///< PDM_CLK= 1.280 MHz (32 MHz / 25) => Fs= 20000 Hz - #define DEFAULT_PDM_GAIN 20 + #define DEFAULT_PDM_GAIN 40 #endif #define PIN_MCK 12//(13) #define PIN_SCK 13//(14)