Interval is a tiny library that provides simple musicial note pitch and interval arithmetic.
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
script
spec
.gitignore
LICENSE
README.mkd
Rakefile
TODO

README.mkd

Interval

Interval is a tiny library that provides simple musicial note pitch and interval arithmetic.

Observe:

>> p = Interval::Pitch.from_string("c")
>> i = Interval::Interval.from_string("M3")
>> p2 = p + i
>> p2.to_short_name
=> "e"

Authors

Nate Murray 2009

based on code from GNU Solfege