Skip to main content

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 .desktop file 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spectropython-0.3.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spectropython-0.3.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

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

Hashes for spectropython-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6c34e2e98e3daa0342fa0bf698e599b221bf06b03ef333d344085a4cbe24d165
MD5 a430f98e4c4691e0d7a7e37678d43449
BLAKE2b-256 13fe83a3f7604f48451191b19a60401bd8f63b12cdfb5c3571f45b163960b788

See more details on using hashes here.

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

Hashes for spectropython-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab37795cc0384eb07c2d6ed602a0724bbb6a98e3e2c65e2951e3cbc1c4eb84d1
MD5 9174ca8862e9952e6b1cc9d73689e6d9
BLAKE2b-256 cde7781fed65326b9528817efe1defced3d2a1f3d9f683a6969feae9b919116f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page