Thanks eclectic-tech.
As usual your awesome skill and artistry shine right through the issue/s.
It is currently April 24th, 2024, 7:19 pm
Win7Audio string not updating = confusion [solved]
-
- Posts: 943
- Joined: May 7th, 2016, 7:32 am
Re: Win7Audio string not updating = confusion
My DevArt Gallery
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
-
- Posts: 943
- Joined: May 7th, 2016, 7:32 am
Re: Win7Audio string not updating = confusion [solved]
So with a lot of help, not only in this thread, but in others I participated in and learnt from over the past couple weeks - I now present what I feel is a decent Beta of what I hope to have in this kind of skin.
There are a couple features still on the books -
So without going overly into the workings, I'll just simply post it and see if anyone is curious about how it works, or if they find it reasonably intuitive.
I hope some people will find this useful and fun.
There are some caveats - system configs will differ as well as audio ability/functionality.
I found that going through windows 10 and exploring the different sound managers within it - this skin makes it easy to have 7.1 the switch to headphones/speaker in headphone socket for 2 channel output rather than more speakers of ch4 ch6 ch8.
I made this to easily change to lesser output settings for mp4 or avi that do not support 5.1 or 7.1.
There are a couple features still on the books -
So without going overly into the workings, I'll just simply post it and see if anyone is curious about how it works, or if they find it reasonably intuitive.
I hope some people will find this useful and fun.
There are some caveats - system configs will differ as well as audio ability/functionality.
I found that going through windows 10 and exploring the different sound managers within it - this skin makes it easy to have 7.1 the switch to headphones/speaker in headphone socket for 2 channel output rather than more speakers of ch4 ch6 ch8.
I made this to easily change to lesser output settings for mp4 or avi that do not support 5.1 or 7.1.
You do not have the required permissions to view the files attached to this post.
My DevArt Gallery
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
-
- Rainmeter Sage
- Posts: 16167
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Win7Audio string not updating = confusion [solved]
Although this isn't a problem and the code works even so, I still believe that using the !ShowMeter / !HideMeter bangs instead of setting the Hidden option of the meter with !SetOption bang (IfMatchAction and IfNotMatchAction options of the [MeasureWinSevenAudio] measure), is a better choice. At least me personally definitely prefer this one.
But again: setting the Hidden option works same well.
-
- Posts: 943
- Joined: May 7th, 2016, 7:32 am
Re: Win7Audio string not updating = confusion [solved]
Yes that is so on average, however, to toggle regardless of state this way is better, as the logic remains clear even if a manual refresh takes place out of "sequence".balala wrote: ↑December 25th, 2019, 3:08 pm Although this isn't a problem and the code works even so, I still believe that using the !ShowMeter / !HideMeter bangs instead of setting the Hidden option of the meter with !SetOption bang (IfMatchAction and IfNotMatchAction options of the [MeasureWinSevenAudio] measure), is a better choice. At least me personally definitely prefer this one.
But again: setting the Hidden option works same well.
My DevArt Gallery
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
-
- Rainmeter Sage
- Posts: 16167
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Win7Audio string not updating = confusion [solved]
I don't see why, but you know better. Maybe if something like [!SetOption "HeadsetPNG" "Hidden" "#SomeVariable#"] would be used, definitely has make more sense to use this technique, but why [!SetOption "HeadsetPNG" "Hidden" "0"] / [!SetOption "HeadsetPNG" "Hidden" "1"], with explicit values set for the Hidden option?
-
- Posts: 943
- Joined: May 7th, 2016, 7:32 am
Re: Win7Audio string not updating = confusion [solved]
Wait are you looking at xx.04?balala wrote: ↑December 25th, 2019, 4:44 pm I don't see why, but you know better. Maybe if something like [!SetOption "HeadsetPNG" "Hidden" "#SomeVariable#"] would be used, definitely has make more sense to use this technique, but why [!SetOption "HeadsetPNG" "Hidden" "0"] / [!SetOption "HeadsetPNG" "Hidden" "1"], with explicit values set for the Hidden option?
My DevArt Gallery
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
-
- Rainmeter Sage
- Posts: 16167
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Win7Audio string not updating = confusion [solved]
Yes, I definitely do. I'm talking about the [MeasureWinSevenAudio] measure of xx.04.
-
- Posts: 943
- Joined: May 7th, 2016, 7:32 am
Re: Win7Audio string not updating = confusion [solved]
Like I said - it preserves the state through a refresh so the skin remains with intended behaviour of buttons being visible through internal updates when the sound device finishes from an output channel change.
My DevArt Gallery
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
-
- Rainmeter Sage
- Posts: 16167
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Win7Audio string not updating = confusion [solved]
No, not agree. The !Setoption bangs don't preserve nothing. The !WriteKeyValue bangs used into the same IfMatchaction and IfNotMatchAction options indeed do and they are alright, but the !SetOption don't preserve nothing.
-
- Posts: 943
- Joined: May 7th, 2016, 7:32 am
Re: Win7Audio string not updating = confusion [solved]
Well, to be clear, I did not disagree with your advice, only that the code I was using was intended as stated.
So now I have changed to Show/Hide Meter bangs in the [MeasureWinSevenAudio].
Of course the behaviour was not different.
So again, to be clear what was the issue with SetOption anyways? Simply too many juggling options? I cannot see any potential for performance being the reason. Nor does it affect the end user in any manner.
So now I have changed to Show/Hide Meter bangs in the [MeasureWinSevenAudio].
Of course the behaviour was not different.
So again, to be clear what was the issue with SetOption anyways? Simply too many juggling options? I cannot see any potential for performance being the reason. Nor does it affect the end user in any manner.
My DevArt Gallery
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.