PDA

View Full Version : sounds in dos



Tomi
01-03-2003, 05:16 PM
how do I play sounds in standard dos applications? I'm using Borland 5.01.

Shiro
01-04-2003, 03:50 AM
Depends, if you want to use your speaker or your soundcard.

Tomi
01-04-2003, 07:26 AM
Well, the soundcard, I'm tired to use the PC speaker...

Hammer
01-04-2003, 06:50 PM
#include <stdio.h>

int main(void)
{
putchar ('\a');
return (0);
}

This is a default beep.

ronin
01-04-2003, 10:24 PM
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/other/code.html#sb16snd

Of course there is always google.

http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=dos+%22soundblaster+programming%22