Music Player Library for YMZ294 Sound Generator LSI

Dependents:   Workshop_SSG

Player.h

Committer:
yamaguch
Date:
2011-07-06
Revision:
0:85d8bf9fb6fe

File content as of revision 0:85d8bf9fb6fe:

#ifndef MBED_PLAYER_H
#define MBED_PLAYER_H

#include "Layer.h"

class Player {
public:
    Player(char *s1, char *s2 = 0, char *s3 = 0);
    void play(YMZ294& soundGen, int freq, int shape, int tempo);
    void rewind();
    
private:
    Layer layer1, layer2, layer3;
};

#endif