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.

Files for chordparser, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size chordparser-0.1.1-py3-none-any.whl (9.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size chordparser-0.1.1.tar.gz (7.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page