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

Heavy Aux input buffer underflows #8846

Open
mixxxbot opened this issue Aug 23, 2022 · 5 comments
Open

Heavy Aux input buffer underflows #8846

mixxxbot opened this issue Aug 23, 2022 · 5 comments

Comments

@mixxxbot
Copy link
Collaborator

Reported by: daschuer
Date: 2017-04-18T20:29:41Z
Status: Confirmed
Importance: High
Launchpad Issue: lp1683924


This was reported here:
https://bugs.launchpad.net/mixxx/+bug/1660176
(Including a recording)

If you setup the ALSA loopback device for using the system sound as AUX input, it is heavily distorted. It does not happen if you pick "Experimential (no delay)" for Multi Soundcard sync.

@mixxxbot
Copy link
Collaborator Author

Commented by: ron-granger
Date: 2017-05-22T18:23:35Z


It is distorted as well when I select "Experimental (no delay)". I hear crackles in the sound.
With Rubberband instead of Soundtouch it sounds better but it isn't gone. Additionally I get a delay of more than 2 seconds and when turning the sound up in pulseaudio (Mixxx is directly connected to ALSA) I hear a heavily distortion again.

@mixxxbot
Copy link
Collaborator Author

Commented by: ron-granger
Date: 2017-05-22T18:32:49Z


Switching to 41kHz as sample rate using the maximum audio buffer of 92.9 ms and using default (not Experimental!) sounds better.
But sometimes (and when changing the pulseaudio volume) I think it skips or repeats a part of the last played sound, I think there is a problem with buffering? Additionally a 100% pulseaudio output will result in clipping in Mixxx.

@mixxxbot
Copy link
Collaborator Author

Commented by: rryan
Date: 2018-09-20T17:02:34Z


Looks like this bug got lost in the shuffle. Does it still occur with Mixxx 2.1.4?

@mixxxbot
Copy link
Collaborator Author

Commented by: rryan
Date: 2018-10-17T04:14:55Z


friendly ping @daniel

@mixxxbot
Copy link
Collaborator Author

Commented by: c-moon
Date: 2020-11-19T22:41:59Z


I can confirm this issue isn't fixed yet in recent 2.3.0 Beta of Mixxx.
I was curious about the quality of the built-in RIAA preamp in my Denon MC7000, so I did a quick test and connected a turntable directly to it. In Mixxx I selected the Denon device as AUX1 in settings, so I can do recordings also from the analogue inputs of the Denon MC7000.
It worked but with crackling sound in the recordings as described above. If I pick "Experimental" and raise the audio buffer to 92,9 ms, the recording seems quite OK.

I also did a second test and configured Pulseaudio as AUX1 input and played some music through Pulseaudio as loopback device. This worked flawlessly without any changes in my normal settings to buffer (5,8 ms) or Multi Soundcard Sync (Default (long delay)).

So this problem could probably be related to ALSA itself, but it's just a guess (tested with Gentoo Linux 64-bit, Kernel 5.4 with RT-Patch).

Regards,
Marco

@mixxxbot mixxxbot transferred this issue from another repository Aug 24, 2022
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

1 participant