Skip to main content

Parse and analyse chords

Project description

A Python 3 package that provides a musical framework to analyse chords.

build status coverage downloads downloads

chordparser aims to act as a framework for harmonic analysis of chords based on keys and scales. This helps in understanding how each chord functions, and allows for the conversion to roman numeral chord notation.

Musical classes have been grouped into Notes, Keys, Scales, Chords and Romans as the foundation for analysing chords. Chord notation can be parsed as string input and converted to Chords, which have been built on the other classes.

The Parser is a one-stop shop for creating, manipulating and analysing the musical classes. It can be used to analyse the following chords: diatonic chords, mode mixture/ borrowed chords (from other modes), secondary dominant chords (e.g. V/V), secondary leading tone chords.

chordparser can be incorporated into Songbooks easily with its ability to transpose chords correctly. Check out the Colab notebook on how you can do that and perform more advanced manipulation with other functions available in chordparser.

Install

>>> pip -install chordparser

Features

  • Create and manipulate notes, keys, scales and chords easily

  • Accept complex chord notations

  • Transpose musical classes for easy transposition

  • Automatically-generate notes for scales and chords

  • Parse and store chord information on its quality, chord tones, and other sus/add/bass notes

  • Generate roman numeral notation

  • Analyse chord-scale relationships

Usage

Check out the Colab notebook.

Project details


Download files

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

Source Distribution

chordparser-0.3.4.tar.gz (23.9 kB view hashes)

Uploaded Source

Built Distribution

chordparser-0.3.4-py3-none-any.whl (21.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page