Page 1 of 1

Volume control when sending output to the internal DAC

Posted: Wed Jul 24, 2019 4:57 am
by gibson12345
Hello,

I noticed with the examples for playing mp3 files there are ways to control volume when sending the i2s stream to an external codex chip but theres not reference or way to change volume if you're outputting to the internal DAC. I have tried to dive into the API docs a bit but there seems to be a lot missing and I can't determine how to get direct access to the stream of bits to perform manual division for volume change. If someone could please advise

Cheers,
Gibson

Re: Volume control when sending output to the internal DAC

Posted: Thu Jul 25, 2019 3:32 am
by ESP_Sprite
Can't help you directly, but you may want to ask yourself if you really want software volume control on an 8-bit DAC... the quality of 8-bit audio already isn't great, and you'd be shaving off more bits as you lower the volume.

Re: Volume control when sending output to the internal DAC

Posted: Sun Jul 28, 2019 11:30 pm
by gibson12345
Hey Sprite,

Thanks for the response. The decision to the use the internal 8-bit DAC was not my own as our electronics team handled that decision. I understand that things link quantisation errors will be an issue using the internal DAC but that's what I'm trying to test out to prove to my colleagues that an external chip would be extremely beneficial for our project. Could you advise or maybe contact someone internally that has worked on the ADF directly?

Cheers,
Gibson