Jump to content
Sign in to follow this  
dufran3

If not muted, mute sound

Recommended Posts

dufran3

Anyone know the best way to do this? Check if the sound is muted, if not, mute the sound? I know you can use {Send} to change % of volume, but is there a way to mute, if not muted.

If $ismuted == 0 Then
               Mutesound()
            EndIf

????

Share this post


Link to post
Share on other sites
ScriptUSER

Anyone know the best way to do this? Check if the sound is muted, if not, mute the sound? I know you can use {Send} to change % of volume, but is there a way to mute, if not muted.

If $ismuted == 0 Then
               Mutesound()
            EndIf

????

i use

_SoundStatus ( $sSnd_id )

Share this post


Link to post
Share on other sites
dufran3

Parameter(s): $sSnd_id - Sound ID returned by _SoundOpen or sound file

I'm not opening a sound file, just trying to mute the computer sound. Not sure what to pass that function, since i am not opening a sound file.

Share this post


Link to post
Share on other sites
Valuater

SoundSetWaveVolume(0)

???

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
dufran3

neg. I need the master volume muted...:-(

Share this post


Link to post
Share on other sites
Valuater

neg. I need the master volume muted...:-(

Maybe...

DisconnectSpeakers(2)

???

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
dufran3

hahahA!

Share this post


Link to post
Share on other sites
GaryFrost

Maybe...

DisconnectSpeakers(2)

???

8)

Thought of that one earlier today.

Might want to look at Mixer


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites
magician13134

Maybe...

DisconnectSpeakers(2)

???

8)

Hate to sound dumb, but I can't find this anywhere. A forum search only returned this topic...

Share this post


Link to post
Share on other sites
GaryFrost

Hate to sound dumb, but I can't find this anywhere. A forum search only returned this topic...

Someone want to get that hook back, he took it hook, line and sinker.....


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites
Valuater

Someone want to get that hook back, he took it hook, line and sinker.....

:)

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
Valuater

Don't have any to worry about....lol

I should be from back east.... I still have a few ( thats where-ever red-necks come from... lol )

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites
dufran3

I'm suprised there isn't an easy function like....

_SoundVol()

10 - 100 is volume level. You could also pass it "mute" or "0". Which would mute the volume...hrmm...seems so simple...guess not

Share this post


Link to post
Share on other sites
Valuater

I'm suprised there isn't an easy function like....

_SoundVol()

10 - 100 is volume level. You could also pass it "mute" or "0". Which would mute the volume...hrmm...seems so simple...guess not

Well.... there ya go!!!

Here's your chance to make a UDF!!!

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
dufran3

Don't forget...I am n00b dude...

Share this post


Link to post
Share on other sites
jefhal

Try Wizmo from grc.com. This is by the guy who made Spinrite a few years back. I use Wizmo to shut down students' noisemaking...


...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×