Starter code for Georgia Tech ECE 2036 Summer 2014 Lab 2
Dependencies: 4DGL-uLCD-SE PinDetect mbed
soundBuilder.h
00001 #include "Speaker.h" 00002 00003 class Note 00004 { 00005 public: 00006 // You create your own constructors and 00007 // member functions!! 00008 private: 00009 float freq; 00010 float length; 00011 float volume; 00012 }; 00013 00014 class SoundBuilder 00015 { 00016 public: 00017 // Set Sounds 00018 // Set Songs 00019 // Play Sounds 00020 // Play Songs 00021 // Clear Songs 00022 00023 private: 00024 Note song[20]; 00025 Speaker *speaker; 00026 00027 };
Generated on Mon Aug 8 2022 21:18:21 by
1.7.2