I want to make music with an arduino due and with a sd card
I succeeded to do it on an arduino uno but the sound was of poor quality
but on the arduino due a library is not compatible how do I do?
Sorry for my English
I want to make music with an arduino due and with a sd card
I succeeded to do it on an arduino uno but the sound was of poor quality
but on the arduino due a library is not compatible how do I do?
Sorry for my English
I've never used the Due.
It has a DAC so that's a LOT better than trying to get analog from PWM. It's a 12-bit DAC which isn't "terrible" but it's not CD quality either.
And the other issue is the DAC on the Due isn't great, its got sparkle codes and doesn't output rail to rail
either... An external I2S DAC is probably the best approach for the Due - not sure if someone's got a library
for that though.
Energisse:
I want to make music with an arduino due and with a sd card
Any chance you could explain "want to make music"?
Does this mean simply playing 1 file from the SD card?
Or do you wish to compose music, perhaps with many small files for individual notes, percussive sounds, maybe other effects?
Or something else I'm not imagining?
Another way to generate high quality audio is to generate digital class D directly, using PWM and
noise-shaping techniques. No need for a DAC at all.