Destiny-2-Solo-Enabler
Destiny-2-Solo-Enabler copied to clipboard
Feature Request: Audible tone on config change
It's working perfectly for me. :) An audio tone when making a config change would be brilliant.
Thanks for your work!
How should it work? 2 different sounds for when enabling a setting vs disabling a setting? And should it play the sound for each time one clicks on a setting, or only when clicking save? 🤔
I'm open to the idea, just need it clarified a bit more 😄
Two different sounds/tones on enable disable. I don't care about Save. I do that before I start the game. Thanks!
Feel free to edit your code to use the console beep. https://stackoverflow.com/questions/74225087/is-there-a-way-to-beep-in-the-console-using-powershell
To summarize (in case the link is removed):
[console]::beep() ## The default beep
[console]::beep(500, 300) ## param 1 is the tone; param 2 is the duration in ms; anything lower than 190, or higher than 8500 cannot be heard.
[console]::beep(2000, 500) ## a higher pitch, and longer duration
If you want the default Windows sounds, you could use one of these lines to play their sounds: [System.Media.SystemSounds]::Asterisk.Play() [System.Media.SystemSounds]::Beep.Play() [System.Media.SystemSounds]::Exclamation.Play() [System.Media.SystemSounds]::Hand.Play() [System.Media.SystemSounds]::Question.Play()
Note these are the defaults, not necessarily the ones active if you've got a different sound theme applied, or made your own manual selections from the Sounds control panel.