bananaofhappiness/soundscope
About
A TUI for real-time analysis of audio files, system audio, and microphone input
Design & MediaWhat you can do
- 🎤 Analysis of audio files, microphone input and system sound (macOS only for now) in real-time.
- 📊 Frequency Spectrum — view the frequency distribution.
- 📉 Waveform Display — see the amplitude over time with Min-Max Decimation algorithm.
- 🔊 LUFS Metering and True Peak — measure loudness precisely.
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalSoundscope — a TUI audio file analyzer tool.
Soundscope is a crossplatform TUI tool for analyzing audio files, microphone input and system sound.

✨ Features
- 🎤 Analysis of audio files, microphone input and system sound (macOS only for now) in real-time.
- 📊 Frequency Spectrum — view the frequency distribution.
- 📉 Waveform Display — see the amplitude over time with Min-Max Decimation algorithm.
- 🔊 LUFS Metering and True Peak — measure loudness precisely.
- 🎨 Customizable Theme — change the color scheme to your liking.
🚀 Installation
Using pacman (on Arch Linux)
sudo pacman -S soundscope
Using Homebrew (on macOS or Linux)
brew install bananaofhappiness/tap/soundscope
Using Cargo
cargo install soundscope
or
cargo install --git https://github.com/bananaofhappiness/soundscope
Precompiled binaries
Grab the latest release for your platform from the Releases page.
Building from source
- Make sure you have Rust (stable toolchain) and Git installed.
- On Linux, install the ALSA development libraries first (required by the audio backend):
# Debian / Ubuntu sudo apt install libasound2-dev # Arch Linux sudo pacman -S alsa-lib # Fedora sudo dnf install alsa-lib-devel - Clone the repository and build:
git clone https://github.com/bananaofhappiness/soundscope cd soundscope cargo build --release - The binary will be available at
target/release/soundscope. Optionally, install it into~/.cargo/bin:cargo install --path .
🔧 Usage
- Run the tool using
soundscopecommand. You can optionally provide an audio file path to open it directly on startup:soundscope path/to/audio.mp3 - Press
h,?, orF1to view the help popup with all available keyboard shortcuts.
🎨 Themes
Built-in Themes
Soundscope comes with several pre-built themes that you can use directly without creating a custom theme file:
- Catppuccin — Mocha, Macchiato, Frappé, Latte
- Dracula — Classic dark theme with vibrant accents
- Gruvbox Dark — Warm, retro color scheme
- Material Dark — Based on Google's Material Design
- Monokai — Classic dark theme with high contrast
- Nord — Arctic, north-bluish color palette
- One Dark / One Light — Popular themes from Atom/VSCode
- Solarized — Dark and Light variants with precision colors
- Tokyo Night — Inspired by Tokyo's neon nightlife
- Ayu Dark — Bright colors comfortable for all-day use
- Black & White / White & Black — Minimal monochrome themes
Press t in the application to open the theme selection list and choose any of these built-in themes.
Creating a custom theme
The theme is set in .toml file which must be placed in {YOUR_CONFIG_DIRECTORY}/soundscope directory. Here is an example theme (which is default for the app) containing all possible variables:
[global]
background = "Black"
# It is default value for everything that is not a background
foreground = "221" # It is an ANSI-256 value for LightGoldenrod2 color. See https://www.ditig.com/256-colors-cheat-sheet.
# Color used to highlight corresponding characters
# Like highlighting L in LUFS to let the user know
# that pressing L will open the LUFS meter
highlight = "160" # Red3 color. Note that it can also be written as "#d70000"
# For simplicity yellow color in this example is written as "Yellow" instead of "221", and light red is written as "LightRed" instead of "160". But default color scheme uses LightGoldenrod2 (221) for foreground and Red3 (160) for highlight.
[waveform]
borders = "Yellow"
waveform = "Yellow"
playhead = "LightRed"# if not set, default is highlighted color
# Current playing time and total duration
current_time = "Yellow"
total_duration = "Yellow"
# Buttons like <-, +, -, ->
controls = "Yellow"
# Color of a button when it's pressed
controls_highlight = "LightRed"
labels = "Yellow"
[spectrum]
foreground = "Yellow"
background = "Black"
borders = "Yellow"
# Frequencies and LUFS tabs text
labels = "Yellow"
axes = "Yellow"
axes_labels = "Yellow"
mid_fft = "Yellow"
side_fft = "LightRed"
[loudness]
axis = "Yellow"
chart = "Yellow"
# Frequencies and LUFS tabs text
labels = "Yellow"
# Text color on the left
foreground = "Yellow"
# Color of the numbers on the left
numbers = "Yellow"
borders = "Yellow"
background = "Black"
highlight = "LightRed"
[devices]
background = "Black"
foreground = "Yellow"
borders = "Yellow"
highlight = "LightRed"
[explorer]
background = "Black"
borders = "Yellow"
item_foreground = "Yellow"
highlight_item_foreground = "LightRed"
dir_foreground = "Yellow"
highlight_dir_foreground = "LightRed"
[error]
background = "Black"
foreground = "LightRed"
borders = "LightRed"
[help]
background = "Black"
foreground = "Yellow"
borders = "Yellow"
highlight = "LightRed"
Only global foreground and global background colors are mandatory. You can pass the ANSI-256 color number (see this cheat sheet) or HEX color code (prefixed with #) or use one of the predefined colors below:
- Black
- Red
- Green
- Yellow
- Blue
- Magenta
- Cyan
- Gray
- DarkGray
- LightRed
- LightGreen
- LightYellow
- LightBlue
- LightMagenta
- LightCyan
- White
- Reset
Reset restores the terminal's default color. This can be useful if you're using a transparent background.
Color separators -, _, and are supported and names are case insensitive. For example, Light-blue or light_blue or light Blue are all valid.
After saving your theme into .toml file and placing it into {YOUR_CONFIG_DIRECTORY}/soundscope, press t to open up the theme selection list and choose yours.
🐛 Known issues and limitations
- Some files with high sample rate play back normally, but real-time visualization (waveform, spectrum, loudness) lags significantly behind. For example, this occurs with
.wavfiles with a sample rate > 48000, while.mp3files at 92000 play without noticeable lag.
🤝 Contributing
Pull Requests, Issues and Suggestions are welcome!
📜 License
This project is licensed under the MIT License — see LICENSE for details.
☕ Support
If you like Soundscope and want to support its development:
Your support is greatly appreciated ❤️
Explore related projects
Loading…