https://github.com/patryk-ku/spek-rs
Acoustic spectrum analyser. Spek alternative written in Rust.
https://github.com/patryk-ku/spek-rs
audio audio-analyzer egui rust spectrogram spek
Last synced: 3 months ago
JSON representation
Acoustic spectrum analyser. Spek alternative written in Rust.
- Host: GitHub
- URL: https://github.com/patryk-ku/spek-rs
- Owner: patryk-ku
- License: mit
- Created: 2025-10-08T22:12:03.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2026-02-01T15:37:56.000Z (4 months ago)
- Last Synced: 2026-02-01T23:44:42.503Z (4 months ago)
- Topics: audio, audio-analyzer, egui, rust, spectrogram, spek
- Language: Rust
- Homepage:
- Size: 1.07 MB
- Stars: 13
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

Spek-rs
Acoustic spectrum analyser. Spek alternative written in Rust. The program is used to create spectrograms of audio files. It uses FFmpeg for audio decoding, like the original.
This application is a GUI for ffmpeg's showspectrumpic function, which allows you to generate spectrograms from audio files. For a detailed explanation of the available options and their functionalities, the best place to check is the official ffmpeg documentation: https://ffmpeg.org/ffmpeg-filters.html#showspectrumpic
I built this because the original Spek appears unmaintained, and installing it on rolling release distributions like Arch Linux often caused dependency issues with older libraries.
## Download and Install
The Windows installer is experimental and may not work perfectly on all systems.
MacOS builds are available, but I can't test them since I don't own any Apple devices. Use at your own risk.
All available downloads can be found on the [Releases](https://github.com/patryk-ku/spek-rs/releases) page.
## Compile from source
1. Install Rust and Cargo using instructions from [Rust site](https://www.rust-lang.org/).
2. Clone the repository.
```sh
git clone 'https://github.com/patryk-ku/spek-rs'
cd spek-rs
```
3. Compile executable using Cargo.
```sh
cargo build --release
```
4. The compiled executable file location is: `target/release/spek-rs`.
## Changelog
[CHANGELOG.md](CHANGELOG.md)
## Credits
This project is heavily inspired by the original [Spek](https://www.spek.cc/).
The GUI is built using [egui](https://github.com/emilk/egui).
It includes the [DejaVu Sans](https://dejavu-fonts.github.io/) font, which is distributed under its own license, see [LICENSE-DejaVuFonts.txt](./assets/LICENSE-DejaVuFonts.txt) for details.
The color palettes for the spectrogram are based on those found in the [FFmpeg](https://ffmpeg.org/) source code.