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-5.0.3.tar.gz (398.8 kB view details)

Uploaded Source

Built Distribution

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

modusa-5.0.3-py3-none-any.whl (154.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for modusa-5.0.3.tar.gz
Algorithm Hash digest
SHA256 eb2b11c3f5ec663e20f5d25e12c3e89821190b6cb8074d978b111450f917b97b
MD5 f8061e5a62672e330101e8d34ce7c72e
BLAKE2b-256 cc59a561fb2fe8bf367a478218cc23a4485f4708847f7dd672abd2d6b5c54c2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modusa-5.0.3-py3-none-any.whl
  • Upload date:
  • Size: 154.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-5.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ca3055834b080848d64ba4783c4c57eecc273784978c94b79b14cdb300f5973a
MD5 955c04eb6c4ec5bc634a3fc825be38aa
BLAKE2b-256 9bf8a2f0f717f27553b5860b4291ad2ffacd521f477a08db8ea024fd688f8e9e

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