musical-plots

Using matplotlib in the interest of music.

MIT License

Stars
6

Musical Plots

This repo uses matplotlib to plot some cool things:

  • Circle of Fifths:
    Can specify a root to highlight it's major key and the relative minor key.
  • Hexes of Tenths (a structure made up by me):
    Can specify a root and an array of intervals which make up a chord or a scale.
  • Fretboard:
    Can specify a root and an array of intervals which make up a chord or a scale. Can also specify fret count and string tuning.
  • Keyboard:
    Can specify a root and an array of intervals which make up a chord or a scale. Can also specify number of octaves to display.

There is also a chord constructor in chords.py. You can give it an input such as "1-b3-5-b7" and it will create the necessary array of intervals, which is used by the actual plots.

Examples

Hexes of Tenths, G# Minor scale.

Circle of Fifths, C Major key (with relative A Minor key).

Guitar (6-string, standard)

Fretboard, G Minor Pentatonic

Fretboard, Hendrix Chord (notes highlighted, not the actual position)

Keyboard

Piano, A Flat Major

Piano, C Blues

Bass (4-string, standard)

Violin