Go Down

Topic: New library for PWM playback from SD cards: SimpleSDAudio (Read 45 times) previous topic - next topic

Tuttut

I also thought about that, but the thing is that it is hard to get a high quality playback if PWM runs not at an integer multiple of the sample rate. That is the magic behind my library and that is why I can get such good quality. With high-speed PWM as available in ATtiny85 then it makes more sense to use the original playback rate (as Elm-Chan does).


funkyguy4000

Accelerate to 88 miles per hour.

WilliamK Govinda


WilliamK Govinda

I love this, thank you, sounds pretty good, a bit of hiss, so I have to see how to clean it up.

Questions:

1) could you add an option for 20Mhz too? I got some 20Mhz crystals and ATmega328 chips lying around, wondering if at 20Mhz I could play stereo files better?

2) I did a PWM output that was nearly 10 bits, with a better audio. Check this out:
https://github.com/Beat707/BeatVox

Go Up