NuMaker audio playback

README.md

Committer:
ccli8
Date:
2017-03-03
Revision:
1:c3f10403b3db
Child:
5:492ea7d38e59

File content as of revision 1:c3f10403b3db:

# Getting started sample with Audio Codec on mbed OS

This is an example to play PCM file or buffer with Audio Codec with [NuMaker mbed Audio](https://github.com/OpenNuvoton/NuMaker-mbed-Audio) library.

### mbed CLI
Play PCM file with "NUMAKER_PFM_NUC472".
Default is a 16kHz stereo 16-bit PCM file.
1. mbed target "NUMAKER_PFM_NUC472"
2. mbed toolchain "GCC_ARM"
3. mbed compile

Play PCM buffer with "NUMAKER_PFM_M453".
Default is a 16kHz stereo 16-bit PCM buffer.
1. mbed target "NUMAKER_PFM_M453"
2. mbed toolchain "GCC_ARM"
3. mbed compile

Please note that we need a headphone to hear the result.

### Burn Code & Execute
1. Connect the board NuMaker-PFM-XXX with your PC by USB cable, then there will be one "MBED" disk.
2. Copy the built binary file into "MBED" disk on you PC.
3. Press reset button to execute, user could test Audio Codec.