Page 1 of 1

How to use Windows (10) task planer to use Bluetooth Headsets with VoicemeeterB

Posted: Tue Aug 21, 2018 9:11 am
by Juido
Hello together,

pardon my English, i try my best :)

I am using Voicemeeter Banana to distribute my Audio Sources to different Outputs. My main one is a USB Headset, but I also use Monitor Speaker, an FM Wireless Headphone, and a Bluetooth Headset.

But the Problem with the BT Headset is, that I only use it from time to time, so whenever it was off and disconnected and I turn it back on, I won't get any sound until I manually restart the audio engine at the VB menu.

And that can become kinda annoying, especially because I'm normally already in bed when I grab my BT Headset and turn it on ^^
and so I got the idea to use the windows task planer to restart the audio engine for me.

Here is how I did it:

At first, I looked at the event viewer to find a usable trigger.
Whenever you connect or disconnect an audio device it triggers an event at Microsoft-Windows-Audio/Operational
My BT Headsets triggers three times on each connects or disconnect because it's kinda 3 audio devices. the stereo headset mode, the microphone, and the talk speaker mode.
The Flow 0 means its outgoing while the microphone has Flow 1. Also, the NewState 8 means disconnected and NewState 1 means connected
once you find your trigger, you can add a task to it on the right side.
Unbenannt.png
Unbenannt.png (95.75 KiB) Viewed 6263 times
once you added the basic task go to the trigger settings:
i used the xml tab and added this part to make sure that only the BT connection will trigger it and not the disconnect too, but that is just a little perfectionism and not really relevant.
Unbenannt2.png
Unbenannt2.png (38.51 KiB) Viewed 6263 times
then at action browse for the voicemeeterpro.exe and add the argument " -R "
now each time your device connects, VB will restart the audio engine and your BT Headset or whatever should get audio without the need to leave your bed again and do it manually :D
Unbenannt3.png
Unbenannt3.png (20.16 KiB) Viewed 6263 times
kind regards.

Re: How to use Windows (10) task planer to use Bluetooth Headsets with VoicemeeterB

Posted: Wed Aug 29, 2018 2:27 pm
by Jim
Awsome! Thank you for this :)