ESP32_Bluetooth_Audio_Receiver icon indicating copy to clipboard operation
ESP32_Bluetooth_Audio_Receiver copied to clipboard

Set Maximum loudness.

Open tomudo opened this issue 4 years ago • 1 comments

Is it possible to increase maximum loudness? Project work well but it produces very low volume despite increase host volume to max.

tomudo avatar Jul 06 '21 17:07 tomudo

I added multiplier in bt_app_core.c . The loudness is increase as intention.

for (int i=0; i<item_size/2; i++) { int32_t temp = (int32_t)(*pcmdata); temp = temp * s_volume * 4; // add multiplier here temp = temp/512; //*pcmdata = ((*pcmdata)*s_volume)/127; *pcmdata = (int16_t)temp; pcmdata++; }

tomudo avatar Jul 07 '21 11:07 tomudo