Jump to content

Volume Mixer Management


anixon
 Share

Recommended Posts

I am using this code to play beep [internal speakers] as well as play a sound based on certain events within the Script.

Whilst I have not published the variable for $BeepFlag, $SoundVolume $AlertSound and $SleepISD the routine works as required.

CODE
;//Beep Internal Speakers:

Func _BeepSpeaker()

;//Beeping Setting [1] On [0] Off

If $BeepFlag = 1 Then

;//Number of Beeps

For $i = $BeepNum To 1 Step -1

Beep(500, 250)

SoundSetWaveVolume($SoundVolume)

SoundPlay($AlertSound, 1)

;//Delay between individual beeps

Sleep($SleepISD)

Next

EndIf

EndFunc ;==>_BeepSpeaker

If you are running a sound card which includes the management softwer you have a volume mixer control shows sound management for Device - Speakers as well as Windows Sounds Skype Etc. My question is how do script muting [switch off or on or set the volume percentage] for the Windows Sounds Volume Control so that sounds for Windows events are not played.

Help is always appreciated.. Ant..

Edited by anixon
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...