Skip to content

Pranav-Harad/audio.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎡 Audio.io – Next-Gen AI Audio Synthesis

React Node.js Python Docker Deployment

Experience the power of Generative AI. Clone voices with high fidelity and separate music stems instantly.


πŸš€ Overview

Audio.io is a cutting-edge full-stack application that bridges the gap between modern web technologies and state-of-the-art AI models. Unlike wrapper tools that rely on paid APIs, Audio.io runs its own custom-containerized AI microservice.

It features Zero-Shot Text to Speech (using Coqui XTTS-v2) and Music Source Separation (using Deezer Spleeter), all wrapped in a sleek, responsive React interface.


✨ Key Features

πŸŽ™οΈ AI (TTS)

  • Text-to-Speech: Convert text into lifelike speech.
  • Powered by: Coqui XTTS-v2.

🎸 AI Vocal Remover (Stem Separation)

  • Music Deconstruction: Upload any song to split it into distinct tracks.
  • Outputs: Isolated Vocals (.wav) and Accompaniment (.wav).
  • Powered by: Spleeter (2-stems).

πŸ” Secure & Scalable

  • Authentication: Robust Login/Signup system with JWT and Google OAuth.
  • Cloud Architecture: Distributed microservices communicating over secure APIs.
  • History: MongoDB database tracks user generation history.

πŸ—οΈ The Architecture (DevOps)

This project demonstrates a complex Split-Cloud Deployment Strategy to maximize performance and stay within free-tier limits:

graph LR
    User["User / Browser"] -->|HTTPS| Frontend["Frontend (Vercel)"]
    Frontend -->|"REST API"| Backend["Backend (Render)"]
    Backend -->|"Auth/Data"| DB[("MongoDB Atlas")]
    Backend -->|"Forward Request"| AI["AI Service (Hugging Face)"]
    AI -- "Docker Container" --> Models["XTTS-v2 & Spleeter"]
    AI -->|"Return Audio URL"| Backend
Loading

πŸ› οΈ Tech Stack

🎨 Frontend

Frontend

  • Framework: React (Vite)
  • Styling: Tailwind CSS + Framer Motion
  • State: React Hooks & Context API

πŸ”Œ Backend API

Backend

  • Runtime: Node.js & Express.js
  • Database: MongoDB Atlas
  • Auth: JWT & Google OAuth 2.0

πŸ€– AI Microservice

AI

  • Framework: FastAPI
  • Models: Coqui XTTS-v2, Spleeter
  • Container: Docker

☁️ Deployment

Deployment

  • Frontend: Vercel
  • Backend: Render
  • AI Engine: Hugging Face Spaces

⚑ Local Installation Guide

Want to run this locally? You will need 3 terminal windows open (one for each service).

Prerequisites

  • Node.js & npm
  • Python 3.10+
  • FFmpeg (Must be installed and added to system PATH)

1. Setup Backend

cd backend
npm install
# Create a .env file (see below)
npm run dev

2. Setup AI Service

cd ai-service
pip install -r requirements.txt
# Run the FastAPI server
uvicorn main:app --reload --port 8000

3. Setup Frontend

cd frontend
npm install
npm run dev

Environment Variables

You need to create a .env file in both the backend and frontend directories.

Backend (backend/.env)

PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key
AI_SERVICE_URL=http://localhost:8000
FRONTEND_URL=http://localhost:5173

Frontend (frontend/.env)

VITE_API_URL=http://localhost:5000

Author πŸ‘¨β€πŸ’»

Made with ❀️ by Pranav
πŸ“§ Email: pranavharad64@gmail.com
πŸ”— LinkedIn: www.linkedin.com/in/pranav-harad-667070268

About

A Next-Gen AI Audio Platform featuring Text to Speech (XTTS-v2) and Music Stem Separation (Spleeter). Built with React, Node.js, and Dockerized Python microservices.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors