YMZ294 Player. modified from "Yamaguchi's YMZ294 Library" for LPC1114.

Dependencies:   mbed

Committer:
kohacraft
Date:
Wed Dec 09 01:38:08 2015 +0000
Revision:
0:7a56bf0441ea
YMZ294 Player. modified from "Yamaguchi's YMZ294 Library" for LPC1114

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kohacraft 0:7a56bf0441ea 1 #ifndef MBED_MUSIC_STRING_H
kohacraft 0:7a56bf0441ea 2 #define MBED_MUSIC_STRING_H
kohacraft 0:7a56bf0441ea 3
kohacraft 0:7a56bf0441ea 4 #include "Note.h"
kohacraft 0:7a56bf0441ea 5
kohacraft 0:7a56bf0441ea 6 class MusicString {
kohacraft 0:7a56bf0441ea 7 public:
kohacraft 0:7a56bf0441ea 8 MusicString(const char *s = 0);
kohacraft 0:7a56bf0441ea 9 MusicString(const MusicString& ms);
kohacraft 0:7a56bf0441ea 10 bool isNull();
kohacraft 0:7a56bf0441ea 11 Note getNextNote();
kohacraft 0:7a56bf0441ea 12 bool hasMoreNote();
kohacraft 0:7a56bf0441ea 13 void rewind();
kohacraft 0:7a56bf0441ea 14
kohacraft 0:7a56bf0441ea 15 private:
kohacraft 0:7a56bf0441ea 16 const char *mstring;
kohacraft 0:7a56bf0441ea 17 const char *current;
kohacraft 0:7a56bf0441ea 18 };
kohacraft 0:7a56bf0441ea 19
kohacraft 0:7a56bf0441ea 20 #endif