Skip to content

Instantly share code, notes, and snippets.

@mheland
Created October 18, 2022 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mheland/e5ab287d57a05a9aaf3524c58757e62f to your computer and use it in GitHub Desktop.
Save mheland/e5ab287d57a05a9aaf3524c58757e62f to your computer and use it in GitHub Desktop.
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# Native Instruments :: Traktor Audio 2 ALSA Configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Device Channels Ports
# ------ -------- -----
# TraktorAudio2ChannelA 2 12xx
# TraktorAudio2ChannelA 2 xx34
#
# TraktorAudio2ChannelAB 4 1234
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# TraktorAudio2Channel{A,B} :: Raw 1x1 Stereo Devices
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
pcm.TraktorAudio2ChannelA { type plug; slave.pcm "hw:TraktorAudio2,0,0"; }
pcm.TraktorAudio2ChannelB { type plug; slave.pcm "hw:TraktorAudio2,0,1"; }
[General]
auto-profiles = no
[Mapping analog-stereo-a]
description = Analog Stereo Channel A
device-strings = hw:%f,0,0
channel-map = left,right
direction = output
[Mapping analog-stereo-b]
description = Analog Stereo Channel B
device-strings = hw:%f,0,1
channel-map = left,right
direction = output
[Profile output:analog-stereo-a]
description = Analog Stereo Output Channel A
output-mappings = analog-stereo-a
priority = 60
skip-probe = yes
[Profile output:analog-stereo-b]
description = Analog Stereo Output Channel B
output-mappings = analog-stereo-b
priority = 50
skip-probe = yes
[Profile analog-stereo-all]
description = Analog Stereo Output Channels A & B
output-mappings = analog-stereo-a analog-stereo-b
priority = 100
skip-probe = yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment