kohacraft Lab
/
kc_YMZ294player
YMZ294 Player. modified from "Yamaguchi's YMZ294 Library" for LPC1114.
Diff: Player/MusicString.h
- Revision:
- 0:7a56bf0441ea
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Player/MusicString.h Wed Dec 09 01:38:08 2015 +0000 @@ -0,0 +1,20 @@ +#ifndef MBED_MUSIC_STRING_H +#define MBED_MUSIC_STRING_H + +#include "Note.h" + +class MusicString { +public: + MusicString(const char *s = 0); + MusicString(const MusicString& ms); + bool isNull(); + Note getNextNote(); + bool hasMoreNote(); + void rewind(); + +private: + const char *mstring; + const char *current; +}; + +#endif \ No newline at end of file