Skip to main content

A modular signal analysis python library.

Project description

modusa

modusa is a Python library providing utility tools for research.

It offers purpose-built tools especially for the audio domain but not limited to. It combines audio loading, annotation handling, visualization, and analysis in a unified, easy-to-use API. modusa simplifies common workflows so you can focus on experimentation and insight, not boilerplate code.

Key Features

  • Flexible Audio Loader Load audio in multiple formats (WAV, MP3, FLAC, M4A, AAC, OPUS, AIFF) — even directly from YouTube links.

  • Unified Annotation Interface Work with .txt (Audacity labels) and .ctm (ASR/FA outputs) annotations seamlessly. TextGrid support coming soon.

  • Modular Plotter Create time-aligned visualizations combining waveforms, annotations, and spectrograms with minimal code.
    Supports multi-tier figures, dark mode, legends, tier IDs, and grouped color patterns.

  • Interactive Audio Player Play audio with visible annotation labels directly inside notebooks.

  • Built-in Audio Recorder Capture and instantly analyze microphone input from within Jupyter.

  • Analytical Tools Includes quick plotting utilities like distribution (hill) plots for comparing numerical features.

Installation

modusa is under active development. You can install the latest version via:

pip install modusa

Tests

pytest tests/

Status

modusa is in early alpha. Expect rapid iteration, breaking changes, and big ideas.
If you like the direction, consider ⭐ starring the repo and opening issues or ideas.

Few useful command for developers

To push doc changes

ghp-import -n -p -f docs/build/html

To create a dist

pdm build

To upload on pypi

twine upload dist/*

About

modusa is developed and maintained by meluron,


License

MIT License. See LICENSE for details.


Contributions

Pull requests, ideas, and discussions are welcome!
No matter which domain you are in, if you work with any signal, we'd love your input.

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

modusa-1.0.0a1.tar.gz (139.1 kB view details)

Uploaded Source

Built Distribution

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

modusa-1.0.0a1-py3-none-any.whl (152.1 kB view details)

Uploaded Python 3

File details

Details for the file modusa-1.0.0a1.tar.gz.

File metadata

  • Download URL: modusa-1.0.0a1.tar.gz
  • Upload date:
  • Size: 139.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for modusa-1.0.0a1.tar.gz
Algorithm Hash digest
SHA256 16fc62d6f3971a6fb5cabe234468e321275214ab0de2ee465ca4559d8ed3a509
MD5 c34f6ed11e1c78fe8c62d7d68c6d4bde
BLAKE2b-256 e34e73b3d6e5f1ea5852161ad7ee97fc77849edf411fbea5b2978e1d2f76bfce

See more details on using hashes here.

File details

Details for the file modusa-1.0.0a1-py3-none-any.whl.

File metadata

  • Download URL: modusa-1.0.0a1-py3-none-any.whl
  • Upload date:
  • Size: 152.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for modusa-1.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 8de290c104122e71a7daf22b281718f6782fcbcd148babdb45eac81ba5058387
MD5 0d6696559ff1c20331d98a87cff4639c
BLAKE2b-256 2fd58acfc4957baa6a0f5ba46a9e9962ba2a15aa38e93bca6d7ca14356ac2600

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