home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!brunix!cs.brown.edu!sj
- From: sj@cs.brown.edu (Shuang Ji)
- Subject: Re: Missing sound function
- Message-ID: <1993Jan11.190222.23139@cs.brown.edu>
- Sender: news@cs.brown.edu
- Organization: Brown Computer Science Dept.
- References: <0096672C.05F89EC0@128.104.39.173>
- Date: Mon, 11 Jan 1993 19:02:22 GMT
- Lines: 17
-
- In article <0096672C.05F89EC0@128.104.39.173>, sprott@128.104.39.173 (Sprott@Juno.Physics.Wisc.Edu) writes:
- |> I'm inexperienced in C but just converted a BASIC program to Microsoft Quick
- |> C v. 2.5. Everything works fine, except there does not appear to be a C
- |> equivalent to the BASIC statement SOUND frequency, duration for generating
- |> audible tones. Does anyone know a way to accomplish this? I also have
- |> Turbo C++ for DOS v. 3.0, but it also lacks sound capability. Thanks.
-
- Turbo C++ does have sound capability. In my impression, there is a function
- called sound() which will enable you to send frequency to the audio port.
- There is also a function whose name I forgot that can stop the speaker.
- Check your on-line manual for details.
-
- Hope this helps.
-
-
-
- Shuang
-