All Projects โ†’ pedrozath โ†’ Coltrane

pedrozath / Coltrane

Licence: mit
๐ŸŽน๐ŸŽธA music theory library with a command-line interface

Programming Languages

ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to Coltrane

Unimidi
Realtime MIDI IO for Ruby
Stars: โœญ 229 (-63.36%)
Mutual labels:  music, gem
Auryo
Auryo - Unofficial Soundcloud Desktop App
Stars: โœญ 611 (-2.24%)
Mutual labels:  music
Musicrepair
Fixes music metadata and adds album art.
Stars: โœญ 566 (-9.44%)
Mutual labels:  music
Warez
All your base are belong to us!
Stars: โœญ 584 (-6.56%)
Mutual labels:  music
Monstercat Visualizer
A real time audio visualizer for Rainmeter similar to the ones used in the Monstercat videos.
Stars: โœญ 571 (-8.64%)
Mutual labels:  music
Orin
Fork of @kabouzied Phonograph, I always wanted to try my hands on Tunzo's material design music player concept which can be found here: https://www.uplabs.com/posts/a-music-player-in-material-design-a-concept ... Work in progress.
Stars: โœญ 587 (-6.08%)
Mutual labels:  music
Cplayer
A beautiful and clean WEB Music Player by HTML5.
Stars: โœญ 556 (-11.04%)
Mutual labels:  music
Videoshow
Simple node.js utility to create video slideshows from images with optional audio and visual effects using ffmpeg
Stars: โœญ 618 (-1.12%)
Mutual labels:  music
Webaudiofont
Use full GM set of musical instruments to play MIDI and single sounds or effects. Support for reverberation and equaliser. No plugins, no Flash. Pure HTML5 implementation compatible with desktop and mobile browser. See live examples.
Stars: โœญ 600 (-4%)
Mutual labels:  music
Xspear
Powerfull XSS Scanning and Parameter analysis tool&gem
Stars: โœญ 583 (-6.72%)
Mutual labels:  gem
Audio Visualizer Android
๐ŸŽต [Android Library] A light-weight and easy-to-use Audio Visualizer for Android.
Stars: โœญ 581 (-7.04%)
Mutual labels:  music
Sound Redux
A Soundcloud client built with React / Redux
Stars: โœญ 5,043 (+706.88%)
Mutual labels:  music
Muse
An open-source Spotify controller with TouchBar support
Stars: โœญ 594 (-4.96%)
Mutual labels:  music
Filemasta
A search application to explore, discover and share online files
Stars: โœญ 571 (-8.64%)
Mutual labels:  music
Node Sonos
๐Ÿ”ˆ Sonos Media Player Interface/Client
Stars: โœญ 615 (-1.6%)
Mutual labels:  music
Homehost
self-hosted, Netflix-like app made for streaming
Stars: โœญ 564 (-9.76%)
Mutual labels:  music
Jetpack Musicplayer
ๅณไฝฟไธ็”จไบ‘้Ÿณไนๅฌๆ›ฒๅ„ฟ๏ผŒไนŸ่ฏทๅŠกๅฟ…ๆ”ถ่—ๅฅฝ่ฏฅๅบ“๏ผ๐Ÿ”ฅ ไธ€่กŒไปฃ็ ๅณๅฏๆŽฅๅ…ฅ๏ผŒ้Ÿณไนๆ’ญๆ”พๆŽงๅˆถ็ป„ไปถ - Even if you don't listen to the music by Spotify, be sure to collect this library, please! ๐Ÿ”ฅ This music player component can be accessed by only one line of code. Supporting by LiveData & AndroidX.
Stars: โœญ 577 (-7.68%)
Mutual labels:  music
Sonobus
Source code for SonoBus, a real-time network audio streaming collaboration tool.
Stars: โœญ 586 (-6.24%)
Mutual labels:  music
Chord
Chord - A Modern Music Player
Stars: โœญ 615 (-1.6%)
Mutual labels:  music
Opsu
opsu! ~ an open-source osu! client
Stars: โœญ 617 (-1.28%)
Mutual labels:  music

Build Status Gem Version Maintainability Test Coverage

Coltrane

A music calculation library/CLI written in Ruby.

Coltrane

CLI (Command Line Interface)

Screenshot Screenshot

Features

  • Generate chord progressions for Jazz, Blues, Pop, or custom and see how to play them
  • Seek chords, see their notes and how to play them
  • Seek scales, see their notes and see how to play them
  • Find chords that are common between 2 scales
  • Find scales containing a chord or a set of notes
  • Find possible progressions of a chord sequence
  • All of the above can be seen on guitar, bass, piano or ukelele representations, no sheet music needed

