Generative sound effects with AI. This project has pivoted to an AI-powered search through a small sound effect library using the UrbanSound8k dataset.
The dataset used in this project can be downloaded from Kaggle at the following link:
- Register or log in to your Kaggle account.
- Download the
urbansound8k.zip
file from the link above. - Extract the contents of the
urbansound8k.zip
file. - Place the extracted
UrbanSound8K
folder inside your local repository of the Flask app. The final structure should look like this: - Create a folder
audio-files
, this is where the results will be locally stored.
- synthaise/
- templates/
- static/
- app.py
- .gitignore
- README.md
- audio-files/
- urbansound8k/
- audio/
- metadata/
- UrbanSound8K.csv
- Make sure you have Python 3.x and
pip
installed on your system. - Navigate to the root folder of the Flask app (
synthaise
). - Create a virtual environment
python -m venv venv
then:
On Windows:
venv\Scripts\activate
On macOS and Linux:
source venv/bin/activate
- pip install -r requirements.txt
flask run
will run the development server.
if step 6 this doesn't work, set your environment variables:
On Windows:
set FLASK_APP=app.py
On macOS and Linux:
export FLASK_APP=app.py