Skip to main content

Parse and analyse chords

Project description

A simple Python 3 package to analyse chords.

build status coverage downloads downloads

chordparser aims to parse chord notation (e.g. in ChordPro file formats), and provide harmonic analysis of chords based on the key and nearby chords. This helps in understanding how each chord functions, and allows for conversion to roman numeral chord notation.

The chord functions that can be analysed are: diatonic chords, mode mixture/ borrowed chords (from other modes), secondary dominant chords (e.g. V/V), secondary leading tone chords.

chordparser will provide a simple ChordPro parser for demonstration of its chord analysis functions. It is not as full-featured as the official ChordPro program, and does not aim to be. Rather, it serves as a proof-of-concept for analysing chords within the chord progression of songs.

Install

>>> pip -install chordparser

Current Features

  • Parse notes

  • Parse keys with different modes and submodes (e.g. harmonic/natural/melodic for minor)

  • Scale with automatically-generated notes and diatonic chords

  • Ability to transpose notes, keys and scales

  • Parse chords

    • Root note, quality, triad, bass note

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.1.1.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

chordparser-0.1.1-py3-none-any.whl (9.4 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