A local audio isolation utility powered by Meta's SAM-Audio model, optimized for Apple Silicon via MLX.

This application requires Python 3.10 or later. If your Mac only has the system Python, run.sh will automatically download a private Python runtime into .python/ and use it (no system changes).
Auto-download requirements:
curl available (built into macOS)To force a re-download, delete the .python/ directory and run ./run.sh again.
# Clone the repository
git clone https://github.com/cmd-christopher/Mac-GUI-for-SAM-Audio.git
cd Mac-GUI-for-SAM-Audio
# Run the application (creates venv, installs deps, downloads model)
./run.sh
Then open the URL printed in the terminal (starts at http://localhost:5001 and auto-adjusts if that port is busy).
Note: On first run, the model (~4.8GB) will be downloaded automatically. This is a one-time process.
| Prompt | Isolates |
|---|---|
speech | Human voices |
vocals | Singing in music |
drums | Percussion |
piano | Piano instrument |
guitar | Guitar sounds |
music | All musical elements |
Mac-GUI-for-SAM-Audio/
βββ app.py # Flask web application
βββ audio_processor.py # SAM-Audio model wrapper
βββ requirements.txt # Python dependencies
βββ run.sh # Startup script
βββ templates/
β βββ index.html # Web interface
βββ static/
βββ css/style.css # Styling
βββ js/app.js # Frontend logic
The automatic Python download failed or was blocked. Re-run ./run.sh with a working internet connection, or delete .python/ and try again.
The app automatically selects the next available port and prints it at startup. To force a specific port, run:
SAM_AUDIO_PORT=5005 ./run.sh
Ensure you have a stable internet connection. The model (~4.8GB) is downloaded from Hugging Face.
Enable "Long audio mode" checkbox for files over 30 seconds - this uses chunked processing.
This usually means the bundled environment didn't finish installing dependencies. Delete .python/ and venv/, then run ./run.sh again.
MIT License - See LICENSE for details.
13 commits
JavaScript
28.6%
CSS
28.5%
Python
16.7%
HTML
14.7%
Shell
11.5%
A local audio isolation utility powered by Meta's SAM-Audio model, optimized for Apple Silicon via MLX.

This application requires Python 3.10 or later. If your Mac only has the system Python, run.sh will automatically download a private Python runtime into .python/ and use it (no system changes).
Auto-download requirements:
curl available (built into macOS)To force a re-download, delete the .python/ directory and run ./run.sh again.
# Clone the repository
git clone https://github.com/cmd-christopher/Mac-GUI-for-SAM-Audio.git
cd Mac-GUI-for-SAM-Audio
# Run the application (creates venv, installs deps, downloads model)
./run.sh
Then open the URL printed in the terminal (starts at http://localhost:5001 and auto-adjusts if that port is busy).
Note: On first run, the model (~4.8GB) will be downloaded automatically. This is a one-time process.
| Prompt | Isolates |
|---|---|
speech | Human voices |
vocals | Singing in music |
drums | Percussion |
piano | Piano instrument |
guitar | Guitar sounds |
music | All musical elements |
Mac-GUI-for-SAM-Audio/
βββ app.py # Flask web application
βββ audio_processor.py # SAM-Audio model wrapper
βββ requirements.txt # Python dependencies
βββ run.sh # Startup script
βββ templates/
β βββ index.html # Web interface
βββ static/
βββ css/style.css # Styling
βββ js/app.js # Frontend logic
The automatic Python download failed or was blocked. Re-run ./run.sh with a working internet connection, or delete .python/ and try again.
The app automatically selects the next available port and prints it at startup. To force a specific port, run:
SAM_AUDIO_PORT=5005 ./run.sh
Ensure you have a stable internet connection. The model (~4.8GB) is downloaded from Hugging Face.
Enable "Long audio mode" checkbox for files over 30 seconds - this uses chunked processing.
This usually means the bundled environment didn't finish installing dependencies. Delete .python/ and venv/, then run ./run.sh again.
MIT License - See LICENSE for details.
13 commits
JavaScript
28.6%
CSS
28.5%
Python
16.7%
HTML
14.7%
Shell
11.5%