kohacraft Lab
/
kc_YMZ294player
YMZ294 Player. modified from "Yamaguchi's YMZ294 Library" for LPC1114.
Player/Layer.h
- Committer:
- kohacraft
- Date:
- 2015-12-09
- Revision:
- 0:7a56bf0441ea
File content as of revision 0:7a56bf0441ea:
#ifndef MBED_LAYER_H #define MBED_LAYER_H #include "YMZ294.h" #include "MusicString.h" class Layer { public: Layer(); Layer(MusicString& ms); int play(YMZ294& soundGen, Ch channel, int tick, bool attenuate); void rewind(); bool isNull(); private: MusicString ms; Note note; int tick; }; #endif