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.3.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.3-py3-none-any.whl (168.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: libmogra-0.4.3.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.3.tar.gz
Algorithm Hash digest
SHA256 beb759f74b0c2704b857d3e80a0872a93b1e15614ec91446a147b0246d78c596
MD5 c57ceca65852d383c9bbdee214b5fe66
BLAKE2b-256 4de582086b550dca5d3210a60be094f1b0881bf8c91d22537da2cfab35cadfee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: libmogra-0.4.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 efe5ba52906178181efb8df788d34dfaf2e00e01e55fdabf7cd3364e87e4aa1f
MD5 11837915b6792faa09823f477e80228f
BLAKE2b-256 49c223df7841f6fe2f66f006bf246df1fd2d317e03c7af98641c6e791284e2c2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.4

2 files

0.3.3

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page