-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.run
More file actions
21 lines (17 loc) · 1.16 KB
/
README.run
File metadata and controls
21 lines (17 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[*] Commands to Run this
sudo pigpiod
python3 -i musicReact.py
## Running the Psynesthesia code
480 cd Documents/ledAudio/
481 echo "testWavs/africa-toto.wav" | python3 Psynesthesia/psynesthesia_modified.py
482 wget https://www.ee.columbia.edu/~dpwe/sounds/music/around_the_world-atc.wav -O testWavs/around_the_world-atc.wav
483 echo "testWavs/around_the_world-atc.wav" | python3 Psynesthesia/psynesthesia_modified.py && echo "testWavs/dont_speak-no_doubt.wav" | python3 Psynesthesia/psynesthesia_modified.py
484 echo "testWavs/around_the_world-atc.wav" | python3 Psynesthesia/psynesthesia_modified.py
## Exact Steps and Documentation for running the code
# 1) Begin the Psynthesia Code; which will create the audio-to-rgb file
testFile = "/home/duncan/Documents/LifeShit/Projects/RaspiFun/ledAudio/testWavs/i_ran_so_far_away-flock_of_seagulls.wav"
echo "$testfile" | python3 Psynesthesia/psynesthesia_modified.py
# 2) Start up the Music Reaction (i.e. LED Lights) Code; which will read from the audio-to-rgb file
python3 ./musicReact.py
## Grab correct firmware file for Bluetooth
wget https://datasheets.raspberrypi.com/soft/micropython-firmware-pico-w-130623.uf2