Hi
Recently bought a Streamdeck+ and had yet to use it with BTT, but just made a few pretty basic buttons that work great!
However.....
I downloaded a Mute/Unmute widget from here, but I have no idea how to import it onto a streamdeck button?
Many thanks in advance!
which widget did you download exactly?
unfortunately this is a touch bar widget, not directly suited for the stream deck. However it should be easy to convert. I’ll have a look tomorrow!
The widget is very simple, however when testing it I found that I recently broke something for the stream deck widgets. Because of this you will need to upgrade to v4.669 in order to use this:
mutewidget_streamdeck.bttpreset (51.2 KB)
The widget has two scripts - one that just refreshes the muted state upon load:
And one that is run when pressing the button:
If the script outputs "Unmuted" the alternative appearance of the widget is loaded, otherwise the standard appearance:
Hi Andreas,
Many thanks for working on this!
Sadly I can't get it to work?
I've updated BTT to v4.669 and installed the preset you made, but I can't get it to work?
The mute icon comes up on the screen but it does not mute the sound?
Many thanks again!
you mean the volume doesn’t change at all when pressing the button? That’s strange. Does the button change when you press it?
The volune doesn't change and the button on the streemdeck neither.
Thanks!
That's very strange. Does this apple script work for muting & unmuting if you run it in Apple' Script Editor app?
set curVolume to get volume settings
if output muted of curVolume is false then
set volume with output muted
else
set volume without output muted
end if
Hi Andreas,
I tried running it in Applescript and it gave me nothing - not even in the comments below - while I had a youtube video running.
I also have scipt debugger which I tried running it through with the same results - would any additional help from that help?
Under curVolume I got:
{output volume:missing value, input volume:missing value, alert volume:100, output muted:missing value}
Just to be sure I am currently on Sonoma 14.2.1
Thanks again!
weird it should not have these “missing value” items. Is there anything special about your sound setup?
maybe - I use an external sound card for music creation - a united audio Volt 1.
ah that sounds like it might be the issue
Do you know whether that can somehow be muted programmatically?
My apologies for this Andreas!
I only hooked this card up to my desktop recently after a macos update stopped my original focusrite card working with it.
I know with the focusrite card the function keys would mute and adjust volume for it but that doesn't seem to work with this one.
I guess it could be a driver thing. The focusrite actually had an application that allowed for changing of audio routing within the os so maybe macos was using that in someway, whereas the Volt doesn't have such a thing.
Sorry if all this wasted your time - I hadn't realised the root of the problem here.
Many thanks for trying!
Have a great weekend!
this helped me discover an important bug, so it was still very good to look into it Sorry I can’t be of more help in this specific case!