Skip to content

Advanced music analysis API with AI-powered feature extraction. Built with FastAPI for music information retrieval tasks.

Notifications You must be signed in to change notification settings

AnuOuseph/MIRa-Music-Analysis-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIRa - Music Information Retrieval Analysis 🎵

A FastAPI backend for AI-powered music analysis. Extracts tempo, key, instruments, genre, mood, and more from audio files.

✨ Features

  • Tempo & Key Detection - BPM and musical key analysis
  • AI Instrument Recognition - Identify instruments in music
  • Genre Prediction - Music genre classification
  • Mood Analysis - Emotional characteristics detection
  • Song Structure - Basic section analysis
  • RESTful API - Clean FastAPI endpoints with automatic docs

🛠️ Tech Stack

  • Backend: FastAPI, Python 3.10+
  • Audio Processing: Librosa
  • AI Models: Hugging Face Transformers
  • API Docs: Automatic Swagger/OpenAPI

🚀 Quick Start

# 1. Clone & setup
git clone https://github.com/AnuOuseph/MIRa-Music-Analysis-API.git
cd MIRa-Music-Analysis-API
python -m venv venv
source venv/bin/activate

# 2. Install dependencies
pip install -r requirements.txt

# 3. Install FFmpeg (required)
brew install ffmpeg  # macOS
# sudo apt install ffmpeg  # Linux

# 4. Run the server
uvicorn main:app --reload

Visit http://localhost:8000/docs for interactive API documentation.

About

Advanced music analysis API with AI-powered feature extraction. Built with FastAPI for music information retrieval tasks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published