A music theory library with a command-line interface
A music theory library with a command-line interface
A music calculation library/CLI written in Ruby.
coltrane find chord by notes notes:C-E-G
CM: C E G
To see it on guitar:
…
PS: It looks way better on the terminal , specially on iTerm
You shall provide chords separated by dashes (--chords CM7-Dm7-EM) or notes (--notes C-Ab-F-G).
For example:
…
When on terminal, the command above will highlight the Scales that have all needed notes. The number in the parenthesis show how many chord notes were included.
You may use this command to find a chord that may serve as bridge to a different scale/key (i.e. modulation). Coltrane offers you a command to find common chords shared between both keys/scales. Here is how you use it. Say you wanna transition from C Major to D Natural Minor.
coltrane find common chords in scales
Dm: D F A
Am: A C E
Dm7: D F A C
Am7: A C E G
CM: C E G
FM: F A C
CM6: C E G A
FM6: F A C D
C6/9: C E G A D
F6/9: F A C D G
C6/9(add11): C E G A D F
[...]
You can also see the output in a graphical representation:
…
…
You can say Jazz, Pop, Blues, etc. You can also generate progressions in a custom way, using roman numerals:
coltrane custom progression progression_notation:I-vi-V-iidim representation:Text key:D
Sometimes you wanna see the scale on guitar for improvising:
…
ProTip: You can force the guitar frets visualization for chords too using the --on guitar_frets option.
Perhaps this is the most complex operation that Coltrane performs. It searches the chords on all known scales, generates the progression notation and print in, sorted by notes left out. That is because most songs, specially knowadays, may use chords that contain notes which are outside of that scale.
This command us to analyze songs and discover what they have in common, even tho they have different notes.
Let's say we want to find the possible progressions of Red Hot Chili Pepper's Otherside:
…
PS: Notice that vi-IV-I-V is the well known I-V-vi-IV progression, used in a lot of songs.
Simply type coltrane or coltrane shell to enable interactive mode. You can then run commands without typing coltrane before, E.G.: scale D harmonic minor
Installation is done through the RubyGems package manager:
gem install coltrane
[!NOTE] RubyGems comes packaged with the standard Ruby installation. You can find instructions on how to install Ruby here.
Once you install the gem, the CLI is installed in your system and it's ready to be used.
bundle commandbundle exec rspec specThe gem is available as open source under the terms of the MIT License.
by Pedro Maciel | twitter | [email protected]
No open issues yet, or sync has not completed.