From 8c7309cb6126d99c3db7cede460cc1720f31babe Mon Sep 17 00:00:00 2001 From: Drew Bednar Date: Fri, 18 Nov 2022 21:58:24 -0500 Subject: [PATCH] raspberry pi support --- README.md | 6 +++++- requirement.in => requirements.in | 0 requirement.txt => requirements.txt | 0 socket_send_recieve/sender.py | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) rename requirement.in => requirements.in (100%) rename requirement.txt => requirements.txt (100%) diff --git a/README.md b/README.md index 12a49d5..42e0d62 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # learn_audio -A repo dedicated to audio experiments \ No newline at end of file +A repo dedicated to audio experiments + +# Requirements + +One the Ubuntu raspberrypi 20.04 server I needed to have `sudo apt-get install libasound2-dev` installed before run `pip install -r requirements.txt`. diff --git a/requirement.in b/requirements.in similarity index 100% rename from requirement.in rename to requirements.in diff --git a/requirement.txt b/requirements.txt similarity index 100% rename from requirement.txt rename to requirements.txt diff --git a/socket_send_recieve/sender.py b/socket_send_recieve/sender.py index 3ee8dfa..4a44160 100644 --- a/socket_send_recieve/sender.py +++ b/socket_send_recieve/sender.py @@ -12,7 +12,7 @@ wave_file_path = sys.argv[1] if not wave_file_path.endswith('.wav'): raise ValueError("File must have .wav file extension.") -(HOST,PORT)=('localhost',9000) +(HOST,PORT)=('rospi.runcible.io',9000) s=socket.socket(socket.AF_INET,socket.SOCK_STREAM); s.connect((HOST,PORT)) with open(wave_file_path, 'rb') as wave_file: