83 unsigned char Snap(
int nNote)
const;
86 std::set<unsigned char> mNotes;
The notes AxeTrack plays on a guitar track, looped over the length of the track.
Definition axecontour.h:19
void AddNote(unsigned char nNote)
Add a note and move the middle of the range to fit it.
void SnapContour(AxeContour *pContour, int nTranspose) const
Move the notes of a contour onto the harmony, centred on its range.
unsigned char GetLowest() const
Report the lowest note.
AxeHarmony()
Construct a harmony with no notes.
~AxeHarmony()
Release the notes.
unsigned char GetHighest() const
Report the highest note.
unsigned char Snap(int nNote) const
Report the note of the harmony nearest a note.