Skip to main content

libmogra

A Python Toolbox for Indian (Classical) Music

The Why

For playing around (understanding, modifying, etc.) with music & audio specifically in the Indian context. Music theory standardization as well as tool development has been done extensively for western music, but other music cultures lag behind. This library will start with small features, but the dream is to have a Photoshop for Indian music.

The What

This is intended to be a higher-level layer on top of the widely used librosa. If you must have an acronym, here it is: a LIBrary for the Manipulation, Organization, Generation, and Raag-aware Analysis of music. If that's too much, think of mogra the flower :)

mogra CLI

pip install libmogra

will also install the mogra command-line interface.

To find info about a raag

mogra info bairagi

To visualize its tonnetz diagram (if available)

mogra info bairagi --tonnetz=window

To look at just the Tonnetz diagram by itself

mogra info all --tonnetz=window

To search for a raag given its notes among SrRgGmMPdDnN (note: follow the convention m = shuddha and M = teevra)

mogra search SrmPn

Download files

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

Source Distribution

libmogra-0.4.2.tar.gz (73.5 kB view details)

Uploaded Source

Built Distribution

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

libmogra-0.4.2-py3-none-any.whl (168.0 kB view details)

Uploaded Python 3

File details

Details for the file libmogra-0.4.2.tar.gz.

File metadata

  • Download URL: libmogra-0.4.2.tar.gz
  • Upload date:
  • Size: 73.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Darwin/24.1.0

File hashes

Hashes for libmogra-0.4.2.tar.gz
Algorithm Hash digest
SHA256 3d95eb58f12f7c76f9a5f10b0797e7bf79fa0b75271ba825bb6e9269c6f8d929
MD5 ef18e03e10234b19e39a28c9d24320fb
BLAKE2b-256 10e069c505e2595dba095f70cd40786ea2d2da1817d2926646207f05bdc48137

See more details on using hashes here.

File details

Details for the file libmogra-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: libmogra-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 168.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Darwin/24.1.0

File hashes

Hashes for libmogra-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ad308321e56da630d9b24941c9a5c967a3965e95b6b0abf53d8c83ffeb12081c
MD5 a17daad6a508a681da85658e0098047f
BLAKE2b-256 d2276237baad7d4ca85b2202a7072210df7ea0c9a1f0819bec67b57a0f5b272e

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 Sentry Error logging StatusPage Status page