Nuvoton
/
NuMaker-mbed-AudioPlayback-example
NuMaker audio playback
Diff: README.md
- Revision:
- 1:c3f10403b3db
- Child:
- 5:492ea7d38e59
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.md Fri Mar 03 16:26:26 2017 +0800 @@ -0,0 +1,23 @@ +# 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.