How to discover a chord name using the notes

coltrane chords --notes C-E-G

CM:  C E G

To see it on guitar:

coltrane chords --notes C-E-G --on guitar

CM:

   โฌค    โฌค  โฌค   โฌค    โฌค  โฌค   โฌค    โฌค             โฌค  โฌค
   โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘    โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘    โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘    โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘
3  โ”‚ โฌคโ”‚ โ”‚ โ”‚ โ”‚ 8  โ”‚ โ”‚ โ”‚ โ”‚ โฌคโ”‚ 3  โ”‚ โฌคโ”‚ โ”‚ โ”‚ โฌค1  โ”‚ โ”‚ โ”‚ โ”‚ โฌคโ”‚
   โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ
4  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 9  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 4  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 2  โ”‚ โ”‚ โฌคโ”‚ โ”‚ โ”‚
   โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ
5  โ”‚ โ”‚ โฌคโ”‚ โฌคโ”‚ 10 โ”‚ โฌคโฌคโ”‚ โ”‚ โ”‚ 5  โ”‚ โ”‚ โฌคโ”‚ โฌคโ”‚ 3  โฌคโฌคโ”‚ โ”‚ โ”‚ โ”‚
   โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ
6  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 11 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 6  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 4  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚
   โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™    โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™    โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™    โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™

PS: It looks way better on the terminal ๐Ÿ˜’, specially on iTerm

How to discover a Scale by providing chords

You shall provide chords separated by dashes (--chords CM7-Dm7-EM) or notes (--notes C-Ab-F-G).

For example:

coltrane find-scale --chords E6/9-BM

Pentatonic Major C(1) C#(3) D(3) D#(1) E(5) F(0) F#(4) G(2) G#(2) A(4) A#(0) B(5)
Blues Major      C(2) C#(4) D(3) D#(2) E(5) F(1) F#(4) G(2) G#(3) A(4) A#(1) B(5)
Harmonic Minor   C(3) C#(5) D(2) D#(4) E(4) F(3) F#(4) G(2) G#(5) A(3) A#(3) B(4)
Hungarian Minor  C(2) C#(6) D(2) D#(4) E(3) F(3) F#(5) G(1) G#(5) A(3) A#(4) B(4)
Pentatonic Minor C(1) C#(5) D(0) D#(4) E(2) F(2) F#(4) G(0) G#(5) A(1) A#(3) B(3)
Blues Minor      C(2) C#(5) D(1) D#(4) E(2) F(3) F#(4) G(1) G#(5) A(2) A#(4) B(3)
Whole Tone       C(3) C#(3) D(3) D#(3) E(3) F(3) F#(3) G(3) G#(3) A(3) A#(3) B(3)
Flamenco         C(3) C#(4) D(2) D#(5) E(3) F(3) F#(4) G(3) G#(5) A(2) A#(4) B(4)
Major            C(2) C#(4) D(4) D#(2) E(6) F(1) F#(5) G(3) G#(3) A(5) A#(1) B(6)
Natural Minor    C(2) C#(6) D(1) D#(5) E(3) F(3) F#(5) G(1) G#(6) A(2) A#(4) B(4)

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.

How to find common chords

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 common-chords C Major, D Natural Minor

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, whenever it fits, add an --on <instrument> to see the output in a graphical representation:

coltrane common-chords C Major, D Natural Minor --on piano

Dm:

โ”Œโ”€โ”ฌโ”€โ”ฌโ”ฌโ”€โ”ฌโ”€โ•ฅโ”€โ”ฌโ”€โ”ฌโ”ฌโ”€โ”ฌโ”ฌโ”€โ”ฌโ”€โ•ฅโ”€โ”ฌโ”€โ”ฌโ”ฌโ”€โ”ฌโ”€โ•ฅโ”€โ”ฌโ”€โ”ฌโ”ฌโ”€โ”ฌโ”ฌโ”€โ”ฌโ”€โ”
โ”‚ โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚โ”‚ โ”‚ โ”‚
โ”‚ โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚โ”‚ โ”‚ โ”‚
โ”‚ โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚โ”‚ โ”‚ โ”‚
โ”‚ โ”•โ•ฅโ”™โ”•โ•ฅโ”™ โ•‘ โ”•โ•ฅโ”™โ”•โ•ฅโ”™โ”•โ•ฅโ”™ โ•‘ โ”•โ•ฅโ”™โ”•โ•ฅโ”™ โ•‘ โ”•โ•ฅโ”™โ”•โ•ฅโ”™โ”•โ•ฅโ”™ โ”‚
โ”‚  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ”‚
โ”‚  โ•‘Dโ™ฎโ•‘  โ•‘Fโ™ฎโ•‘  โ•‘Aโ™ฎโ•‘  โ•‘  โ•‘Dโ™ฎโ•‘  โ•‘Fโ™ฎโ•‘  โ•‘Aโ™ฎโ•‘  โ”‚
โ””โ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ”˜

