A Flask web application that classifies audio sounds using deep learning. Upload WAV files and get instant predictions of the sound type.
- 🎵 Upload WAV audio files
- 🤖 AI-powered sound classification
- 🎧 Audio playback functionality
- 📱 Responsive modern UI
- ⚡ Real-time predictions
Clean and modern upload interface with drag-and-drop functionality
Example of sound classification results showing prediction results
- Python 3.10+
- pip
- Clone the repository:
git clone <https://github.com/rbpata/Sound-Identification>
cd Sound-Classification- Install dependencies:
pip install -r requirements.txt- Run the application:
python app.py- Open your browser and go to
http://localhost:5000
Sound-Classification/
├── app.py # Main Flask application
├── requirements.txt # Python dependencies
├── render.yaml # Render deployment configuration
├── classes.npy # Label encoder classes
├── saved_models/ # Trained model files
│ └── audio_classification.keras
├── static/ # Static files (CSS)
│ └── style.css
├── templates/ # HTML templates
│ └── index.html
├── screenshots/ # App screenshots
│ └── README.md
└── uploads/ # Uploaded audio files
└── .gitkeep
This app is configured for deployment on Render:
- Push your code to GitHub
- Connect your repository to Render
- Render will automatically detect the
render.yamlconfiguration - The app will be deployed with the following settings:
- Build Command:
pip install -r requirements.txt - Start Command:
gunicorn app:app - Environment: Python 3.10.12
- Build Command:
The app uses a pre-trained deep learning model for audio sound classification. The model was trained on the UrbanSound8K dataset and can classify sounds into various categories like:
- Air conditioner
- Car horn
- Children playing
- Dog bark
- Drilling
- Engine idling
- Gun shot
- Jackhammer
- Siren
- Street music
- Backend: Flask, Python
- Machine Learning: TensorFlow, scikit-learn, librosa
- Frontend: HTML5, CSS3, JavaScript
- Deployment: Render, Gunicorn
This project is open source and available under the MIT License.
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request