[][src]Module ukebox::note

Structs

Note

A note such a C, C# and so on.

Enums

Interval

An interval is the difference between two notes. https://en.wikipedia.org/wiki/Interval_(music)

PitchClass

A pitch class is "a set of all pitches that are a whole number of octaves apart, e.g., the pitch class C consists of the Cs in all octaves." https://en.wikipedia.org/wiki/Pitch_class

StaffPosition

The vertical position of the notehead on the staff (on a line or in a space). We use the staff position of an enharmonic note to decide whether it is sharp or flat.

Type Definitions

Semitones

The number of semitones (corresponds to the number of frets) to move from one note or pitch class to another.