User Tools

Site Tools


traktor_audio_2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
traktor_audio_2 [2018/09/08 10:20]
be.ing
traktor_audio_2 [2018/09/08 10:38] (current)
be.ing
Line 1: Line 1:
-To use the original version of the Native Instruments Traktor Audio 2 (the one with two 1/4 inch/6.35 mm jacks; the one with 1/8" inch/3.5mm jacks is the newer model) with Mixxx on Linux, copy and paste this to ''​~/​.asoundrc''​. Select "djA" ​as the output device ​with Channels 1-2 for Mixxx'​s Master output and "djB" with channels 1-2 for Mixxx'​s Headphones output:+The original version of the Native Instruments Traktor Audio 2 (the one with two 1/4 inch/6.35 mm jacks; the one with 1/8" inch/3.5mm jacks is the newer model) ​can work with Mixxx on Linux but it needs a bit of configuration. This device presents to ALSA as two subdevices, but by default PortAudio, the cross-platform library Mixxx uses to access sound hardware, only lists one of the subdevices in Mixxx so the headphone output can't be configured. To work around this, copy and paste the text below to a file at ''​~/​.asoundrc''​. Select "TraktorAudio2Master" with Channels 1-2 for Mixxx'​s Master output and "TraktorAudio2Headphones" with channels 1-2 for Mixxx'​s Headphones output:
  
 <​code>​ <​code>​
-#​-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- +pcm.TraktorAudio2Master ​{ type plug; slave.pcm "​hw:​TraktorAudio2,​0,​0";​ } 
-# Native Instruments :: Audio2DJ ALSA Configuration +pcm.TraktorAudio2Headphones ​{ type plug; slave.pcm "​hw:​TraktorAudio2,​0,​1";​ } 
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +</​code>​
-+
-#    device channels ​       ports +
-#    -------- ​  ​--- ​            ​--------- +
-#    djA    2               ​12xx +
-#    djB    2               ​xx34 +
-+
-#    djAB   ​ 4 ​              ​1234 +
- +
-#​-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- +
-# dj(a-d) :: Raw 1x1 Stereo Devices +
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
-pcm.djA { type plug; slave.pcm "​hw:​TraktorAudio2,​0,​0";​ } +
-pcm.djB { type plug; slave.pcm "​hw:​TraktorAudio2,​0,​1";​ } +
- +
- +
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
-# djAB :: Multi 2x2 Stereo Device (Ports 1-4, Channels A+B) +
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
-pcm.djAB { +
-        type multi +
- +
-        # bind hardware devices +
-        slaves.a.pcm djA +
-        slaves.a.channels 2 +
-        slaves.b.pcm djB +
-        slaves.b.channels 2 +
- +
-        # bind channels to virtual device +
-        bindings.0.slave a +
-        bindings.0.channel 0 +
-        bindings.1.slave a +
-        bindings.1.channel 1 +
-        bindings.2.slave b +
-        bindings.2.channel 0 +
-        bindings.3.slave b +
-        bindings.3.channel 1 +
-}</​code>​+
traktor_audio_2.txt · Last modified: 2018/09/08 10:38 by be.ing