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

Cannot select NI Traktor Audio 2 sound card in preferences #6690

Closed
mixxxbot opened this issue Aug 22, 2022 · 4 comments
Closed

Cannot select NI Traktor Audio 2 sound card in preferences #6690

mixxxbot opened this issue Aug 22, 2022 · 4 comments

Comments

@mixxxbot
Copy link
Collaborator

Reported by: dpm
Date: 2012-11-09T10:28:18Z
Status: Invalid
Importance: Medium
Launchpad Issue: lp1076948


First of all, thanks a lot for the really awesome piece of software that Mixxx is.

I'm running Ubuntu 12.10 and Mixxx 1.10.1~dfsg0-1 (the version from the main archive), and I'm trying to use an NI Traktor Audio 2 sound card as the master output device in the sound preferences.

It's a USB sound card with 2 outputs that's got a working driver in Ubuntu. It works out of the box with PulseAudio apps (e.g. the main sound preferences in Ubuntu, Banshee, Rhythmbox, etc) and with some ALSA apps (e.g. transitionsdj), at least for a single channel output.

However, while it can be initially selected in the sound preferences as an output device, upon clicking on the "Apply" or "OK" button, I get the following error, which stops me from using it:

Error opening soud device "Traktor Audio 2: Traktor Audio 2 (hw:2,0)"
Sample format not supported

I've worked around it by creating a custom .asoundrc file, as documented below. However, I'm reporting this bug as for a better user experience (not every user will be able to create such a file or know that they need to create it) I believe the card should be selectable and usable out of the box with Mixxx.

http://askubuntu.com/q/214749/9781

Here is the relevant log output (TraktorAudio2 is the card I'm refering to):

$ cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf2420000 irq 44
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xcdefc000 irq 16
 2 [TraktorAudio2  ]: snd-usb-caiaq - Traktor Audio 2
                      Native Instruments Traktor Audio 2 (usb-0000:00:1d.0-1.1)
29 [ThinkPadEC     ]: ThinkPad EC - ThinkPad Console Audio Control
                      ThinkPad Console Audio Control at EC reg 0x30, fw 6IHT39WW-1.14

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: TraktorAudio2 [Traktor Audio 2], device 0: Traktor Audio 2 [Traktor Audio 2]
  Subdevices: 1/2
  Subdevice #0: subdevice #0
  Subdevice mixxxdj/mixxx#4910: subdevice mixxxdj/mixxx#4910

$ aplay -L
default
    Playback/recording through the PulseAudio sound server
sysdefault:CARD=Intel
    HDA Intel, CONEXANT Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    Direct sample snooping device
hw:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
    HDA Intel, CONEXANT Analog
    Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    HDMI Audio Output
dmix:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Direct sample snooping device
hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
sysdefault:CARD=TraktorAudio2
    Traktor Audio 2, Traktor Audio 2
    Default Audio Device
dmix:CARD=TraktorAudio2,DEV=0
    Traktor Audio 2, Traktor Audio 2
    Direct sample mixing device
dsnoop:CARD=TraktorAudio2,DEV=0
    Traktor Audio 2, Traktor Audio 2
    Direct sample snooping device
hw:CARD=TraktorAudio2,DEV=0
    Traktor Audio 2, Traktor Audio 2
    Direct hardware device without any conversions
plughw:CARD=TraktorAudio2,DEV=0
    Traktor Audio 2, Traktor Audio 2
    Hardware device with all software conversions
@mixxxbot
Copy link
Collaborator Author

Commented by: daschuer
Date: 2015-01-23T18:28:37Z


Is this still an issue with the latest Mixxx 1.11 or Mixxx 1.12 alpha?

@mixxxbot
Copy link
Collaborator Author

Commented by: ywwg
Date: 2015-01-23T18:50:09Z


The older Native Instruments devices use subdevices, which portaudio does not support. I have the same problem with my Audio4DJ. A .asoundrc or a JACK setup are required to work around the problem.

But, this is not a mixxx bug.

@mixxxbot
Copy link
Collaborator Author

Commented by: ywwg
Date: 2015-01-23T18:50:58Z


Work is proceeding on trying to fix this bug in portaudio: http://music.columbia.edu/pipermail/portaudio/2015-January/016496.html

@mixxxbot
Copy link
Collaborator Author

Issue closed with status Invalid.

@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