vibrasphere
Newbie level 3

pwm sound generation
Dear friends,
I need to play 8-bit, 11kHz, mono .wav files using an MCU. The sound quality doesn't have to be great.
The idea is to generate a 11 kHz PWM with varying duty cycle proportional to the current sample's amplitude. The PWM will be generated by AT91SAM7S64 MCU.
A friend of mine proposed such a circuit
I am not sure what should be the values of caps and the resistor forming the filter network. Any help here?
Dear friends,
I need to play 8-bit, 11kHz, mono .wav files using an MCU. The sound quality doesn't have to be great.
The idea is to generate a 11 kHz PWM with varying duty cycle proportional to the current sample's amplitude. The PWM will be generated by AT91SAM7S64 MCU.
A friend of mine proposed such a circuit
I am not sure what should be the values of caps and the resistor forming the filter network. Any help here?