Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandNotes ¶
Explode a sequence of notes into "chords" of those notes that play each as a single note. The number of hands sets how many hands should be playing the pattern.
Types ¶
type Note ¶
type Note int
func NoteOfText ¶
Decode a textual representation of a note. Notes are a letter possibly followed by a sharp or flat sign (in ascii or Unicode). The resulting note will be between middle C and the C above that (for a B#). Returns an error if the not is not valid.
type Scale ¶
type Scale struct { Intervals string // Intervals between the notes, must describe 1 octave. Pattern []int // The pattern for arps. Octaves int // How many octaves for this pattern. Extra int // How many extra patterns to go below start at end. Hands int // How many hands to play }
The description of a scale exercise. This describes how to build a scale exercise.
Click to show internal directories.
Click to hide internal directories.