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_PLAYER_H
kohacraft 0:7a56bf0441ea 2 #define MBED_PLAYER_H
kohacraft 0:7a56bf0441ea 3
kohacraft 0:7a56bf0441ea 4 #include "Layer.h"
kohacraft 0:7a56bf0441ea 5
kohacraft 0:7a56bf0441ea 6 class Player {
kohacraft 0:7a56bf0441ea 7 public:
kohacraft 0:7a56bf0441ea 8 Player(char *s1, char *s2 = 0, char *s3 = 0);
kohacraft 0:7a56bf0441ea 9 void play(YMZ294& soundGen, int freq, int shape, int tempo);
kohacraft 0:7a56bf0441ea 10 void rewind();
kohacraft 0:7a56bf0441ea 11
kohacraft 0:7a56bf0441ea 12 private:
kohacraft 0:7a56bf0441ea 13 Layer layer1, layer2, layer3;
kohacraft 0:7a56bf0441ea 14 };
kohacraft 0:7a56bf0441ea 15
kohacraft 0:7a56bf0441ea 16 #endif