I easily play 8bit wav file using DAC in STM32
But when play 16bit wav Anomalous sounds can be heard
tested several sample rate 8k,16k,32kThey all had anomalous sounds
I use the dac 12bit right alignment
MCU Clock 48MHZ
Read Data From MicroSD
in system that play very well 8bit wav .
Someone can help me find the problem?
I'm not sure exactly what that does but I suspect the '=' shouldn't be there.
I'm also not sure you should convert to signed at all, does the DAC accept signed numbers?