Oops

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)
 
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);

}

search google for more results...
 
Back
Top