|
| SongPlayer (const Melody &m, const ChordProgression &c) |
|
| SongPlayer (const SongPlayer &o)=delete |
|
SongPlayer & | operator= (const SongPlayer &o)=delete |
|
void | setSong (const Melody &m, const ChordProgression &c=ChordProgression()) |
|
void | play () |
|
void | pause () |
|
void | setGlobalVolume (float vol) |
|
void | setChordVolume (float vol) |
|
void | setMelodyVolume (float vol) |
|
float | getGlobalVolume () const |
|
float | getChordVolume () const |
|
float | getMelodyVolume () const |
|
void | mute () |
|
void | muteChord () |
|
void | muteMelody () |
|
void | unmute () |
|
void | unmuteChord () |
|
void | unmuteMelody () |
|
bool | isMute () const |
|
bool | isChordMute () const |
|
bool | isMelodyMute () const |
|
void | setBPM (unsigned BPM) |
|
unsigned | getBPM () const |
|
void | setPosition (const Time &p) |
|
Time | getPosition () const |
|
Time | getDuration () const |
|
void | setRepeat (bool r) |
|
bool | getRepeat () const |
|
void | stop () |
|
| operator bool () const |
|
bool | isFinished () const |
|
The documentation for this class was generated from the following file: