Chords

A chord generator lib for guitar-like instruments.

Using via gem (hosted at rubygems.org)


$ sudo gem install chords $ chords -h

Using at Heroku


Chords is also hosted at Heroku (chords.heroku.com) where you can use it through a web interface.

Running irb under chords/lib:


>> require ‘rubygems’

> true

>> require ‘chords’

> true

>> include Chords

> Object

>> Fretboard.standard.print E.major, :duplicates => 3, :max_fret_distance => 2

E: –0—-0—-0—-0—12—-7—-0—12—-7– B: –9—-0—-0—12—12—-9—12—12—-9– G: –9—-9—-1—13—13—-9—13—13—-9– D: –9—-9—-2—14—14—-9—14—14—-9– A: -11—11—-2—14—14—-7—14—14—-7– E: –0—-0—-0—-0—-0—-0—12—12—-7–

Total 9 fingerings.

> nil

>>