Arkham/elm-chords/2.0.0

NOTE: the latest version is 3.0.0

Chords.Pitch

Represents a note in a certain octave

type Pitch

A Pitch describes a note in a certain octave.

type alias Octave =
Int

The octave of our pitch.

Creating Pitches

build : Note -> Octave -> Pitch

Creates a Pitch.

Manipulating Pitches

transpose : Int -> Pitch -> Pitch

Returns the Pitch transposed by a number of semitones.

Exporting

Converts a Pitch to a Note.