[{"data":1,"prerenderedAt":91},["ShallowReactive",2],{"\u002Farduino-pcm-audio-player-introduction":3,"navigation":70},{"id":4,"title":5,"alternates":6,"author":6,"body":7,"categories":6,"comments":53,"cover":6,"date":54,"description":13,"draft":53,"extension":55,"hidden":53,"language":6,"layout":6,"links":6,"listed":53,"meta":56,"navigation":57,"nocomments":53,"notoc":53,"pageid":6,"path":58,"readingTime":59,"redirect_to_domain":6,"redirect_to_full_url":6,"robots":6,"schemaOrg":6,"seo":64,"sitemap":65,"stem":66,"table_of_contents":53,"tags":67,"__hash__":69},"page\u002Farduino-pcm-audio-player-introduction.md","Microcontroller PCM Audio Player: Introduction",null,{"type":8,"value":9,"toc":49},"minimark",[10,14,17,30,33,36,39],[11,12,13],"p",{},"Now that I am four weeks into the semester, I have finally settled into working full time again. With this comes some drive to get around to a side project.",[11,15,16],{},"For my first project of the year, I am interested in creating a small device based off an ATmega328p that plays wav files off of a MicroSD card. The files will need to be encoded in the following format:",[18,19,20,24,27],"ol",{},[21,22,23],"li",{},"31.25 kHz sample rate",[21,25,26],{},"8-bit unsigned PCM",[21,28,29],{},"Mono",[11,31,32],{},"The device will be able to handle 16-bit and\u002For stereo files, but the audio output is going to be 8-bit and mono, so that's just extra file size for no gain. I'll be creating a software tool to convert from any supported format using ffmpeg.",[11,34,35],{},"I'll be breadboarding a prototype, and then sending for PCBs from a cheap board house and getting all the components to make the final device.",[37,38],"hr",{},[11,40,41,45,48],{},[42,43,44],"strong",{},"Update 1:",[46,47],"br",{},"\nThe prototype worked pretty well, with surprisingly clean audio without any filtering. I decided to abandon this project in favor of schoolwork.",{"title":50,"searchDepth":51,"depth":51,"links":52},"",2,[],false,"2015-02-05","md",{},true,"\u002Farduino-pcm-audio-player-introduction",{"text":60,"minutes":61,"time":62,"words":63},"1 min read",0.815,48900,163,{"title":5,"description":13},{"loc":58},"arduino-pcm-audio-player-introduction",[68],"electronics","5ZDm0acDbD74W4Yd6cN28T_ZvUIm7LzIN276GF9NXRI",[71,75,76,80,84,87],{"title":72,"path":73,"stem":74},"Welcome","\u002F2025-02-17-welcome","2025-02-17-Welcome",{"title":5,"path":58,"stem":66},{"title":77,"path":78,"stem":79},"Digitizing The Airwaves: Codec2 HTs","\u002Fcodec2-ht","codec2-ht",{"title":81,"path":82,"stem":83},"Welcome to KC9ZYZ","\u002F","index",{"title":72,"path":85,"stem":86},"\u002Fwelcome-2","welcome-2",{"title":88,"path":89,"stem":90},"X11 Forwarding with RPi, PuTTY, and Android","\u002Fx11-forwarding-with-rpi","x11-forwarding-with-rpi",1788020059450]