home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4668 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.1 KB  |  34 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!ira.uka.de!chx400!bernina!neptune!cbaechle
  3. From: cbaechle@iiic.ethz.ch (Cedric Baechler HE9CUN)
  4. Subject: How to access the speaker with GCC/2
  5. Message-ID: <1992Sep2.122819.14278@neptune.inf.ethz.ch>
  6. Originator: cbaechle@c17
  7. Sender: news@neptune.inf.ethz.ch (Mr News)
  8. Nntp-Posting-Host: c17
  9. Organization: Dept. Informatik, Swiss Federal Institute of Technology (ETH)
  10. Date: Wed, 2 Sep 1992 12:28:19 GMT
  11. Lines: 21
  12.  
  13.  
  14. I have the GCC/2 2.1 C compiler and I'd like to write a small program
  15. to play Morse code.
  16. I don't have any Books about OS/2 so I can't find out how to produce sounds
  17. with the speaker.
  18. What I need:
  19.  
  20. - A function like: sound(int freq)
  21. - a function like: stopsound()
  22. - and a function like: void delay(int milliseconds) that wait for the given
  23. time.
  24.  
  25. Thanks in advance for any help.
  26.  
  27. Regards:
  28. ---
  29. Cedric Baechler, ETH Zurich, Switzerland
  30.   Internet: cbaechle@iiic.ethz.ch, cedric@uska.xgc.imp.com
  31.   UUCP    : impch!ixgch!uska!{cedric,he9cun}
  32.   FidoNet : 2:301/714.74
  33.   X.400   : /S=cedric/OU=uska/OU=xgc/OU=imp/O=com/PRMD=switch/ADMD=arcom/C=CH/
  34.