Hey there! How can i get current index of output device with Win7Audio plugin? I mean, we can set these indexex, but how to read them for next use? For example: for manipulation with meters, based on current active device index. I don't see any way to use string param (which returns the name of device) from plugin for this.
It is currently April 24th, 2024, 6:44 am
Win7Audio: how to get output device index?
-
- Posts: 3
- Joined: April 10th, 2020, 12:18 pm
-
- Rainmeter Sage
- Posts: 7151
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Win7Audio: how to get output device index?
You can do this using a combination of Win7Audio and AudioLevel plugins. The AudioLevel plugin, for example, has a DeviceID that you can set, but also a number of device related types (e.g. DeviceName, DeviceID or DeviceList) that you can read and manipulate further in order to achieve what you want. Of course, you'd need to set the parent measure's Port accordingly.delfore08 wrote: ↑June 21st, 2020, 8:40 am Hey there! How can i get current index of output device with Win7Audio plugin? I mean, we can set these indexex, but how to read them for next use? For example: for manipulation with meters, based on current active device index. I don't see any way to use string param (which returns the name of device) from plugin for this.
In my custom tooltip below, the white title gets the Win7Audio output device name, and the other elements below get all kinds of AudioLevel types (I've excluded DeviceName as it was redundant to display it in my case along the already present device list, but you can obviously use it): P.S. Be careful with AudioLevel measures they are avid CPU usage consumers, so use preferably just one parent measure per machine and only update it when really needed.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 3
- Joined: April 10th, 2020, 12:18 pm
Re: Win7Audio: how to get output device index?
Thank you a lot! You're my savior!Yincognito wrote: ↑June 24th, 2020, 12:39 pm You can do this using a combination of Win7Audio and AudioLevel plugins. The AudioLevel plugin, for example, has a DeviceID that you can set, but also a number of device related types (e.g. DeviceName, DeviceID or DeviceList) that you can read and manipulate further in order to achieve what you want. Of course, you'd need to set the parent measure's Port accordingly.
In my custom tooltip below, the white title gets the Win7Audio output device name, and the other elements below get all kinds of AudioLevel types (I've excluded DeviceName as it was redundant to display it in my case along the already present device list, but you can obviously use it):
Audio.jpg
P.S. Be careful with AudioLevel measures they are avid CPU usage consumers, so use preferably just one parent measure per machine and only update it when really needed.
-
- Rainmeter Sage
- Posts: 7151
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita