Author Topic: [[ minor ]] another option for push to listen which mutes all audio  (Read 3124 times)

axonMagnus

  • Jr. Member
  • **
  • Posts: 62
In case your  humble dedicated fans would like to listen with speakers and still be able to issue commands :) with no interference . Especially use full if you want to show off how awesome a voice activated soundboard is :D.Thanks Gary you are the man, you are the best :D.

Quote
""Doubt kills more dreams than failure ever will""
Unkown

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: [[ minor ]] another option for push to listen which mutes all audio
« Reply #1 on: July 07, 2017, 10:56:45 AM »
If you're looking to really mute everything, as you're saying, you could do that with a command that triggers on keypress:
Code: [Select]
Mute system audio
Start VoiceAttack listening
Start Loop While : [{STATE_KEYSTATE:ALT}] Equals '1'
End Loop
Stop VoiceAttack listening
Unmute system audio
Where the "{STATE_KEYSTATE:}" token has the same key value as the command triggering key.

However, if you have a soundboard that would play in response to a spoken phrase, it too would be muted, as it's a system-wide setting.

You can mute individual applications, or specific devices(if your soundboard plays to a non-default one) to get around that.