summaryrefslogtreecommitdiff
path: root/examples/device/audio_test/src/main.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-04-15 12:08:50 +0700
committerhathach <[email protected]>2021-04-15 12:08:50 +0700
commitad11481dd16112a38ab05754bafb33599af38f9d (patch)
treec6ba48e10558a6ca70562ffe25b175d8e4d514e7 /examples/device/audio_test/src/main.c
parent8d9f60ca5e1b095fd8ab5541bf3190a2035eaf6f (diff)
update plot script to work on macos and linux
also add note for installing pip module
Diffstat (limited to 'examples/device/audio_test/src/main.c')
-rw-r--r--examples/device/audio_test/src/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/device/audio_test/src/main.c b/examples/device/audio_test/src/main.c
index 4de515b3b..9a2fdd3a1 100644
--- a/examples/device/audio_test/src/main.c
+++ b/examples/device/audio_test/src/main.c
@@ -23,6 +23,14 @@
*
*/
+/* plot_audio_samples.py requires following modules:
+ * $ sudo apt install libportaudio
+ * $ pip3 install sounddevice matplotlib
+ *
+ * Then run
+ * $ python3 plot_audio_samples.py
+ */
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>