Am:

โ”Œโ”€โ”ฌโ”€โ”ฌโ”ฌโ”€โ”ฌโ”€โ•ฅโ”€โ”ฌโ”€โ”ฌโ”ฌโ”€โ”ฌโ”ฌโ”€โ”ฌโ”€โ•ฅโ”€โ”ฌโ”€โ”ฌโ”ฌโ”€โ”ฌโ”€โ•ฅโ”€โ”ฌโ”€โ”ฌโ”ฌโ”€โ”ฌโ”ฌโ”€โ”ฌโ”€โ”
โ”‚ โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚โ”‚ โ”‚ โ”‚
โ”‚ โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚โ”‚ โ”‚ โ”‚
โ”‚ โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚ โ•‘ โ”‚ โ”‚โ”‚ โ”‚โ”‚ โ”‚ โ”‚
โ”‚ โ”•โ•ฅโ”™โ”•โ•ฅโ”™ โ•‘ โ”•โ•ฅโ”™โ”•โ•ฅโ”™โ”•โ•ฅโ”™ โ•‘ โ”•โ•ฅโ”™โ”•โ•ฅโ”™ โ•‘ โ”•โ•ฅโ”™โ”•โ•ฅโ”™โ”•โ•ฅโ”™ โ”‚
โ”‚  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ•‘  โ”‚
โ”‚Cโ™ฎโ•‘  โ•‘Eโ™ฎโ•‘  โ•‘  โ•‘Aโ™ฎโ•‘  โ•‘Cโ™ฎโ•‘  โ•‘Eโ™ฎโ•‘  โ•‘  โ•‘Aโ™ฎโ•‘  โ”‚
โ””โ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ•จโ”€โ”€โ”˜

[...]

Quickly generate chord progressions

coltrane progression jazz in A --on guitar

Bm7:

       โฌค  โฌค       โฌคโฌค  โฌค       โฌคโฌค           โฌค    โฌค
   โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘    โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘    โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘    โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘
2  โฌคโฌคโ”‚ โฌคโ”‚ โฌค2  โฌคโ”‚ โ”‚ โ”‚ โ”‚ โฌค2  โฌคโ”‚ โ”‚ โ”‚ โ”‚ โฌค9  โ”‚ โ”‚ โฌคโ”‚ โ”‚ โ”‚
   โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ
3  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 3  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 3  โ”‚ โ”‚ โ”‚ โ”‚ โฌคโ”‚ 10 โฌคโ”‚ โ”‚ โ”‚ โ”‚ โฌค
   โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ
4  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 4  โ”‚ โ”‚ โ”‚ โฌคโ”‚ โ”‚ 4  โ”‚ โ”‚ โ”‚ โฌคโ”‚ โ”‚ 11 โ”‚ โ”‚ โ”‚ โฌคโ”‚ โ”‚
   โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ
5  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 5  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 5  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 12 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚
   โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™    โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™    โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™    โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™


E7:

   โฌค  โฌค  โฌคโฌค           โฌคโฌค   โฌค      โฌคโฌค   โฌค  โฌค    โฌค
   โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘    โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘    โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘    โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘
1  โ”‚ โ”‚ โ”‚ โฌคโ”‚ โ”‚ 6  โ”‚ โ”‚ โฌคโ”‚ โ”‚ โ”‚ 4  โ”‚ โ”‚ โ”‚ โฌคโ”‚ โ”‚ 1  โ”‚ โ”‚ โ”‚ โฌคโ”‚ โ”‚
   โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ
2  โ”‚ โฌคโ”‚ โ”‚ โ”‚ โ”‚ 7  โฌคโฌคโ”‚ โฌคโ”‚ โ”‚ 5  โ”‚ โฌคโ”‚ โ”‚ โ”‚ โ”‚ 2  โ”‚ โฌคโ”‚ โ”‚ โ”‚ โ”‚
   โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ
3  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 8  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 6  โ”‚ โ”‚ โฌคโ”‚ โ”‚ โ”‚ 3  โ”‚ โ”‚ โ”‚ โ”‚ โฌคโ”‚
   โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ
