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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file chordparser-0.3.4.tar.gz.

File metadata

  • Download URL: chordparser-0.3.4.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4

File hashes

Hashes for chordparser-0.3.4.tar.gz
Algorithm Hash digest
SHA256 68c08dc57947be1005e1b9c1791bf4bfa56a3b34275409ce3c346c57288683f2
MD5 ced5c214682aa239cc6551544a6d8404
BLAKE2b-256 4ce4cf2f8f28c64d0605625c47b702b158365fa996263abd22123dceaf47b992

See more details on using hashes here.

File details

Details for the file chordparser-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: chordparser-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4

File hashes

Hashes for chordparser-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fe047d3f54efee16c928a71c57f65ffc8310cbbab978f8888d39af02e7b0201a
MD5 e681958af7e184c0525d676635075dbf
BLAKE2b-256 3c9da37cba6674404d65137e6f3b14a6b1366bbc3f420c850ac5737ead2a3caf

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