Open jadenquinn opened 10 months ago
I cannot anything like this running GZDoom 4.11.3 on Mac mini 2018 with macOS 14.2.1 installed. After replicating your sound configuration on top of default config, I tried two times, one was idling for ~20 minutes on Doom 2 MAP01, another one was playing the first map of Sigil 2 (free version with MIDI soundtrack) for 20 minutes. Output device was the internal speaker during the first test, and EarPods for the second one.
First of all, does the issue persist with the default config? If so, please check Audio MIDI Setup app for any non-standard, third-party, aggregate, or multi-output sound devices. Also check format of the current output device, it should be 48 000 Hz 2 ch 32-bit Float by default.
I cannot anything like this running GZDoom 4.11.3 on Mac mini 2018 with macOS 14.2.1 installed.
After replicating your sound configuration on top of default config, I tried two times, one was idling for ~20 minutes on Doom 2 MAP01, another one was playing the first map of Sigil 2 (free version with MIDI soundtrack) for 20 minutes. Output device was the internal speaker during the first test, and EarPods for the second one.
First of all, does the issue persist with the default config? If so, please check Audio MIDI Setup app for any non-standard, third-party, aggregate, or multi-output sound devices. Also check format of the current output device, it should be 48 000 Hz 2 ch 32-bit Float by default.
Absolutely no Mac out of the box is configured to output 48KHz audio. That's... just not a thing. Mine is set to the default of 44.1KHz, at, yes, 32-bit Float.
The popping occurs about every other time whenever I use either the built-in output, or when I use my Multi-Output device that I created so I can use Blackhole to loop back the audio to Audacity, but I know that's not the cause, since.. well.. they all have the same settings, and it still happens on the default output.
Yes, it happens with a default config.
This issue also kind of happens in SLADE (map/WAD editor/explorer) whenever I select a midi file. This popping only lasts for like a 10th of a second though, but it's exactly the same thing basically other than that. It seems to be midi related, specifically.
It is important to note, I suppose, that sometimes I can go HOURS without getting any popping, and sometimes it'll start after literally like 3min.
Furthermore, I noticed recently that if I noticed popping, the popping it MUCH worse when GZDoom is focused (clicked on/is the active application), and when I click off it again, it the popping goes back to being like half of what it is when GZDoom is focused. To me, this further points to GZDoom being the issue, but this could just be because GZDoom is just where the problem was triggered from, who knows.
if it happens in SLADE as well, it definitely seems like a "not gzdoom specific" kind of problem, did you try midi playback in other programs, ex. VLC?
if it happens in SLADE as well, it definitely seems like a "not gzdoom specific" kind of problem, did you try midi playback in other programs, ex. VLC?
VLC midi playback for me is crap. Never works right, not even on a PC, but even less so on a Mac. The implementation just seems to be garbage in VLC. SLADE is also extremely glitchy on newer MacOS versions anyway, so this is just one of its many program-breaking issues, not to mention that midi playback doesn't even work in SLADE anyway since it would need to have you pick and load an exe for the midi player or whatever, which... on a Mac... just isn't a thing.
GZDoom is the one program out of the midi-capable apps I have that rarely has crippling issues of this caliber, so I'd say it has the best chance of getting fixed out of the three. Remember, just because it could not be GZDoom-specific doesn't mean the bug shouldn't be fixed in GZDoom specifically. The other 2 apps just aren't even making an effort to fix it.
both gzdoom (by default), slade and VLC use fluidsynth for MIDI playback. gzdoom at least has other options, does switching to a different midi device (in audio settings) do anything for the popping?
I do not think that the music player is at fault here, it is a pure software solution that never interfaces with the hardware. I have had my share of issues with streaming sounds in OpenAL, though, even on Windows. From what I understand the whole concept of how streaming works with OpenAL is sufficiently broken to produce strange effects if it gets somehow out of sync.
both gzdoom (by default), slade and VLC use fluidsynth for MIDI playback. gzdoom at least has other options, does switching to a different midi device (in audio settings) do anything for the popping?
Nope, no change. The popping goes away... or more like resets when I change audio devices, as in I change from internal speakers to.. one of my multi output things or blackhole or anything really.
GZDoom version
v4.11.3
Which game are you running with GZDoom?
Doom 2
What Operating System are you using?
Mac OS
Please describe your specific OS version
MacOS Monterey 12.7.1
Relevant hardware info
MacBook Pro 16" (2019) Maxed Out
Have you checked that no other similar issue already exists?
A clear and concise description of what the bug is.
When I play with GZDoom for any extended period of time, like 15+min, eventually the music will start to glitch or pop, and this effect gets increasingly worse as time passes, 5 mins later not even being able to hear anything but glitching and popping, and it's EXTREMELY loud. Like blowing speakers out loud. I use GZDoom (on this Mac) for recording OSTs for wads, but what's weird is Audacity picks up NONE OF IT.. but it's horrific for me, who has to listen for when a track loops back so I can start the next one recording.
Steps to reproduce the behaviour.
Explain how to reproduce
Your configuration
Provide a Log
No response