Headphone cue crash, stuck playing deck B

Bug #1663078 reported by richard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Expired
High
Unassigned

Bug Description

I'm totally new here so excuse my limited knowledge of the appropriate nomenclature.

I'm running Mixxx 2.0 in Linux Mint 17.1, linux kernel 3.13.0-88-generic, on an Asus Zenbook UX32A and was using a Pioneer DDJ SB when the crash/bug occurred.

After mixing for about an hour the track playing on deck B in the headphones was playing out of sync with the sound from the monitor. Also, it was stuck playing that track and wouldn't switch to the other deck when changing the cue buttons on the midi controller.

See attached log file (I think it's the right one).

Revision history for this message
richard (capn-ricard) wrote :
Revision history for this message
Daniel Schürmann (daschuer) wrote :

> After mixing for about an hour the track playing on deck B in the headphones was playing out of sync with the sound from the monitor.

What does this mean? How does your hardware setup look like?
Main + Monitor + Headphones? Which sound cards do you use? What is you buffer size, sound API and Multi soundcards sync settings?

> Also, it was stuck playing that track and wouldn't switch to the other deck when changing the cue buttons on the midi controller.

Is this an other unrelated issue?
If yes, please report a second bug with a step by step list what you have done, and what Mixxx has done and what you expect.

Revision history for this message
richard (capn-ricard) wrote :

Okay I'll try and break it down, it's difficult to describe and probably even harder to interpret.

First I'll give a more detailed hardware setup:

* Laptop = Asus Zenbook UX32A Intel Core i5-3317U (Intel Corporation 7 Series/C210 Series Chipset)

* Pioneer DDJ SB MIDI controller with an integrated 24 bit/44.1 kHz soundcard

* Laptop <---> DJ MIDI controller + Headphones + Speakers
(i.e., output; master = pioneer ddj sb on channels 1 & 2,
headphones = pioneer ddj sb on channels 3 & 4)

Settings:

* Sound API = ALSA

* Audio Buffer = 23.2 ms

* Multi-Soundcard Synchronization = Default (long delay)

> After mixing for about an hour the track playing on deck B (channel 4) in the headphones was playing out of sync with the sound from the monitors (channel 2) (where monitors = speakers).
This means, the track playing from deck B on channel 4 cued up in the headphones was not playing with the same timing as it was coming from the speakers on channel 2.
So if you were mixing you would hear the track on deck B playing from the speakers out of time with the sound from the headphones.

> Also, it was stuck playing that track and wouldn't switch to the other deck when changing the cue buttons on the midi controller.

Is this an other unrelated issue?

Answer; no. This was part of the same issue which happened simultaneously.
The song playing on deck B (channel 2) that was out of sync with the sound from the speakers (channel 4) wouldn't change to deck A (channel 1) when the deck A (channel B) cue button was selected, it just carried on playing channel 4. In other words the cue buttons became unresponsive.

Mixxx was running perfectly for about an hour up until this point.

I hope this makes more sense for everyone.

Revision history for this message
richard (capn-ricard) wrote :

EDIT (left out sample rate)

Okay I'll try and break it down, it's difficult to describe and probably even harder to interpret.

First I'll give a more detailed hardware setup:

* Laptop = Asus Zenbook UX32A Intel Core i5-3317U (Intel Corporation 7 Series/C210 Series Chipset)

* Pioneer DDJ SB MIDI controller with an integrated 24 bit/44.1 kHz soundcard

* Laptop <---> DJ MIDI controller + Headphones + Speakers
(i.e., output; master = pioneer ddj sb on channels 1 & 2,
headphones = pioneer ddj sb on channels 3 & 4)

Settings:

* Sound API = ALSA

* Audio Buffer = 23.2 ms

* Multi-Soundcard Synchronization = Default (long delay)

* Sample rate = 44100 Hz

> After mixing for about an hour the track playing on deck B (channel 4) in the headphones was playing out of sync with the sound from the monitors (channel 2) (where monitors = speakers).
This means, the track playing from deck B on channel 4 cued up in the headphones was not playing with the same timing as it was coming from the speakers on channel 2.
So if you were mixing you would hear the track on deck B playing from the speakers out of time with the sound from the headphones.

> Also, it was stuck playing that track and wouldn't switch to the other deck when changing the cue buttons on the midi controller.

Is this an other unrelated issue?

Answer; no. This was part of the same issue which happened simultaneously.
The song playing on deck B (channel 2) that was out of sync with the sound from the speakers (channel 4) wouldn't change to deck A (channel 1) when the deck A (channel B) cue button was selected, it just carried on playing channel 4. In other words the cue buttons became unresponsive.

Mixxx was running perfectly for about an hour up until this point.

I hope this makes more sense for everyone.

Revision history for this message
richard (capn-ricard) wrote :

EDIT #2 (some mistakes, would be good if you could edit comments?!)

Okay I'll try and break it down, it's difficult to describe and probably even harder to interpret.

First I'll give a more detailed hardware setup:

* Laptop = Asus Zenbook UX32A Intel Core i5-3317U (Intel Corporation 7 Series/C210 Series Chipset)

* Pioneer DDJ SB MIDI controller with an integrated 24 bit/44.1 kHz soundcard

* Laptop <---> DJ MIDI controller + Headphones + Speakers
(i.e., output; master = pioneer ddj sb on channels 1 & 2,
headphones = pioneer ddj sb on channels 3 & 4)

Settings:

* Sound API = ALSA

* Audio Buffer = 23.2 ms

* Multi-Soundcard Synchronization = Default (long delay)

* Sample rate = 44100 Hz

> After mixing for about an hour the track playing on deck B (channel 4) in the headphones was playing out of sync with the sound from the monitors (channel 2) (where monitors = speakers).
This means, the track playing from deck B on channel 4 cued up in the headphones was not playing with the same timing as it was coming from the speakers on channel 2.
So if you were mixing you would hear the track on deck B playing from the speakers out of time with the sound from the headphones.

> Also, it was stuck playing that track and wouldn't switch to the other deck when changing the cue buttons on the midi controller.

Is this an other unrelated issue?

Answer; no. This was part of the same issue which happened simultaneously.
The song playing on deck B (channel 2) that was out of sync with the sound from the headphones (channel 4) wouldn't change to deck A (channel 1) when the deck A (channel B) cue button was selected, it just carried on playing channel 4. In other words the cue buttons became unresponsive.

Mixxx was running perfectly for about an hour up until this point.

I hope this makes more sense for everyone.

Revision history for this message
Be (be.ing) wrote :

I am confused about how you are referring to decks by letter and number.

It seems this might be a bug in how the controller mapping handles toggling between decks 1+2 vs 3+4.

Revision history for this message
richard (capn-ricard) wrote :

The speaker output plays through channels 1 + 2 and the headphones play through channels 3 + 4

Deck A output speakers = channel 1
Deck A output headphones = channel 3

Deck B output speakers = channel 2
Deck B output headphones = channel 4

It has to be set up this way otherwise I get an error

I've included a screenshot of my settings

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

You setup looks OK, but it does not what you describe.

Deck A and Deck B are mixed into master, and that is passed to channel 1 + 2 (stereo)
The headphones play everything that is enabled for PLF + the preview deck to channel 3 + 4 (stereo)

How much is it out of time?

Revision history for this message
richard (capn-ricard) wrote :

Ah ok.

It was considerably out of time and the cue buttons ceased to respond.

Revision history for this message
Be (be.ing) wrote :

By "cue buttons" are you referring to the headphone buttons?

Revision history for this message
richard (capn-ricard) wrote :

yes

Revision history for this message
richard (capn-ricard) wrote :

>By "cue buttons" are you referring to the headphone buttons?

Yes, sorry, should have been more specific...

RJ Skerry-Ryan (rryan)
Changed in mixxx:
importance: Undecided → High
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

@richard, does this still happen with 2.1.4 or 2.2 beta?

Changed in mixxx:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Mixxx because there has been no activity for 60 days.]

Changed in mixxx:
status: Incomplete → Expired
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/8798

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.