A beautiful native macOS audio mixer with per-app volume control, featuring a sleek Control Center-inspired design.
- 🎨 Native macOS Design: Control Center-inspired pill sliders with frosted glass effects
- 🔊 Per-App Audio Control: Individual volume control for each application
- 🎵 Real-time Monitoring: See which apps are currently playing audio
- 🖼️ SF Symbols: Beautiful system icons for each app
- ✨ Smooth Animations: Spring-based animations for a polished feel
- 🌙 Dark Mode: Fully supports macOS appearance modes
Capsule features a modern macOS UI built entirely with SwiftUI:
- Thick Pill Sliders: Custom-designed volume sliders with a distinctive pill shape
- Frosted Glass Background: Native
NSVisualEffectViewfor that authentic macOS look - SF Symbols: System icons that automatically adapt to your macOS appearance
- Smooth Interactions: Drag to adjust volume, double-tap to mute
- macOS 13.0 (Ventura) or later
- Xcode 15.0 or later (for building)
-
Clone the repository:
git clone https://github.com/sp80808/capsule.git cd capsule -
Open in Xcode:
open Capsule.xcodeproj
-
Build and run (⌘R)
The app is structured with clean separation of concerns:
- CapsuleApp.swift: Main app entry point and delegate
- ContentView.swift: Main UI with frosted glass and app list
- PillSlider.swift: Custom pill-shaped slider component
- AudioManager.swift: Core Audio integration for audio device management
The current implementation includes:
- Core Audio framework integration for device enumeration
- Foundation for per-app audio tapping (ready for eqMac driver integration)
- Sample app data for UI demonstration
To integrate with eqMac driver for actual per-app audio tapping:
- Install and configure the eqMac audio driver
- Implement audio session capture per application
- Hook up volume controls to actual audio streams
- Add real-time audio level visualization
- Adjust Volume: Drag the pill slider left or right
- Mute/Unmute: Double-tap on a slider
- Refresh Apps: Click the refresh button in the header
MIT License - feel free to use this project as you wish!
Inspired by macOS Control Center design and the eqMac audio driver project.