4  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 9  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 7  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 4  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚
   โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™    โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™    โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™    โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™


A7:

   โฌคโฌค  โฌค  โฌค   โฌคโฌค      โฌค   โฌคโฌค           โฌคโฌค  โฌค
   โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘    โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘    โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘    โ”โ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”ฏโ”โ”‘
10 โ”‚ โ”‚ โ”‚ โ”‚ โฌคโ”‚ 5  โ”‚ โ”‚ โฌคโ”‚ โฌคโ”‚ 5  โ”‚ โ”‚ โฌคโ”‚ โฌคโฌค9  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โฌค
   โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ
11 โ”‚ โ”‚ โฌคโ”‚ โ”‚ โ”‚ 6  โ”‚ โ”‚ โ”‚ โฌคโ”‚ โ”‚ 6  โ”‚ โ”‚ โ”‚ โฌคโ”‚ โ”‚ 10 โ”‚ โ”‚ โ”‚ โ”‚ โฌคโ”‚
   โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ
12 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 7  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 7  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 11 โ”‚ โ”‚ โฌคโ”‚ โ”‚ โ”‚
   โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ    โ”โ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฟโ”โ”ฅ
13 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 8  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 8  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 12 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚
   โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™    โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™    โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™    โ”•โ”โ”ทโ”โ”ทโ”โ”ทโ”โ”ทโ”โ”™

You can say Jazz, Pop, Blues, etc. You can also generate progressions in a custom way, using roman numerals:

coltrane progression I-vi-V-iidim in D

Generate fretboard sheets for improvising

Sometimes you wanna see the scale on guitar for improvising:

coltrane scale F pentatonic --on guitar

F Pentatonic Major:

E -- | F  -- G  -- A  -- -- C  -- D  -- -- F  -- G  -- A  -- -- C  -- D  --
A A  | -- -- C  -- D  -- -- F  -- G  -- A  -- -- C  -- D  -- -- F  -- G  --
D D  | -- -- F  -- G  -- A  -- -- C  -- D  -- -- F  -- G  -- A  -- -- C  --
G G  | -- A  -- -- C  -- D  -- -- F  -- G  -- A  -- -- C  -- D  -- -- F  --
B -- | C  -- D  -- -- F  -- G  -- A  -- -- C  -- D  -- -- F  -- G  -- A  --
E -- | F  -- G  -- A  -- -- C  -- D  -- -- F  -- G  -- A  -- -- C  -- D  --

             03    05    07    09       12       15    17    19

The same work for --on piano, --on bass, -- on ukulele, etc.

You can also see the chords by typing --tertians <size> or --chords [size]. --tertians will give you chords by sequential thirds while --chords will give you all chords with supplied size (or simply all if empty).

ProTip: You can force the guitar frets visualization for chords too using the --on guitar_frets option.

Finding the progression of a chord sequence

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:

coltrane find-progression Am-F-C-G

i-VI-III-VII   in A Natural Minor (0 notes out)
vi-IV-I-V      in C Major (0 notes out)
iii-I-V-II     in F Major (1 notes out)
vi-III-VII-IV  in D Hungarian Minor (1 notes out)
v-III-VII-IV   in D Natural Minor (1 notes out)
ii-VII-IV-I    in G Hungarian Minor (2 notes out)
ii-VII-IV-I    in G Natural Minor (2 notes out)
vii-V-II-VI    in A# Major (2 notes out)
iv-II-V-III    in D Pentatonic Minor (2 notes out)
v-II-VI-III    in D Blues Minor (2 notes out)
iii-I-IV-II    in F Pentatonic Major (2 notes out)
iv-I-V-II      in F Blues Major (2 notes out)

PS: Notice that vi-IV-I-V is the well known I-V-vi-IV progression, used in a lot of songs.

Interactive mode (shell)

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

$ gem install coltrane

PS: Once you install the gem the CLI is instaled in your system and it's ready to be used.

Any questions? Feature requests? Bugs?

  1. Find me on Twitter. I'll be glad to answer.
  2. Open an issue.
  3. Join our chatroom

Extra

Contributing

We are looking for contributors. Find me on our chatroom if you need any kind of information.

How to contribute

  1. Fork this code
  2. Install the test suite (RSpec) by running good old bundle command
  3. Make your changes and maybe write a test or two.
  4. Check if specs pass bundle exec rspec spec
  5. Submit a PR.

License

The gem is available as open source under the terms of the MIT License.

by Pedro Maciel | twitter | [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].