CuriousAli
Active Member
- Joined
- Nov 28, 2024
- Messages
- 102
- Likes
- 67
Thank you, I hope it works for you too!Not all heroes wear capes.
Thank you, I hope it works for you too!Not all heroes wear capes.
Thank you, I hope it works for you too!
Of course you can.Works perfectly for me!
Edit: @CuriousAli may I send you a PM? I may have come across a bug with the app.
I have released a new version of the app that automatically detects device connect and disconnects and it should prevent pops, because in my case silent audio file playback wouldn't prevent it, but this app using CoreAudio APIs did.I have been in correspondence with Topping about the popping for a bit now. So far, they have not been able to reproduce it. Neither with speakers or headphones. Not even with the silent file.
I have also gotten myself a USB C to USB B cable to rule out the USB hub, but alas there is no difference even when using headphones and connecting the DX5 II directly to a wall socket as well as running the MacBook Air on its battery.
I mean it certainly states EQ6 (my custom) using BTTo save me reading the whole thread, does the PEQ only work on USB input?
Thank you.
Silent audio playback works for me. CPU use with QuickTime Player for a looped 60 s, 32 bit, 96 kHz WAV file is around 4%.I have released a new version of the app that automatically detects device connect and disconnects and it should prevent pops, because in my case silent audio file playback wouldn't prevent it, but this app using CoreAudio APIs did.
Does the pops still occur with this app for you?
![]()
Releases · openmac/KeepMacAudioAlive
Keep Mac audio alive to prevent delays or pops with some DACs. - openmac/KeepMacAudioAlivegithub.com
If it gets resolved, the source code is MIT licensed, so Topping can easily take that code and implement their own solution on Mac.
If that works for you why not, although this one should use much less resources in practice and doesn't cause conflicts for using media playback buttons on your keyboard.Silent audio playback works for me. CPU use with QuickTime Player for a looped 60 s, 32 bit, 96 kHz WAV file is around 4%.
I have looked at the app in Xcode. Why is there that CFString warning?
Here is the fixed version 1.3 without that warning:This warning happens because Swift is trying to protect you from memory management errors. CFString is a managed object, and passing its address (&stringRef) directly to C code can confuse Swift's Automatic Reference Counting (ARC), potentially leading to crashes or memory leaks.
I have discovered a problem with the wave module writeframes function. It works properly for 32 bits, but increases time for lower number of bits. At 24 bits, length is increased by 1/3 and at 16 bits, length is doubled. It also doubles the length when only one channel is used and reduces it by 1/3 when using 3 channels. I have restricted the program to use no more than 2 channels and added corrections for the time when using 1 channels. I have also added a restriction to either 16, 24 or 32 bits and added corrections for the times. Depending on the number of decimals of the time selected there can some small deviations in the number of samples and hence the time. I have again added the program in a txt file and it is shown in the picture below.I have created a file of all zeros for my own testing using Python. It produces popping over USB. It does not produce popping using a SMSL PO100 2024 with either optical or coaxial input.
I cannot attach either the program or the audio file, however, so I have added the program code as a txt-file. Change the ending to .py and it will work as a python program. I have attached a picture of it and the console output below.
I tried opening the program but macOS refused.If that works for you why not, although this one should use much less resources in practice and doesn't cause conflicts for using media playback buttons on your keyboard.
And I made it as a proof of concept to show device manufacturers can make a simple software that prevents this issue similar to how the ASIO driver on Windows does it.
As for that warning, here is Gemini 3 Pro's reason for it:
Here is the fixed version 1.3 without that warning:
![]()
Release KeepMacAudioAlive 1.3 · openmac/KeepMacAudioAlive
Addressed the CFString warning.github.com
Not really the job of the manufacturers to fix flaws in the OS.And I made it as a proof of concept to show device manufacturers can make a simple software that prevents this issue similar to how the ASIO driver on Windows does it.
I have been in correspondence with Topping about the popping for a bit now. So far, they have not been able to reproduce it. Neither with speakers or headphones. Not even with the silent file.
I have also gotten myself a USB C to USB B cable to rule out the USB hub, but alas there is no difference even when using headphones and connecting the DX5 II directly to a wall socket as well as running the MacBook Air on its battery.
To save me reading the whole thread, does the PEQ only work on USB input?
Thank you.
In a video they sent me of testing with a speaker they were in a fairly large open space with several people talking and doing things. Not the best test environment. They also said they tested with headphones, but which ones, where and whether on high gain or not they did not say.So strange because they recognized the popping when I showed them the video I made for them. I have to wonder sometimes when they say they can't reproduce something that is so easily reproduceable.
In a video they sent me of testing with a speaker they were in a fairly large open space with several people talking and doing things. Not the best test environment. They also said they tested with headphones, but which ones, where and whether on high gain or not they did not say.
Oddly enough, they could just record the output of the DAC with a good ADC and see if they get anything. They have no need to listen for anything at all.
Thank you so much for all the feedback and helping with the icon!I tried opening the program but macOS refused.
I think Apple was so far ahead in earlier Mac OS X days with CoreAudio and it has stagnated for some years, hopefully some shakeups at the company's leadership will make them take these stuff more seriously.Not really the job of the manufacturers to fix flaws in the OS.
As I mentioned earlier, on Linux with ALSA/Pipewire (CoreAudio equivalent on Mac) one can just set a flag to tell it to idle individual audio devices instead of suspending them. If anything, macOS users should raise a support ticket with Apple asking them to fix their system and to provide users proper control over it.
(Sorry for the rant, but its frustrating when things that aren't a problem become a problem, because of some OS' philosophy to treat users like children)
Here an excerpt from ChatGPT: "macOS does not expose a user-configurable “audio device idle suspend” policy like PipeWire/PulseAudio do on Linux. Audio and USB power management are handled internally by CoreAudio + IOKit, and Apple does not provide a supported knob to disable it globally. The only reliable method on macOS is: Keep an audio stream open continuously".
The icon is indeed fixed with regard to the background, but still larger than the others. It also looks better than my workaround since the edges are better.Thank you so much for all the feedback and helping with the icon!
The funny thing is on macOS 26 it seems it cropped the icon before showing it, so I didn't notice it.
Here is the new version with the fixed icon:
![]()
Release KeepMacAudioAlive 1.4 · openmac/KeepMacAudioAlive
Fixed the icon background transparency (thanks to JIW).github.com
As for the prompt that macOS shows when you try to run it, it is because my Apple developer account is free and therefore couldn't send the app to Apple for Notarization, that's why you had to allow it in security settings.
Regarding it opening the Terminal first and then the app, does it always happen? I guess that's the side effect of me only testing it on macOS 26, on other macOS versions it may need some fine-tuning.
Regarding your suggestions for start at startup and menubar icon, I agree it will get much better, hopefully I get some free time the next few days and try to implement them with AI's help too.
[...]