Code:
/* Emits a 7-Hz tone for 10 seconds.
True story: 7 Hz is the resonant
frequency of a chicken's skull cavity.
This was determined empirically in
Australia, where a new factory
generating 7-Hz tones was located too
close to a chicken ranch: When the
factory started up, all the chickens
died.
Your PC may not be able to emit a 7-Hz tone. */
#include <dos.h>
int main(void)
{
sound(7);
delay(10000);
nosound();
return 0;
}
i got this example from the BC45 help... i've used this before and am familiar with it... however can we adjust the intensity of the signal? thank you...
[i'd thought it'd make a good funny... that, and i don't wanna wake my folks when i'm pulling an all nighter... y'know, 2 AM in tomorrow... ]