Hi I want to know how to add tones in c++ programme. thanks
D Dark Star ex-Mod May 7, 2006 7,099 511 257 Jun 15, 2006 #1 Hi I want to know how to add tones in c++ programme. thanks
B bluediamond Skilled Feb 13, 2005 1,257 35 61 www.archanaonline.com Jun 15, 2006 #2 u meant sounds?? i think there is sound inbuilt function and for which u can give the frequenc to generate the required tone ( me tried long ago in turbo c++.. check out the help section for sound function)
u meant sounds?? i think there is sound inbuilt function and for which u can give the frequenc to generate the required tone ( me tried long ago in turbo c++.. check out the help section for sound function)
D Dark Star ex-Mod May 7, 2006 7,099 511 257 Jun 15, 2006 #3 I mean beeps there was a piano named programme and the were beeps of diff. kind could u help.
B bluediamond Skilled Feb 13, 2005 1,257 35 61 www.archanaonline.com Jun 16, 2006 #4 1. Piano.zip - try downloading.. 2. Playing tones include #include main() { int count = 20; do { sound(440); delay(200); nosound(); sound(220); delay(200); nosound(); count--; }while(count != 0); count = 20; do { sound(110); delay(200); nosound(); sound(220); delay(200); nosound(); count--; }while(count != 0); } Click to expand... search google for more results...
1. Piano.zip - try downloading.. 2. Playing tones include #include main() { int count = 20; do { sound(440); delay(200); nosound(); sound(220); delay(200); nosound(); count--; }while(count != 0); count = 20; do { sound(110); delay(200); nosound(); sound(220); delay(200); nosound(); count--; }while(count != 0); } Click to expand... search google for more results...
D Dark Star ex-Mod May 7, 2006 7,099 511 257 Jun 16, 2006 #5 Hi Thanks i searched and it really worked. can u tell me how to get reputation. what are nickels