home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!usc!rpi!uwm.edu!linac!uchinews!ellis!sip1
- From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
- Subject: Re: MMPM/2 and PC speaker
- Message-ID: <1993Jan21.231136.8615@midway.uchicago.edu>
- Sender: news@uchinews.uchicago.edu (News System)
- Reply-To: sip1@midway.uchicago.edu
- Organization: Dept. of Econ., Univ. of Chicago
- References: <1993Jan17.005410.1297@yvax.byu.edu> <1993Jan21.201216.21162@njitgw.njit.edu>
- Date: Thu, 21 Jan 1993 23:11:36 GMT
- Lines: 26
-
- In article <1993Jan21.201216.21162@njitgw.njit.edu> dic5340@hertz.njit.edu (David Charlap) writes:
- >There exists the DosBeep() function for simple beeping type sounds. You
- >can get a useable range of sounds with that (ask any Turbo Pascal 3.x
- >programmer!). As for digitized sound, the timings involved are too
- >critical for any multitasker to handle properly.
-
- You didn't mean that, did you? :-)
-
- To clarify, MMPM/2 is one darn good platform for multimedia. It does
- work beautifully while all kinds of background tasks are taking place.
-
- >Just in case you don't have documentation, this call is simple:
- >DosBeep(note, duration);
- >Where note is the frequency in Hz, and duration is the length of the
- >note in milliseconds. So
- > DosBeep( 500,100);
- > DosBeep(1000,300);
- >makes a nice little "ta-da!" type sound effect. Etc.
-
- This call is available almost identically through REXX, by the way.
-
- --
- Timothy F. Sipples | Read the OS/2 FAQ List 2.0i, available from
- sip1@ellis.uchicago.edu | 128.123.35.151, anonymous ftp, in /pub/os2/all/info
- Dept. of Econ., Univ. | /faq, or from LISTSERV@BLEKUL11.BITNET (send "HELP")
- of Chicago, 60637 | [Read the List, THEN post to ONE OS/2 newsgroup.]
-