Skip to content

erhant/musical-plots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

1

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

2

Guitar (6-string, standard)

Fretboard, G Minor Pentatonic

3

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

4

Keyboard

Piano, A Flat Major

5

Piano, C Blues

6

Bass (4-string, standard)

7

Violin

8