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

Dependencies:   mbed

Player/MusicString.h

Committer:
kohacraft
Date:
2015-12-09
Revision:
0:7a56bf0441ea

File content as of revision 0:7a56bf0441ea:

#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