Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sounds degrade after 30 minutes playing aprox. #36

Closed
arcovoltaico opened this issue Aug 10, 2017 · 36 comments
Closed

Sounds degrade after 30 minutes playing aprox. #36

arcovoltaico opened this issue Aug 10, 2017 · 36 comments

Comments

@arcovoltaico
Copy link

On my iMac (last macOs everything updated) using HDMI as output, the sound is increasingly corrupted after about 30 minutes playing music through the eqMac2, it seems a memory/buffer problem. Let me know if I can send you anything from the activity monitor console or so. Thanks!

@lsnch
Copy link

lsnch commented Aug 10, 2017

I'm currently using Soundflower + AU Lab while looking for alternatives. The reason is also sound degradation after some time running. I read somewhere that the problem is in Soundflower. Seeing as eqMac2 also uses Soundflower driver there may be a connection.

@nodeful
Copy link
Collaborator

nodeful commented Aug 10, 2017

I very rarely have this happen to me, but did happen a couple of times. Honestly, I don't actually completely understand a lot of processing logic that is happening. I just put the blocks together. I will try to research a bit more but not promising a swift result. Sorry about that

@nebm51
Copy link

nebm51 commented Aug 10, 2017

Hi, this issue appears to be pretty constant to me. With external USB audio card after sometime sound starts to be distorted. Switching to other device (which will automatically switches back to eqMac device) solves the problem for a while, but it comes back.

Please, let me know if you would need some extra information, which would help in debugging. Thanks!

@arcovoltaico
Copy link
Author

Maybe an update including an automatic "driver reconnect" as a workaround each 10 minutes could "fix" it, if doing that does not mute the sound for a while ....

@thijmenc
Copy link

I've got the same problem as Nebm51. I'm using an external usb interface and I thought my interface was defect. I also use 10.12.6 and I did try to uninstall eqMac2 but the problem stayed..

The distorted sounds keeps getting back more often and often and I hope you'll find the problem because I can't use my external monitors at the moment because of the bug..

@Lemmings84
Copy link

Hey, I have the same problem, as of now, only when playing from spotify. Im using hdmi as output directly from a mac mini, mac os sierra. after I would say approx 30 - 60 minutes the audio starts to sound increasingly distorted in a buffer underrun like manner.
Going to mac os sound settings and reconnecting audio output to the hdmi TV resolves the issue for some time.

But there is also an other issue, which may or may not be related.
It gets noticeable after around 15 mins after resetting audio output, which is increasingly lag as time goes!
its noticeable in players like itunes when pressing play pause. But naturally even more so when watching movies on netflix or pleimo. The sound gets increasingly out of sync as time goes, rewinding the movie, refreshing the page, changing EQ setting does nothing. Once again resetting the audio output in settings fixes the issue temporarily for some time.
if I do not reset the audio output for a long time the delay can get as long as a whole sentence, even a short movie scene.

@MoraFermi
Copy link

I seem to have found a workaround for the issue.

If I use Audio MIDI devices app to enable "Drift Correction" for eqMac device, the distortion does not appear.
If I disable it (which is the default state), it starts within 10 minutes and becomes really heavy within 30.
Please check this screenshot.

@nodeful
Copy link
Collaborator

nodeful commented Sep 2, 2017

@MoraFermi this is a very good find. I will try to enable this programmatically when I create the device. Will include it in the next update

@nodeful
Copy link
Collaborator

nodeful commented Sep 2, 2017

fixed in 848da5f

@nebm51
Copy link

nebm51 commented Sep 3, 2017

Great find @MoraFermi! Hope this will help to fix part of the issue. I've tried to do this on my setup, but sound still degrades after some time of usage.

@dan-djorgi
Copy link

I have the same problem as nebm51.
Using an external USB audio interface (Focusrite Saffire), audio starts to crackle after just a couple minutes and gets more and more distorted. Selecting the USB audio interface (or any other output) in the Apple volume menubar icon (although eqMac2 stays selected) solves the issue for just another 3-5 minutes.
I also tried the "Drift Correction" option in "Audio MIDI Setup" and different Sampling Rates for eqMac2 and my audio interface already, which doesn't solve the issue either.

bd6f308d-9205-4dfb-b1e7-66338c111542

