Arkham/elm-chords/2.0.0

NOTE: the latest version is 3.0.0

Instruments.Guitar

A guitar representation.

type alias Config =
{ tuning : Tuning
, numFrets : Int
}

Configure your guitar by passing a tuning and the number of frets.

type alias Tuning =
List Pitch

The tuning of a guitar corresponds to the pitches of the strings, when they are played in the open position.

Defaults

defaultTuning : Tuning

The default tuning of a guitar.

Find voicings

voicings : Config -> Chord -> List Voicing

Returns a list of possible voicings of a chord on a guitar fretboard.