A scripting environment used to define precise output/input temporal relationships.

Dependencies:   SMARTWAV mbed HelloWorld

Dependents:   perturbRoom_legacy

Fork of HelloWorld by Simon Ford

soundControl.h

Committer:
mkarlsso
Date:
2014-09-25
Revision:
4:34aca2142df9
Parent:
2:298679fff37c

File content as of revision 4:34aca2142df9:

#include "mbed.h"
#include "SMARTWAV.h"
#include <stdint.h>
#include <string.h>
#include <string>
#include <vector>
#include <queue>


class soundControl {

public:
    soundControl(void);
    void setFile(string fileNameIn);
    void setVolume(int* volumeIn);
    void setVolume(int volumeIn);
    void setPlayback(bool playIn);
    void setReset();
    void execute();

private:
    char fileName[21];
    bool fileNameExists;
    int* volumePtr;
    int volume;
    bool play;
    bool reset;
    
    
};