Turn on PC speakers at the specified frequency

From , 3 Years ago, written in C, viewed 93 times.
URL https://pastebin.vip/view/426f990b
  1. /* Emits a 7-Hz tone for 10 seconds.
  2.    Your PC may not be able to emit a 7-Hz tone. */
  3. #include <dos.h>
  4.  
  5. int main(void)
  6. {
  7.    sound(7);
  8.    delay(10000);
  9.    nosound();
  10.    return 0;
  11. }
  12.  

Reply to "Turn on PC speakers at the specified frequency"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website