Interactive multi-resolution spectrogram viewer for audio files
Project description
Spectropython
Interactive multi-resolution spectrogram viewer for audio files.
Installation
pip install spectropython
Usage
spectropython file.wav
spectropython file.mp3
Supported formats: WAV, MP3, FLAC, OGG, AIFF, AU, and any format readable by librosa.
Controls
| Action | Input |
|---|---|
| Frequency zoom | Scroll wheel |
| Time zoom | Ctrl + Scroll |
| Pan | Ctrl + Drag |
| Time/frequency selection | Shift + Drag |
| Play / Pause | Space or button |
| Move playhead | Left click |
Linux integration (open from file manager)
To associate spectropython with audio files on Linux (double-click, set as default application), run the provided install script.
Prerequisites: install spectropython via pipx first:
pipx install --python python3.11 spectropython-0.1.0.tar.gz
Then run:
bash install.sh
The script will:
- install the icon to
~/.local/share/icons/ - install the
.desktopfile to~/.local/share/applications/ - register spectropython as the default application for: WAV, MP3, FLAC, OGG, AIFF
Changes take effect immediately in most desktop environments (GNOME, KDE, XFCE…).
Dependencies
- numpy
- librosa
- soundfile
- sounddevice
- PySide6
- pyqtgraph
License
Copyright (c) 2026 Mehdi.A — AGPL-3.0-or-later
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spectropython-0.3.0.tar.gz.
File metadata
- Download URL: spectropython-0.3.0.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c34e2e98e3daa0342fa0bf698e599b221bf06b03ef333d344085a4cbe24d165
|
|
| MD5 |
a430f98e4c4691e0d7a7e37678d43449
|
|
| BLAKE2b-256 |
13fe83a3f7604f48451191b19a60401bd8f63b12cdfb5c3571f45b163960b788
|
File details
Details for the file spectropython-0.3.0-py3-none-any.whl.
File metadata
- Download URL: spectropython-0.3.0-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab37795cc0384eb07c2d6ed602a0724bbb6a98e3e2c65e2951e3cbc1c4eb84d1
|
|
| MD5 |
9174ca8862e9952e6b1cc9d73689e6d9
|
|
| BLAKE2b-256 |
cde7781fed65326b9528817efe1defced3d2a1f3d9f683a6969feae9b919116f
|