@nodeful
Copy link
Collaborator

nodeful commented Nov 26, 2017

Build 2.1 has just been released. You can download it from https://bitgapp.com/eqmac
Could you please update and report if the issue is still relevant. Thanks :)

@nebm51
Copy link

nebm51 commented Nov 26, 2017

@RomanKisil Hi,I've tried new build. Problem is still there.

@jnc-nj
Copy link

jnc-nj commented Nov 27, 2017

@RomanKisil
Been testing with my ATH-DSR9BT bluetooth headset.
Works fine with bluetooth but problem occurs when headset is connected via USB.

@betterbydesign
Copy link

Same here, tried also using a FocusRite...still same problem. Heres what I have to do every 30 mins or so...
screen capture on 2017-12-01 at 17-08-15

@nodeful
Copy link
Collaborator

nodeful commented Dec 3, 2017

@Satori83 have you tried setting both eqMac2 device and your Scarlet to the same sampling rate? Like 44kHz for instance. You can do that in your Audio MIDI Setup on your Mac

@chrisgross
Copy link

I'm having this same problem with my USB DAC. Brand new High Sierra install with default settings. I will try lining up the sampling rates to see if this makes a difference.

@betterbydesign
Copy link

betterbydesign commented Dec 13, 2017 via email

@llgcode
Copy link

llgcode commented Jan 11, 2018

Hi Ali,
Just fyi.
Sorry I didn't use eqmac2 but I have the same problem using USB soundcard focusrite and an IMac 2009 updated to last high sierra update.

@cmbernard333
Copy link

I am also seeing this issue with a Dragonfly Black 1.5 using eqmac2. Its unbearable. Anyway to fix this?

@jimgoings
Copy link

Same issue using a FIIO E10K USB DAC/AMP. If I change the output device using the eqMac2 dropdown, and switch back it will be fixed for another 10 minutes or so.

@danJGW
Copy link

danJGW commented Feb 27, 2018

Same problem here and it's sending me mad. I'm trying to compose and record music but it's impossible at the moment.
Focusrite 6i6 via USB and like others it starts crapping out after 5/10 minutes until I change a setting then it's ok for a bit and then it happens again. I was so sure it would be a driver issue that in the end I did a clean install of High Sierra but upset that it's happening again!

@VitosX
Copy link

VitosX commented Mar 16, 2018

I have the same issue both in eqMac2 and when using AU Lab from Apple. It happens with USB audio output (Thunderbolt Display audio and MARA 22 XTU device). I haven't checked if builtin audio is affected too.

@sathia-musso
Copy link

Hi, I have the same issue, I'm using audioengine USB dac, it starts fine and then audio becomes really annoying. I'm available to help.

same thing happened with Sound Syphon + Au Lab.

@nodeful
Copy link
Collaborator

nodeful commented May 8, 2018

First of all, I would like to apologize for the lack of communication and responses to the current issue and all other issues in general.
I have made a conscious decision to focus most of my free time and focus on developing a more modern and new version of "eqMac". This means that I can't spend too much time looking back at old codebase and trying to make every user happy. This was the main reason I made this repository open-source, in hopes that other developers might help to sort out some issues and iron out all the bugs. Unfortunately, there are very few developers that are proficient in Core Audio and Objective-C or maybe they are just not interested in this repo, which I can understand.
I promise that the next version will be much more polished and I will make some sort of a mainstream system were solving issues will be very easy and quick. Just sit tight and wait for a new release this coming summer.
Thank you to everyone who gave "eqMac2" a try and I hope I won't disappoint you next time :)

Heres a sneak peak of the UI I am currently working on:
screen shot 2018-05-07 at 20 14 47

@TheLostBrain
Copy link

Nice looking really good. Let me know if you need a beta tester. I’m a full time dev but I do business software for a living. Mostly MS tech and AngularJS so prob wouldn’t be much help coding-wise on this project unfortunately. Good luck with it.

@kaos777
Copy link

kaos777 commented Jun 20, 2018

Hey there!!.. awesome lil piece of software, really like the interface.. simple yet well.. just what I need, unfortunately that "lag" bug is a dealbreaker.. still using it on a dayly basis tough (keep quit and restart it) .. really looking forward a new version.. using a USB external Line6 UX2, Macpro 3.1 @ dual 3.2ghz, 32Gb ra.. offsync audio happen after ±30min like everyone so far

