An audio-thumbnail generator.
Currently, the application is able to classify these 10 sounds:
- Air Conditioner
- Car Horn
- Children Playing
- Dog bark
- Drilling
- Engine Idling
- Gun Shot
- Jackhammer
- Siren
- Street Music
A machine that is capable of running TensorFlow and PyTorch.
Navigate to /server.
Install all dependencies within requirements.txt. This step depends on the system architecture you are currently using.
If using Anaconda / Minicoda, create a new environment specifically for this project:
$ conda env create -f environment.ymlActivate the audio-diffusion environment.
$ conda activate audio-diffusionDownload the pre-trained models.
$ python3 download.pyLastly, set the environment variables required by copying .env.sample into .env.
$ python3 app.pyThe server will be accessible at http://localhost:5001.
npmoryarn- Node
Navigate to /webapp.
$ yarn installConfigure .env.local to set whether the application should use a server mock.
$ yarn devThe web application will be accessible at http://localhost:3000.