Nuvoton
/
NuMaker-mbed-AudioPlayback-example
NuMaker audio playback
Diff: README.md
- Revision:
- 10:ca032f77d721
- Parent:
- 5:492ea7d38e59
- Child:
- 11:f7e6e67bbb92
--- a/README.md Wed Oct 11 11:52:15 2017 +0800 +++ b/README.md Wed Dec 06 20:57:15 2017 +0800 @@ -1,9 +1,9 @@ -# Getting started sample with Audio Codec on mbed OS +# Getting started sample with Audio Codec on Mbed OS -This is an example to play and record PCM using Audio Codec NAU8822L with [NuMaker mbed Audio](https://github.com/OpenNuvoton/NuMaker-mbed-Audio) library. +This is an example to play and/or record then play PCM using Audio Codec with [NuMaker mbed Audio](https://github.com/OpenNuvoton/NuMaker-mbed-Audio) library. -### mbed CLI -Play PCM file with "NUMAKER_PFM_NUC472". +### CLI +Record then play PCM file with "NUMAKER_PFM_NUC472". Default is a 8kHz mono 16-bit PCM file. 1. mbed target "NUMAKER_PFM_NUC472" 2. mbed toolchain "GCC_ARM" @@ -15,6 +15,12 @@ 2. mbed toolchain "GCC_ARM" 3. mbed compile +Record then play PCM buffer with "NUMAKER_PFM_M487". +Default is a 8kHz mono 16-bit PCM buffer. +1. mbed target "NUMAKER_PFM_M487" +2. mbed toolchain "GCC_ARM" +3. mbed compile + Please note that we need a headphone to hear the result. ### Burn Code & Execute