player 1

Dependencies:   4DGL-uLCD-SE PinDetect SparkfunAnalogJoystick mbed-rtos mbed SDFileSystem

Fork of 4180FinalLab by Rishi Bhargava

Wireless 2 Player Pong game

soundBuilder.h

Committer:
jlind6
Date:
2014-06-19
Revision:
1:839d22d423bd
Parent:
0:356124c0bafc
Child:
3:591086e44bf9

File content as of revision 1:839d22d423bd:

#include "Speaker.h"

class Note
{
public:
    // You create your own constructors and 
    // member functions!!
private:
    float freq;
    float length;
    float volume;
};

class SoundBuilder
{
public:
    // Set Sounds
    // Set Songs
    // Play Sounds
    // Play Songs
    // Clear Songs

private:
    Note song[20];
    Speaker *speaker;
    
};