Thread: pc speaker sound and chickens...

  1. #1
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459

    pc speaker sound and chickens...

    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... ]
    hasafraggin shizigishin oppashigger...

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    7 Hz is below the threshold of human hearing, it is a subsonic frequency. Your parents won't hear it, but put it at enough power through a ss woofer and they will feel it!
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    yeah i do have a background in the physics of sound so... but the idea was whether or not i could control the amplitude of the signal via a library function, as the range is checked by the sound () function... thanks just the same...
    hasafraggin shizigishin oppashigger...

Popular pages Recent additions subscribe to a feed