Skip to content

About

Audiosalution integrated with claude

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎡 Audio Solution

Route your audio sources to different output devices with ease.

A complete web-based audio routing solution for Windows that lets users connect Spotify, Chrome, Discord, and other audio sources to different speakers, headphones, or Bluetooth devices simultaneously.

πŸš€ Quick Start

Prerequisites

Installation

  1. Install Backend
cd backend
npm install
npm run dev

Backend runs on http://localhost:5000

  1. Install Frontend (in another terminal)
cd frontend
npm install
npm run dev

Frontend runs on http://localhost:3000

  1. Install Audio Agent (in another terminal)
cd audio-agent
npm install
npm run dev

Agent runs as system tray application

  1. Access the app Open browser to http://localhost:3000

πŸ“‹ Features

MVP (Current)

βœ… Audio source detection (Spotify, Chrome, Discord, VLC) βœ… Audio device detection (Speakers, Bluetooth, USB, Headphones) βœ… Create custom audio routes (App β†’ Device) βœ… Real-time volume control per route βœ… User authentication & profiles βœ… Route management (create, delete, pause, resume) βœ… Live performance metrics (CPU, memory, latency) βœ… Persistent route storage

Coming Soon

πŸ”œ Multi-device per account πŸ”œ Audio effects (EQ, compression) πŸ”œ Recording capabilities πŸ”œ macOS & Linux support πŸ”œ Mobile apps πŸ”œ Subscription plans & payments

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Web Browser (React)                β”‚
β”‚  http://localhost:3000              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                 β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Backend API (Node.js/Express)      β”‚
β”‚  http://localhost:5000              β”‚
β”‚  - Auth                             β”‚
β”‚  - Route management                 β”‚
β”‚  - User settings                    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                 β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Local Audio Agent (Electron)       β”‚
β”‚  - WASAPI integration               β”‚
β”‚  - Audio routing                    β”‚
β”‚  - System tray app                  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“ Project Structure

Audio Solution/
β”œβ”€β”€ backend/                 # Node.js/Express API
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ server.js       # Main server
β”‚   β”‚   β”œβ”€β”€ routes/         # API endpoints
β”‚   β”‚   β”œβ”€β”€ models/         # Data models
β”‚   β”‚   └── config/         # Configuration
β”‚   └── package.json
β”‚
β”œβ”€β”€ frontend/                # React web app
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ App.jsx         # Main component
β”‚   β”‚   β”œβ”€β”€ pages/          # Page components
β”‚   β”‚   β”œβ”€β”€ components/     # UI components
β”‚   β”‚   β”œβ”€β”€ store/          # State management
β”‚   β”‚   └── styles/         # CSS files
β”‚   β”œβ”€β”€ public/
β”‚   β”‚   └── index.html
β”‚   └── package.json
β”‚
└── audio-agent/             # Electron local agent
    β”œβ”€β”€ src/
    β”‚   β”œβ”€β”€ main/           # Electron main
    β”‚   β”œβ”€β”€ audio-engine/   # WASAPI integration
    β”‚   └── ui/             # Agent UI
    └── package.json

πŸ”§ Development

Running Tests

# Backend tests
cd backend && npm test

# Frontend tests
cd frontend && npm test

Building for Production

Backend

npm run build
npm start

Frontend

npm run build
# Generates dist/ folder

Audio Agent

npm run build
npm run dist
# Generates .exe installer

πŸ“¦ Deployment

Option 1: Docker (Recommended)

docker-compose up

Option 2: Cloud Platforms

Heroku

heroku create audio-solution-app
git push heroku main

AWS

# See deployment/aws/README.md

DigitalOcean

# See deployment/digitalocean/README.md

πŸ” Security

  • All passwords hashed with bcryptjs
  • JWT-based authentication
  • HTTPS in production
  • Input validation on all routes
  • CORS properly configured
  • Environment variables for secrets

πŸ“ API Documentation

Authentication

POST /api/auth/register
POST /api/auth/login
POST /api/auth/verify

Audio

GET /api/audio/inputs       # List audio sources
GET /api/audio/outputs      # List output devices
GET /api/audio/status       # Agent status

Routes

GET    /api/routes          # List user's routes
POST   /api/routes          # Create new route
GET    /api/routes/:id      # Get specific route
PUT    /api/routes/:id      # Update route
DELETE /api/routes/:id      # Delete route
POST   /api/routes/:id/test # Test route connection

User

GET /api/user/profile       # User profile
PUT /api/user/profile       # Update profile
GET /api/user/stats         # Usage statistics
GET /api/user/subscription  # Subscription info

πŸ› Troubleshooting

Backend won't start

# Check port 5000 is available
netstat -ano | findstr :5000
# Kill process if needed
taskkill /PID <PID> /F

Frontend can't connect to backend

# Set API URL
export REACT_APP_API_URL=http://localhost:5000

Audio Agent not detecting devices

# Restart agent
# Check Windows audio settings
# Verify WASAPI support (Windows 7+)

πŸ“ž Support

πŸ“„ License

MIT License - See LICENSE.md

πŸ™ Contributing

  1. Fork the repo
  2. Create feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open Pull Request

🎯 Roadmap

  • Basic audio routing (MVP)
  • Web interface
  • Mobile apps (Android/iOS)
  • macOS support
  • Audio effects
  • Recording
  • Subscription plans
  • API for third-party integration

Made with ❀️ by the Audio Solution Team

Live Demo: (Coming soon) Website: (Coming soon)

About

Audiosalution integrated with claude

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages