Friday, October 25, 2013 12:00 am

Playing audio on an embedded device

Sometimes you have an embedded project that needs to play audio. Maybe you just need to make a beep, in which case a simple piezo speaker and a square wave will work, but other times you'll need to play actual audio, like voice or music. In that case, you need to use a Digital to Analog Converter (DAC) to generate the stored waveforms. The other question is how to store these waveforms; the easiest way is to use the WAV file format. This tutorial will discuss the basics of WAV files and how to play these with the provided code, using the onboard DACs of the MCF5441X processor found on Netburner's MOD5441X and NANO54415 modules.

Published in Learn

NetBurner Learn

The NetBurner Learn website is a place to learn faster ways to design, code, and build your NetBurner based product. Sign-up for our monthly newsletter!

Latest Articles

We use cookies to help us provide a better user experience.