sound stops - distortion/noise - after 5-10 seconds

Bug #1862784 reported by rudi rose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
New
Undecided
Unassigned

Bug Description

Hi everybody!

Thanks for doing mixxx!

I installed Mixxx on Linux Mint 19.3 with the Cinnamon desktop.
It is version 2.2.3.
I used mixxx on another laptop with linux mint before and had the same problems after the install.
Somehow i was able to solve the issue. But i dont remember how....

So, when i loaded a track in the deck and start playing, it plays for 5-10 seconds.
In that 5-10 seconds there are randomly starting noises and distortive sounds (could also be described as crackling and high noise). I can still hear the track after every noise. But after 5-10 and sometimes 15 seconds, the sound stops.
In Mixxx the track is still moving in the GUI but there is no sound on the speakers anymore.

Sometimes the distotive sound keeps on playing while the rest audio drops. The distortive sound only effects the master. When i play with the gain on the decks for example it does not change the volume of the distortive sound. While moving the master changes the volume of the distortive sound.

The controller also is flickering (the lights) when the sound comes.

I use a Reloop Beatmix 4 and have everything set up as it is instructed in the manual. Also, i remeber the settings from my old laptop and i am pretty sure that i use the same.

Hardware:
Thinkpad t450s with I7 5600U 2x 2,60ghz
Ram 8 GB
Video: Intel HD graphics 5500
Sound Hardware: Beatmix 4 (controller with integrated soundcard)

Thanks for reading.
Hopefully someone knows that kind of problem.
cheers rudi

Revision history for this message
rudi rose (rudidercoole) wrote :
rudi rose (rudidercoole)
description: updated
Revision history for this message
Daniel Schürmann (daschuer) wrote :

Interesting.
I cannot see something suspicious in the log file. Is this from a faulty run?

Does the distortive sound appears in every single Mixxx run?
Does it also happen if you don't connect you controller and configure Mixxx to use the internal sound card?

What means moving the master.
Is it s physical control or is it the software master gain knob?

How is sound hardware cinfugured?
API buffer size and sample rate?

Are you able to record the distored sound using the Mixxx recording frature?

Some wild guesses:
Maybe it is cases by the Mixxx effect engine going wild.
Or there is a driver issue ...

Revision history for this message
rudi rose (rudidercoole) wrote :
Revision history for this message
rudi rose (rudidercoole) wrote :
Revision history for this message
rudi rose (rudidercoole) wrote :
Revision history for this message
rudi rose (rudidercoole) wrote :

It appears in every mixxx run...
It is not when i connect without the controller on the internal soundcard (intersting!).

It is a physical knob. And when i hear the distortive sound i can effect the volume of the sound via the master physical knob on the controller.
While the Gain on the deck the track is on, does not affect the distortives sound volume.

Sound hardware is
API = ALSA
Buffer Size = 23.2ms
Sample Rate = 44100hz

However i already tried all different API, Buffer Size and Sample Rates and their combination.

I was not able to record the sound, see post #3.

Thanks for the guesses and your help!
Thank you thank you thank you!
I will look into my drivers.

Revision history for this message
rudi rose (rudidercoole) wrote :

I also added two new log files from the last 2 runs where there definately was the distortive sound present.

Revision history for this message
rudi rose (rudidercoole) wrote :

i just found out that when i play from rhytmbox in linux, i can play through the beatmix 4 without problem.

Its just in mixxx...

Revision history for this message
Daniel Schürmann (daschuer) wrote :

In case of Rhythmbox, the sound goes probably trough Pulse to your soundcard.
You can do the same in Mixxx if you select "pulse" as soundcard.
However this is not recommended, because of the additional latency involved.

Mixxx uses by default an audio buffer of 23.2 ms Pulse uses 185,6 ms

In my case I can verify this by
cat /proc/asound/card0/pcm0p/sub0/hw_params

Revision history for this message
Daniel Schürmann (daschuer) wrote :

Rhythembox nomally uses Pulse to pass the sound to the soundcard.
It Uses a buffer size of 186.5 ms while Mixxx uses 23.2 ms by default.

You can do teh same in Mixxx by using "pulse" as soundcard. However this is not recommended because of the extra layer of latency.

I guess a slightly bigger buffer will solve your problem.

In my case I can verify the current soundcard settings with:

cat /proc/asound/card0/pcm0p/sub0/hw_params

Revision history for this message
rudi rose (rudidercoole) wrote :

Thank you!

I tried 46.4 and 92.9 ms.
Both did not change the problem.. it comes back ager 10 seconds as usual.

Do i have to do something with my alsa and download something from here: https://www.alsa-project.org/wiki/Download ?

Revision history for this message
rudi rose (rudidercoole) wrote :

it works now...

i had to change from 44100 to 44800 hz in the sample rate

Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/9882

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.