Skip to content

About changing the volume #4

@amweu

Description

@amweu

Hi, your example has helped me a lot. But when I was finishing my project, I found out some things around the Volumen control. In my electronics, the dac is connected to an adc and then the signal goes into an adau1701 dsp. The dac-adc chain is my solution for a sample rate converter.
The Volumen control actually happens inside the dsp. And that might be the reason why the Volumen control was not part of the original esp32 example Code. So I just removed the Digital Volumen control from your Code. But when I did this I found out, that still I had to Dividende the audio samples by 4. So my question is: How many bits are generate by the blue tooth (I thing those are 16bit samples) and why do I have to stift right the samples by 2 bits to avoid clipping?
I want to avoid the division by 4 since I think it will reduce the Overall dynamics in the audio signal.
Any hinter are welcome.
Andrea

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions