Hi all,
I have this code working fine to generate audio via PWM. The audio file is a WAV file generated from Audacity software with 16 KSPS frequency, 8 Bit mono PCM. I have stored this file into EEPROM and used msp430g2403 to generate PWM.
Now my doubt is.
1. What should be the PWM frequency to make this wav file audible (clearly).
2. I was successful in reproducing the audio @ 32KHZ & 64 KHZ of PWM frequency from MIcro.
3. I taught that I could get it working at 16 KHZ as well. but some how the audio is stretched (which says to me that the PWM frequency is not right)
is there a formula to calculate PWM frequency required to generate audio from wav files.?
Thanks in advance.
Sri.