1. sound()
- Posted by Aku <aku at inbox.as> Nov 20, 2000
- 420 views
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()
- Posted by Ray Smith <smithr at IX.NET.AU> Nov 20, 2000
- 415 views
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()
- Posted by White Eagle Software <whiteeagle at WHITEEAGLESOFTWARE.ORG> Nov 20, 2000
- 404 views
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()
- Posted by Bernie <xotron at PCOM.NET> Nov 20, 2000
- 399 views
Use the beep function in win. Bernie
5. Re: sound()
- Posted by Ray Smith <smithr at IX.NET.AU> Nov 20, 2000
- 391 views
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