Spaces:
Running
Running
File size: 1,327 Bytes
ea85661 9b0bb9e ea85661 9b0bb9e ea85661 9b0bb9e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | ---
title: AutoMixAI Backend
emoji: π§
colorFrom: purple
colorTo: pink
sdk: docker
app_port: 7860
pinned: false
---
# AutoMixAI Backend
All-in-one FastAPI backend for AutoMixAI β AI-powered DJ mixing platform.
## Features
- **Upload** β Upload audio files for processing
- **Analyze** β BPM detection, beat tracking, energy analysis, genre estimation
- **Mix** β Advanced DJ mixing with EQ crossfade, LUFS normalization, time-stretching
- **Generate** β Procedural drum beat generation from text prompts
- **Recognize** β Song recognition via Shazam API (RapidAPI)
## API Endpoints
| Method | Endpoint | Description |
|--------|----------|-------------|
| GET | `/` | Service info |
| GET | `/health` | Health check |
| POST | `/upload` | Upload audio file |
| POST | `/analyze` | Analyze audio (BPM, beats, genre) |
| POST | `/mix` | DJ mix two tracks |
| POST | `/generate` | Generate drum beats |
| GET | `/output/{id}` | Download generated audio |
| POST | `/recognize` | Shazam song recognition |
## DJ Mixing Engine
The mixer uses professional techniques:
- LUFS loudness normalization (EBU R128)
- High-pass filtering (40Hz rumble removal)
- Beat-aligned time-stretching
- EQ-based crossfade (bass swap transition)
- Equal-power S-curve crossfade
- Final mastering to -14 LUFS (streaming standard)
|