Specific FLAC Files Output Noise Under Windows 11 [#20574]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Specific FLAC Files Output Noise Under Windows 11 [#20574]

Re: Specific FLAC Files Output Noise Under Windows 11 [#20574]

by Peke » Mon Feb 05, 2024 5:19 am

Hi,
OK, please let us know the results, I am curious to catch white screen crashes and see how we can fix it.

Re: Specific FLAC Files Output Noise Under Windows 11 [#20574]

by Dryst » Mon Feb 05, 2024 12:38 am

The white screens happen during playback, so if I analyze volume and do nothing else with MMW5 it will work.

It has been running analysis all day since my morning, and it is 16,466 of 30,541 tracks complete. I will allow it to finish before playing audio again. It should be complete in less than 24 hours from now.

Re: Specific FLAC Files Output Noise Under Windows 11 [#20574]

by Peke » Sun Feb 04, 2024 7:08 pm

Hi,
You can add Criteria -> Other -> Leveling -> >= 10 to Filter tracks with possible issue.

If you get White screens, can you please make debug log and create new support ticket?

Re: Specific FLAC Files Output Noise Under Windows 11 [#20574]

by Dryst » Sun Feb 04, 2024 8:18 am

I will have to disable Level Track Volume. Various music across my library still plays with noise with it enabled. I am now unable to re-analyze my entire library, because the app freezes with white screens. It no longer resumes where it left off and always starts over from the first song now. A complete re-analyze will take several days for over 37,000 tracks.

Re: Specific FLAC Files Output Noise Under Windows 11 [#20574]

by Peke » Sat Feb 03, 2024 8:44 pm

Hi,
Thank you patience, I love your music choice. It was music genre memory lane.

Happy Monkeying!!!

Re: Specific FLAC Files Output Noise Under Windows 11 [#20574]

by Dryst » Sat Feb 03, 2024 7:53 pm

This issue was a result of incorrect volume leveling stored for these specific FLAC files. The incorrect volume level was visible in the track details, and re-analysis resolved this issue.

by Dryst » Thu Feb 01, 2024 3:26 pm

I had another incident where I heard noise coming from my DAC and headphones. I restarted MMW5 to again hear noise coming from my sound card and not my DAC. I changed audio output from WASAPI to Direct Sound with output coming from my sound card and not my DAC. I hear the start of music along with noise.

I play the same FLAC file using VLC, and I hear music with zero noise. I am using my sound card only and not my DAC. I will open a support ticket and include the FLAC file.

I shared my DAC. My sound card is a Sound Blaster AE-9.

I have version 5.1.0.2832 installed now.

Ticket #6788: "Noise Example From v5.1.0.2832" has been successfully submitted

Re: Specific FLAC Files Output Noise Under Windows 11

by Peke » Thu Jan 25, 2024 9:46 am

Ok, You refer to https://www.mediamonkey.com/forum/viewt ... p?t=105669 and bug https://www.ventismedia.com/mantis/view.php?id=20574

I use WASAPI SHARED MODE as I have found out years ago (even shared study here in forum) that difference from Exclusive and shared mode is less than 0.001% on high definition files like DSD512 where both PC and DAC support RAW sending so I do not see any point of using Exclusive unless that you want started/active MM process lock Sound card in order to not interupt playback.

Re: Specific FLAC Files Output Noise Under Windows 11

by Dryst » Wed Jan 24, 2024 10:38 pm

It's a confirmed bug that was fixed. Check the bug forums.

This was a missed test scenario.

Re: Specific FLAC Files Output Noise Under Windows 11

by Peke » Wed Jan 24, 2024 4:24 pm

Hi,
This really sounds like MM can't play to specified device due the lock and thus goes back to default device. Can you confirm that you do not use WASAPI exclusive and try WASAPI Shared mode?

Re: Specific FLAC Files Output Noise Under Windows 11

by Dryst » Tue Jan 23, 2024 8:25 am

Below is the script if you rely on MMW5 running and playing media around the clock. This will ensure it continues to play due to stability issues. The script works perfectly. However, there is one issue where MMW5 will play using the Windows default audio device instead of what is configured in settings audio output. If you are okay with this, this script will ensure stability. You may schedule it via Windows Task Scheduler:

Code: Select all

$mediaMonkeyProcessId = (Get-Process MediaMonkey).Id

Stop-Process -Id $mediaMonkeyProcessId -Force -ErrorAction SilentlyContinue
Start-Sleep -Seconds 2

# Ending the MediaMonkey process should automatically end all MediaMonkeyEngine processes.
# The code above waits two seconds to make sure they are closed. Any remaining open after
# two seconds must be hung. The code below will catch and force close them.

$mediaMonkeyEngineProcessIds = (Get-Process MediaMonkeyEngine).Id

foreach ($processId in $mediaMonkeyEngineProcessIds) {
	Stop-Process -Id $processId -Force -ErrorAction SilentlyContinue
}

Start-Sleep -Seconds 5
Start-Process -FilePath "C:\Program Files (x86)\MediaMonkey 5\MediaMonkey.exe" -ArgumentList "/NoSplash /Play" -ErrorAction SilentlyContinue

Remove-Variable $processId
Remove-Variable $mediaMonkeyProcessId
Remove-Variable $mediaMonkeyEngineProcessIds

Re: Specific FLAC Files Output Noise Under Windows 11

by Dryst » Tue Jan 23, 2024 6:24 am

I coded a PowerShell script that forcefully ends MediaMonkey, pauses two seconds, forcefully ends MediaMonkeyEngine instances if found, pasuses five seconds, and finally starts MediaMonkey with the /Play parameter. I scheduled it to run every two hours in Windows 11 Task Scheduler. The script is working as expected.

However, MediaMonkey does not use the audio output device setup under Settings when I use the /Play parameter. It is playing music from my default Windows audio sounds card that is not my DAC. I reproduced this in Windows at the Run prompt. Using /Play makes MMW5 use the default audio device instead of the configured audio output device. This looks like a bug.

Re: Specific FLAC Files Output Noise Under Windows 11

by Dryst » Mon Jan 22, 2024 2:40 pm

The fact that restarting MMW5 makes the issue 100% go away seems to hint it is a problem with the software.

I will create some scripts that run every hour to force shutdown MMW5 wait five seconds then restart it with a play command line parameter. This will take care of issues I am facing.

Re: Specific FLAC Files Output Noise Under Windows 11

by Dryst » Mon Jan 22, 2024 2:35 pm

Re: Specific FLAC Files Output Noise Under Windows 11

by Peke » Sun Jan 21, 2024 5:19 pm

Hi,
How do you connect DAC to PC (USB/SPDIF/COAX/???)? It is strange behavior, also what output settings you use eg. Direct sound/WASAPI/WASAPI exclusive/....?

Maybe you should install drivers manually from http://www.mu-sound.com/service.html usually it can help due the Generic drivers (even it can unlock more settings).

Top