Keep on the good work.. abuse the antifreeze!! and ffs enjoy life... but give us that update!! ;P lol

@multipledisclosures
Copy link

Had the same issue with two different USB DACs. Switched to optical input and it fixed the issue.

@pavelz
Copy link

pavelz commented Nov 29, 2018

Same on iMac 2011 27, tried different rates sample sizes etc. Behringer U-Phoria 204HD dac/amp

@MoraFermi
Copy link

I have been poking around the source code, trying to find the source of this issue for myself.
I have noticed that if I compile the kernel driver using macOS 10.14 as the target, the issue disappears, no code changes necessary.
I've been using a self-compiled version for the last week or so and have not encountered even a single problem so far. It might be worth investigating rebasing the kext to a newer target!

@jderiz
Copy link

jderiz commented Jan 27, 2019

@MoraFermi are you referring to the soundflower kext or eqmac one?

EDIT: I think in my case it was the clocking. So for anyone experiencing these issues on a mac with an external soundcard:

1.) Go to Audio-Midi Setup
2.) make A new Device use both eqmac/soundflower and your external sound card
3.) make eqmac2/soundflower the master-clock device -> enable drift corr. on your soundcard so it listens to eqmac/soundflower for the clock signal.
4.) Choose soundflower/eqmac as your output device in your preferences
5.) Hopefully be happy as this solved your problem

Im using soundflower an AU Lab so dont really know if this fixes it for eqmac...
Hope it helps, if been stuck at this for what felt like decades. Should have crossed my mind earlier tho.... always thought it had something to do with the bit depth both devices operate in....

@chrisgross
Copy link

I have a newer MacBook Pro now, 2018 with 10.14.4, and a new DAC and this is still an issue for me. Sadly, it doesn't look like this issue is going away, so I guess this software is just not for me.

@nodeful
Copy link
Collaborator

nodeful commented Jan 8, 2020

Hey everyone. Excuse me for the lack of updates. I have been really busy on the new version of eqMac. I am happy to announce an open beta release.
You can download it here: https://eqmac.app
There are a lot of known bugs that I could not fix just yet:

  • Driver not installing from the first try. Sometimes need to restart eqMac a couple times.
  • Complex Device switching logic is not perfect (for example when switching off the device that's currently playing, plugging in new device etc.)
  • UI takes long to load (a lot can be done to improve that)
  • UI dimensions are not synching properly
  • There's a noticeable audio delay in the playback, so not suitable for video yet (I know where the problem lies just haven't had the time to fix yet)
  • Sometimes the playback doesn't start, in that case please try to switch the output to the device you want and eqMac should try and build the audio pipeline again.

So as you can see there's still some work to be done but at least it's a completely modern tech stack that I am fully willing to work on: 100% Swift, User Space driver and a Web UI, instead of C++, Kernel Drivers. As I said, should work on Catalina and should not have any pesky ear drum blasting volume bugs (at least I didn't come across any).
I'm open to feedback and issue reports here: https://github.com/bitgapp/eqmac
That repo will become the main repo for eqMac and this repo will be archived eventually.
And yes it's called just eqMac, not eqMac3 :) And it will stay that way forever.

@sathia-musso
Copy link

looks awesome, I've just installed it and seems very nice. super sleek interface and so far no bleeding ears. I'm using usb DAC and it worked immediately. great!!!

@nodeful
Copy link
Collaborator

nodeful commented Apr 4, 2020

Hey everyone 👋
I will be open sourcing the new version of eqMac, therefore, I am closing this issue and repository as I will be transfering nodeful/eqMac2 repo to bitgapp/eqMac
Please bear with me for the next couple of days as I setup that new repo. The eqMac2 code will be living in the old-eqMac2 branch if anyone is interested in referencing it for whatever reason.
Please try out the new version and report bugs to the new repo.
Thanks for using eqMac.

@nodeful
Copy link
Collaborator

nodeful commented Apr 19, 2020

Moving discussion and tracking of this issue to #224

@nodeful nodeful closed this as completed Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests