bitgapp / eqMac

macOS System-wide Audio Equalizer & Volume Mixer 🎧
https://eqmac.app
Apache License 2.0
5.74k stars 334 forks source link

Bug: Audio builds up latency over time and losing sync with Video Playback #225

Closed nodeful closed 3 years ago

nodeful commented 4 years ago

Disclaimer: Please go through existing issues to avoid creating duplicates. If you found a similar issue please post a comment there. If you are uncertain your issue is related to others then create the issue. Obvious ignorance of this rule might get you blocked from posting new issues. Please tick the box below to show that you have followed the guideline.

Describe the bug Reported in #119 #144 #212

I (the developer) have never actually seen this problem occur to me, probably due to the specific hardware setup that I have. However, many users have reported and this is a critical issue to fix.

On some hardware setups Audio processing always drifts the audio playback slightly, which over long period of time can result in drastic difference in sync between audio and video playback.

This is probably caused by difference in Sampling Rates between driver and output device and eqMac having quite primitive drift correction methods.

The bug is likely related to #224 and probably fixing one of these will fix the other.

Need to do more research.

Steps to Reproduce Need to go through the referenced issues and see what hardware setup people have reported to be able to achieve a similar setup and reproduce the issue.

Expected behaviour eqMac should always keep the audio in sync as much as possible and introduce no latency over time.

Setup information: Need to go through the referenced issues and see what hardware setup people have reported to be able to achieve a similar setup and reproduce the issue.

hanrok commented 4 years ago

@nodeful , I don't know if I have exactly that bug but when I use the app after a while the sound is crackling. How can I help fixing this issue? Does debug info might help in this situation? how can I get you those?

Thanks in advance 😄

nodeful commented 4 years ago

@hanrok as I already mentioned, it's related and referenced in #224

chrismfrench commented 4 years ago

Downloaded the app, works great and UI is awesome. I finally retired my Thunderbolt Display and this app was the perfect solution for my HDMI cable carrying my video and audio data to my new external monitor. I think this app will help out a lot of people in the same situation who are getting new non-Apple external monitors since the XDR display is so damn expensive. However, the audio/video delay is definitely an issue for me, now more than ever with so many Zoom conferences. You mentioned needing hardware information to replicate the issue and get it fixed, please let me know how I can provide that for you. Thanks!

hanrok commented 4 years ago

@hanrok as I already mentioned, it's related and referenced in #224

I understand, but I'm willing to help because I really like the equalizer :) So just let me know what debug information do you need and how to get it and I'll give you that

nodeful commented 4 years ago

I have just release a new version v0.1.0 where I tried to mitigate the issue. Could you please download the latest version from https://eqmac.app or GitHub, or update directly from the app. Test and report back!

chrismfrench commented 4 years ago

Just downloaded and installed v0.1.0 and have been using for ~20 minutes on Zoom, YouTube, Spotify, so far not audio delays! Will report back with anything new, thanks again for such a great app!

hanrok commented 4 years ago

It work for me too. But there is a crash when I disconnect my Sony WH-1000 bluetooth headphones crash.txt

nodeful commented 4 years ago

@hanrok your issue is related to #227 Can you please remove your comment as it's very big and noisy and post it as a file (drag and drop a .txt file) in the issue I referenced. Thank

northamerican commented 4 years ago

@nodeful Sadly, i'm still experiencing an increasing delay. several seconds after a few hours.

Catalina on HDMI tv output.

Soundflower had this same issue and I don't think they've managed to fix it to this day. Would be really nice to experience working volume control on HDMI.

Maybe 'reset playback' can be triggered every 30 mins or so as a very hacky workaround?

hanrok commented 4 years ago

@hanrok your issue is related to #227 Can you please remove your comment as it's very big and noisy and post it as a file (drag and drop a .txt file) in the issue I referenced. Thank

sure, sorry about that

ppamorim commented 4 years ago

I am getting the same issue :/

nodeful commented 4 years ago

Can you guys please try the latest version v0.3.2 and report back if the issue is still there. Thank you

vcanales commented 3 years ago

Can you guys please try the latest version v0.3.2 and report back if the issue is still there. Thank you

0.3.7 here, very noticeable latency in video playback.

therealthepaul commented 3 years ago

Can verify that the latency issue described in this bug is still happening on external display (over HDMI). UI Version: 1.2.2, App Version: 0.3.7, Driver Version: 1.2

nodeful commented 3 years ago

Thanks for being patient with me. I have just released v1.0.0. You can download it here: https://github.com/bitgapp/eqMac/releases/tag/v1.0.0 Or from the website: https://eqmac.app Could you please let me know if this issue is still present. Thanks again.

Roman

Geffreyvanderbos commented 3 years ago

Hey Roman,

Still got a drift going. App Version 1.1.0. Driver Version 1.2.3.

2020 Macbook M1. Bluetooth connected with Sony WH-1000XM3 on Expert equaliser. If that matters.

Thanks for all your work! Happy customer.

nodeful commented 3 years ago

I think this issue has been solved for a while now, I haven't had reports of this happening lately. I will close this issue for now unless someone tells me otherwise. Thank you everyone for your patience and support

cyounkins commented 2 years ago

I think I'm experiencing this. When watching Twitch livestreams there's a noticeable disconnect between the person's mouth and the audio. Here's a recorded sample: https://youtu.be/6h0p3MroOls I see it across multiple people on Twitch, but it's possible it's limited to Twitch.

I'm on app v1.6.2, driver v2.2.0, UI v4.3.1. Firefox 106.0.4.

YouTube "audio latency tests" (like https://www.youtube.com/watch?v=ucZl6vQ_8Uo) work fine, but they are short. Maybe I need to copy one and loop it a bunch?

klerpi commented 1 year ago

see it across multiple people on Twitch, but it's possible it's limited to Twitch

Unfortunately it isn't. Happening a lot on YouTube.

cyounkins commented 1 year ago

I uninstalled eqMac but continued to see audio delay on Twitch streams - it may be / have been Firefox or Twitch.

klerpi commented 1 year ago

I uninstalled eqMac but continued to see audio delay on Twitch streams - it may be / have been Firefox or Twitch.

I'm also using Firefox. This may be the case.

pedrowrt commented 2 months ago

I'm having the same issue, crackling and audio/video sync delay in Safari/Youtube