Thread: sounds in dos

  1. #1
    Tomi
    Guest

    sounds in dos

    how do I play sounds in standard dos applications? I'm using Borland 5.01.

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    Depends, if you want to use your speaker or your soundcard.

  3. #3
    Tomi
    Guest

    sounds

    Well, the soundcard, I'm tired to use the PC speaker...

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Code:
    #include <stdio.h>
    
    int main(void)
    {
        putchar ('\a');
        return (0);
    }
    This is a default beep.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  5. #5
    Casual Visitor
    Join Date
    Oct 2001
    Posts
    350
    See if this will help. Creative used to have tech docs on a ftp server, but that appears to have gone offline.

    http://www.cae.wisc.edu/~brodskye/ot...e.html#sb16snd

    Of course there is always google.

    http://www.google.com/search?hl=en&l...programming%22
    I haven't used a compiler in ages, so please be gentle as I try to reacclimate myself. :P

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. playing sounds in a DOS program
    By Geo-Fry in forum C++ Programming
    Replies: 1
    Last Post: 03-18-2003, 07:29 PM
  2. File systems?? (Winxp -> DOS)
    By Shadow in forum Tech Board
    Replies: 4
    Last Post: 01-06-2003, 09:08 PM
  3. real mode dos & win dos
    By scott27349 in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 08-19-2002, 06:15 AM
  4. DOS program versus DOS console program
    By scromer in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 01-10-2002, 01:42 PM
  5. Shut off DOS screen automatically to Windows
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 11-08-2001, 07:14 PM