From 2a6dd0acf8259b49ae556e77f55c3f67ed43d248 Mon Sep 17 00:00:00 2001
From: Arnaud Blanchard <arnaud.blanchard@ensea.fr>
Date: Sun, 22 Apr 2018 21:34:35 +0200
Subject: [PATCH] Update README.md

---
 README.md | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md
index 09383e8..9cdb4b0 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.
-- 
GitLab