My first project with electronic and raspberry pi bare metal assembly programming will be an alarm for pleasant awakening.
It consists of a 3x3 led cube (sorry, I can not show you a picture, I am a terrible welder, if this is a cube, I am Queen Elizabeth) that I will control via the TLC5940 chips for which I bored you previously (and it perfectly works now, I just need a matrix board to mount the cube on). Now I would like to add music.
I suppose that it is not easy to decode mp3 or ogg with bare metal, so let's suppose I have a raw uncompressed music sample and I would like to play it through... whatever the simplest way...
Would it be via the 3.5 jack or via a digital analog converter chip connected to a speaker?
Any example of bare metal (assembly would be perfect, but C would be OK too) programming?
Thanks a lot