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
Release files for spectropython 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spectropython-0.3.0.tar.gz | 12.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spectropython-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:25.0 kB
Release files / spectropython-0.3.0.tar.gz
| Download URL | spectropython-0.3.0.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c34e2e98e3daa0342fa0bf698e599b221bf06b03ef333d344085a4cbe24d165
|
|
BLAKE2b-256 checksum How to use checksums |
13fe83a3f7604f48451191b19a60401bd8f63b12cdfb5c3571f45b163960b788
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / spectropython-0.3.0-py3-none-any.whl
| Download URL | spectropython-0.3.0-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab37795cc0384eb07c2d6ed602a0724bbb6a98e3e2c65e2951e3cbc1c4eb84d1
|
|
BLAKE2b-256 checksum How to use checksums |
cde7781fed65326b9528817efe1defced3d2a1f3d9f683a6969feae9b919116f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|