1. sound()

Is it possible to make sound from the PC speaker
by using sound() in WIN32? Besause in my machine it doesn't work.

new topic     » topic index » view message » categorize

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.

new topic     » goto parent     » topic index » view message » categorize

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.
>

new topic     » goto parent     » topic index » view message » categorize

4. Re: sound()

Use the beep function in win.


 Bernie

new topic     » goto parent     » topic index » view message » categorize

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu