update plot script to work on macos and linux

also add note for installing pip module
This commit is contained in:
hathach
2021-04-15 12:08:50 +07:00
parent 8d9f60ca5e
commit ad11481dd1
4 changed files with 44 additions and 11 deletions

View File

@@ -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>