Closed zZMattyP closed 9 months ago
Execute "Set-PSDebug -Trace 1" in your PowerShell before you run it, and then share the output to understand which command does not finish on your computer.
Looks like your windows installation has trouble searching your registry to find your audio device. Copy the last line and type
reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render /s /f speakers /d
And monitor with task manager to see if your computer gets busy by this call, or if your system is just refusing to search "speakers" in your registry Audio section.
Interesting, just found out that you need to run this line as admin as well to find anything. Not being admin could be the issue of somebody else who always got the error message "Could not find any device named speakers" So if you test why your computer does not execute the search, run it as admin as well.
@zZMattyP I have replaced the req query call with powershell functions. Please try this out and give me feedback: https://raw.githubusercontent.com/Falcosc/enable-loudness-equalisation/a5ee4cef3c04dd658012e0b59616324d36387bb8/EnableLoudness.ps1
@Falcosc I believe the raw worked , see below... appreciate you digging deep and helping me fix this issue.
Interesting, thanks for testing, I will publish it now.
@zZMattyP there was a bug in your version. It didn't apply anything. Please run the fixed one again: https://raw.githubusercontent.com/Falcosc/enable-loudness-equalisation/main/EnableLoudness.ps1
been 20 minutes , hasn't done anything...