Actually, it should be easier now, just referencing Input/Output-Volume measures in the Roundline meter should work (if you add a MinValue and MaxValue to the measures as well, I reckon). They aren't numerical measures, but their string value is the same as their numerical one and it's a plain number, no other characters included (which is another reason why I left them like that, apart from the similarly named variables also needing to be plain numbers in formulas).
It is currently April 20th, 2024, 9:33 am
Adjust Mic Volume Level?
-
- Rainmeter Sage
- Posts: 7128
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Adjust Mic Volume Level?
-
- Posts: 1140
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Adjust Mic Volume Level?
Thank you for solving this! You really don't let go do you?!
I managed to integrate all the input code, swapping out the old stuff, managing to get the Roundline bar working too. I've also managed to get the icon to change on mute using an IfCondition. Only problem I'm having is changing the meter for InputVolume to display correctly on an IfFalseCondition. But I'll have to post the code I have tomorrow, its gotten late here.
I managed to integrate all the input code, swapping out the old stuff, managing to get the Roundline bar working too. I've also managed to get the icon to change on mute using an IfCondition. Only problem I'm having is changing the meter for InputVolume to display correctly on an IfFalseCondition. But I'll have to post the code I have tomorrow, its gotten late here.
- MuLab -
-
- Rainmeter Sage
- Posts: 7128
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Adjust Mic Volume Level?
No, not really. The only problem with me is motivation: I have to start liking the topic and be challenged by it. The former came in time here, and rating the task as "doomed to failure" certainly did the latter recently. There is always a solution, and this time it was an illusion that allowed both the man and machine work in the rhythm they preferred, much like creating the impression of motion by quickly iterating over a set of still frames.
Not sure why you'd need an IfCondition to display a plain volume value, but if you say so, you probably have a reason. We'll see tomorrow what's all this about, but as a possibly related cause, I avoided placing too many [!Update] bangs or specifically update things via [!UpdateMeasure ...] in order to avoid running the Powershell commands more often than optimal. But then, your issue might have nothing to do with it, after all.
-
- Posts: 1140
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Adjust Mic Volume Level?
Are you saying that I made you do it!The former came in time here, and rating the task as "doomed to failure" certainly did the latter recently.
Well, it may be due to using Update bangs I added? I'm using the IfCondition that I used in the revious version, it changes the mic volume number value to 'Muted' and back to number value again. Obviously when you mute/unmute. Works OK until you mute then unmute. Ah, I just thought, I've commented out the Input Mute meter, perhaps that's the cause. Will take a look this evening...
- MuLab -
-
- Rainmeter Sage
- Posts: 7128
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Adjust Mic Volume Level?
Well, technically, as far as Windows presents it, the volume number stays the same on mute or unmute actions (which is quite logical when you think about it, since it would take ages to get back from 0 or -1 to say 97 as volume percentage), and only the state changes. The previous versions of the skins altered the numerical display of the volume to the "Mute" string, but that is not entirely correct, IMHO, since as I said (and you can see it too, in the related Windows settings) that level stays the same irrespective of the mute state. Bottom line, there's no need to operate changes or update on the measures at all, only on the meters, and even when doing the latter, a "greyed out" / "translucent" / "unbolded" display of the numerical value when muted should be much more in line with what actually happens when toggling the mute state (apart from having a different measure / meter that displays both the string mute state or the numerical volume value). After all, if you set the displayed value to "mute" from the usual number, you'll never know what the volume level will be when you unmute it, right? This could be inconvenient if, for example, you'd expect an either lower or higher level in such cases. Anyway, that's just my opinion about it, you do as you wish.
It wasn't you per se who challenged me, it was the expression / attitude of defeat and the idea that the task is impossible. That almost always triggers me, so to speak, since I know for a fact that winning and possible things are always within our grasp - it only depends on how much we want them.
-
- Posts: 1140
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Adjust Mic Volume Level?
I do see your point and honestly, I considered that when I designed the original layout of the skin. The reason I decided to show Muted, is because there is a Roundline meter showing the current volume, which isn't hidden at any time. This obviously doesn't give an exact value, but does let the user know the rough value so as not to be 'suprised' by high volumes when unmuting.
I don't think I'm going to get time this evening to look at it, maybe tomorrow.
I'm the same, I don't like letting things go and have to find solutions, but here, I have very little ability to do so! Hence why I keep coming back to the topic. Trouble is, sometimes people think I'm being pushy, but it's just cos I'm like a dog with a bone lol
I don't think I'm going to get time this evening to look at it, maybe tomorrow.
Um... I was just kidding!It wasn't you per se who challenged me, it was the expression / attitude of defeat...
I'm the same, I don't like letting things go and have to find solutions, but here, I have very little ability to do so! Hence why I keep coming back to the topic. Trouble is, sometimes people think I'm being pushy, but it's just cos I'm like a dog with a bone lol
- MuLab -
-
- Rainmeter Sage
- Posts: 7128
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
-
- Posts: 1140
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
-
- Rainmeter Sage
- Posts: 7128
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Adjust Mic Volume Level?
Or, I'm helpful because I'm pushing ... depends on the angle you're looking this from. I wonder, which was the first, the push or the help? That is the question... and now I'm getting phylosophical and sh*t, haha!
-
- Posts: 1140
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Adjust Mic Volume Level?
Hmm... Chicken and egg situation! Well, only you know the answer in this case
don't get me started!I'm getting phylosophical and sh*t, haha!
- MuLab -