Listen and track your doge.
- Go
- Python 3.8.16
pip install -r scripts/requirements.txt
source scripts/venv/bin/activate
# Capture audio until max time reached or cancelled (Ctrl + C)
python scripts/listen.py
# Process audio, create graphs and html files
python scripts/express.py
Resolve missing pip packages manually, requirements.txt is not up to date.
Some manual things I had to do:
- Clone PortAudio and build from source since it was failing to install with brew
- Clone pyAudioAnalysis locally and install those pip requirements
go build -o server backend/main.go
# scp the whole backend folder originally
scp -i ~/.ssh/aws/key -r backend [email protected]:/home/ec2-user
# after each run, scp the static data again
scp -i ~/.ssh/aws/key -r backend/static [email protected]:/home/ec2-user/backend