diff --git a/README.md b/README.md index 09383e8232dba9a0853071fc9885ee9c3097eb9f..9cdb4b0be7f6f63937da8f8d02a5eabe5039e3bc 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,21 @@ Install ======= +Need libsndfile library: -Need libsndfile: +- Mac OSX: `brew install libsndfile` -OSX ---- +Ubuntu/Raspbian: `sudo apt-get install libsndfile` + +Usage +===== - brew install libsndfile +Playing sound +------------- -Ubuntu ------- +`i_sndfile -f toto.mp3 | o_sound.sh` play the sound of the mp3 on the default speaker. - sudo apt-get install libsndfile - - \ No newline at end of file +Recording sound +--------------- + +`i_sound.sh | o_sndfile -f toto.mp3` records the sound from the default microphone in a mp3 file.