Generate an accompaniement for a given melody
|
Fully describes a note (name + accidental) More...
#include <Music.hpp>
Public Member Functions | |
CompleteNoteName (NoteName n=NoteName::C, Accidental mod=Accidental::None) | |
Constructor for CompleteNoteName. More... | |
bool | operator== (const CompleteNoteName &o) const __attribute__((pure)) |
Comparison operator for CompleteNoteName. More... | |
bool | operator!= (const CompleteNoteName &o) const __attribute__((pure)) |
Difference operator for CompleteNoteName. More... | |
Public Attributes | |
NoteName | m_name |
Name of the note (C,D,...) | |
Accidental | m_modifier |
Accidental of the note (sharp, flat,none) | |
Fully describes a note (name + accidental)
CompleteNoteName::CompleteNoteName | ( | NoteName | n = NoteName::C , |
Accidental | mod = Accidental::None |
||
) |
Constructor for CompleteNoteName.
n | Name of the note (C,D,...) |
mod | Accidental of the note (sharp, flat,none) |
bool CompleteNoteName::operator!= | ( | const CompleteNoteName & | o | ) | const |
Difference operator for CompleteNoteName.
bool CompleteNoteName::operator== | ( | const CompleteNoteName & | o | ) | const |
Comparison operator for CompleteNoteName.
k | is the key in which we transpose the chord progression |