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

This version

6.3.7

Download files

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

Source Distribution

modusa-6.3.7.tar.gz (401.6 kB view details)

Uploaded Source

Built Distribution

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

modusa-6.3.7-py3-none-any.whl (155.5 kB view details)

Uploaded Python 3

File details

Details for the file modusa-6.3.7.tar.gz.

File metadata

  • Download URL: modusa-6.3.7.tar.gz
  • Upload date:
  • Size: 401.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for modusa-6.3.7.tar.gz
Algorithm Hash digest
SHA256 eda58099fb6e6c58418a03d25d5c8f6b4d5e65f211226eae91c5c59920d5601d
MD5 09049a9d3ee13e647d8126ce2e234ad7
BLAKE2b-256 26d36a873c837c11cb50b052e94c45ee6033e1782e9475f49922427fe6bc2459

See more details on using hashes here.

File details

Details for the file modusa-6.3.7-py3-none-any.whl.

File metadata

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

File hashes

Hashes for modusa-6.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 04e1d61f7e764ace5e6ffb16885e091ca3a178565aa24cc0eed3f3a07d37a942
MD5 a7fca4dc68ad2209e98b5a93efc95845
BLAKE2b-256 06c1433b9af30324d14174e3ea7e43d9e2c0196aabed73b95a6ddd523b930f4a

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