1. sound()
- Posted by Aku <aku at inbox.as>
Nov 20, 2000
Is it possible to make sound from the PC speaker
by using sound() in WIN32? Besause in my machine it doesn't work.
2. Re: sound()
Hi Aku,
The sound command is for DOS32 only. Any command with the word DOS32
in the manual means it only works in DOS.
Look into the PlaySound API routine in Windows. Win32Lib wraps the
playSound function if you use Win32Lib.
Just as a note the Win32 API does not conatin a sound equivalent.
I "think" from NT4 onwards there is one, but don't quote me.
Ray Smith
>Is it possible to make sound from the PC speaker
>by using sound() in WIN32? Besause in my machine it doesn't work.
3. Re: sound()
The only way I have found to play soudns through the PC speaker in Win32, is
by using the old Microsoft Speaker Driver that allows wav files and such to
be played through the PC speaker
> >Is it possible to make sound from the PC speaker
> >by using sound() in WIN32? Besause in my machine it doesn't work.
>
4. Re: sound()
Use the beep function in win.
Bernie
5. Re: sound()
Note:
In Win9x this function will always play the standard beep sound.
ie, duration and frequency are ignored.
Ray Smith
>Use the beep function in win.
>
>
> Bernie