Skip to content

Commit 40d4bbe

Browse files
parzival-spaceperexg
authored andcommitted
Add multitrack mappings for 1.7.3 firmware
Add split pcm devices for 1.7.3 multitrack mappings Fix typos in configuration comments Closes: #729 Signed-off-by: Malte Linke <me@parzival.space> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
1 parent fe07c17 commit 40d4bbe

File tree

3 files changed

+290
-5
lines changed

3 files changed

+290
-5
lines changed
Lines changed: 238 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,238 @@
1+
Include.pcm_split.File "/common/pcm/split.conf"
2+
3+
Macro.playback.SplitPCM {
4+
Name "rodecaster_pro_ii_dynamic_stereo_in"
5+
Direction Capture
6+
Channels 2
7+
HWChannels 20
8+
Device 1
9+
10+
HWChannelPos0 FL # Main Mix Left
11+
HWChannelPos1 FR # Main Mix Right
12+
13+
HWChannelPos2 FL # Fader 1 Left
14+
HWChannelPos3 FR # Fader 1 Right
15+
16+
HWChannelPos4 FL # Fader 2 Left
17+
HWChannelPos5 FR # Fader 2 Right
18+
19+
HWChannelPos6 FL # Fader 3 Left
20+
HWChannelPos7 FR # Fader 3 Right
21+
22+
HWChannelPos8 FL # Fader 4 Left
23+
HWChannelPos9 FR # Fader 4 Right
24+
25+
HWChannelPos10 FL # Fader 5 Left
26+
HWChannelPos11 FR # Fader 5 Right
27+
28+
HWChannelPos12 FL # Fader 6 Left
29+
HWChannelPos13 FR # Fader 6 Right
30+
31+
HWChannelPos14 FL # Virtual Fader 1 Left
32+
HWChannelPos15 FR # Virtual Fader 1 Right
33+
34+
HWChannelPos16 FL # Virtual Fader 2 Left
35+
HWChannelPos17 FR # Virtual Fader 2 Right
36+
37+
HWChannelPos18 FL # Virtual Fader 3 Left
38+
HWChannelPos19 FR # Virtual Fader 3 Right
39+
}
40+
41+
SectionDevice."Mic" {
42+
Comment "Microphone"
43+
44+
Value {
45+
CapturePriority 100
46+
CapturePCM "hw:${CardId},0"
47+
}
48+
}
49+
50+
SectionDevice."Line:main" {
51+
Comment "Main"
52+
53+
Value {
54+
CapturePriority 110
55+
}
56+
Macro.pcm_split.SplitPCMDevice {
57+
Name "rodecaster_pro_ii_dynamic_stereo_in"
58+
Direction Capture
59+
Device 1
60+
HWChannels 20
61+
Channels 2
62+
Channel0 0
63+
Channel1 1
64+
ChannelPos0 FL
65+
ChannelPos1 FR
66+
}
67+
}
68+
69+
SectionDevice."Line:fader_1" {
70+
Comment "Fader 1"
71+
72+
Value {
73+
CapturePriority 120
74+
}
75+
Macro.pcm_split.SplitPCMDevice {
76+
Name "rodecaster_pro_ii_dynamic_stereo_in"
77+
Direction Capture
78+
Device 1
79+
HWChannels 20
80+
Channels 2
81+
Channel0 2
82+
Channel1 3
83+
ChannelPos0 FL
84+
ChannelPos1 FR
85+
}
86+
}
87+
88+
SectionDevice."Line:fader_2" {
89+
Comment "Fader 2"
90+
91+
Value {
92+
CapturePriority 130
93+
}
94+
Macro.pcm_split.SplitPCMDevice {
95+
Name "rodecaster_pro_ii_dynamic_stereo_in"
96+
Direction Capture
97+
Device 1
98+
HWChannels 20
99+
Channels 2
100+
Channel0 4
101+
Channel1 5
102+
ChannelPos0 FL
103+
ChannelPos1 FR
104+
}
105+
}
106+
107+
SectionDevice."Line:fader_3" {
108+
Comment "Fader 3"
109+
110+
Value {
111+
CapturePriority 140
112+
}
113+
Macro.pcm_split.SplitPCMDevice {
114+
Name "rodecaster_pro_ii_dynamic_stereo_in"
115+
Direction Capture
116+
Device 1
117+
HWChannels 20
118+
Channels 2
119+
Channel0 6
120+
Channel1 7
121+
ChannelPos0 FL
122+
ChannelPos1 FR
123+
}
124+
}
125+
126+
SectionDevice."Line:fader_4" {
127+
Comment "Fader 4"
128+
129+
Value {
130+
CapturePriority 150
131+
}
132+
Macro.pcm_split.SplitPCMDevice {
133+
Name "rodecaster_pro_ii_dynamic_stereo_in"
134+
Direction Capture
135+
Device 1
136+
HWChannels 20
137+
Channels 2
138+
Channel0 8
139+
Channel1 9
140+
ChannelPos0 FL
141+
ChannelPos1 FR
142+
}
143+
}
144+
145+
SectionDevice."Line:fader_5" {
146+
Comment "Fader 5"
147+
148+
Value {
149+
CapturePriority 160
150+
}
151+
Macro.pcm_split.SplitPCMDevice {
152+
Name "rodecaster_pro_ii_dynamic_stereo_in"
153+
Direction Capture
154+
Device 1
155+
HWChannels 20
156+
Channels 2
157+
Channel0 10
158+
Channel1 11
159+
ChannelPos0 FL
160+
ChannelPos1 FR
161+
}
162+
}
163+
164+
SectionDevice."Line:fader_6" {
165+
Comment "Fader 6"
166+
167+
Value {
168+
CapturePriority 170
169+
}
170+
Macro.pcm_split.SplitPCMDevice {
171+
Name "rodecaster_pro_ii_dynamic_stereo_in"
172+
Direction Capture
173+
Device 1
174+
HWChannels 20
175+
Channels 2
176+
Channel0 12
177+
Channel1 13
178+
ChannelPos0 FL
179+
ChannelPos1 FR
180+
}
181+
}
182+
183+
SectionDevice."Line:fader_virtual_1" {
184+
Comment "Virtual Fader 1"
185+
186+
Value {
187+
CapturePriority 180
188+
}
189+
Macro.pcm_split.SplitPCMDevice {
190+
Name "rodecaster_pro_ii_dynamic_stereo_in"
191+
Direction Capture
192+
Device 1
193+
HWChannels 20
194+
Channels 2
195+
Channel0 14
196+
Channel1 15
197+
ChannelPos0 FL
198+
ChannelPos1 FR
199+
}
200+
}
201+
202+
SectionDevice."Line:fader_virtual_2" {
203+
Comment "Virtual Fader 2"
204+
205+
Value {
206+
CapturePriority 190
207+
}
208+
Macro.pcm_split.SplitPCMDevice {
209+
Name "rodecaster_pro_ii_dynamic_stereo_in"
210+
Direction Capture
211+
Device 1
212+
HWChannels 20
213+
Channels 2
214+
Channel0 16
215+
Channel1 17
216+
ChannelPos0 FL
217+
ChannelPos1 FR
218+
}
219+
}
220+
221+
SectionDevice."Line:fader_virtual_3" {
222+
Comment "Virtual Fader 3"
223+
224+
Value {
225+
CapturePriority 200
226+
}
227+
Macro.pcm_split.SplitPCMDevice {
228+
Name "rodecaster_pro_ii_dynamic_stereo_in"
229+
Direction Capture
230+
Device 1
231+
HWChannels 20
232+
Channels 2
233+
Channel0 18
234+
Channel1 19
235+
ChannelPos0 FL
236+
ChannelPos1 FR
237+
}
238+
}

ucm2/USB-Audio/RODE/RODECaster-Pro-II.conf

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# The RODECaster Pro II has two USB ports, each with its own PID.
2-
# USB1 has additionally the special capability to send multiple additonal tracks (multitrack mode).
3-
# The multitrack functionallity can be configured for output and input individually.
4-
# This soundcard also provides two devices on USB1. Device 0 is always the Mic/Chat Track. Device 1 is the
2+
# USB1 has additionally the special capability to send multiple additional tracks (multitrack mode).
3+
# The multitrack functionality can be configured for output and input individually.
4+
# This sound card also provides two devices on USB1. Device 0 is always the Mic/Chat Track. Device 1 is the
55
# optional multitrack device.
66

77
Comment "RODECaster Pro II USB"
@@ -65,6 +65,23 @@ If.usb1_multitrack {
6565
}
6666
}
6767
}
68+
If.usb1_multitrack_dynamic {
69+
Condition {
70+
Type String
71+
Haystack "${CardComponents}"
72+
Needle "USB19f7:0094"
73+
}
74+
True {
75+
# Multitrack is enabled for Input and Output with dynamic channel assignment (firmware 1.7.3)
76+
SectionUseCase."HiFi" {
77+
Comment "RODECaster Pro II"
78+
Config {
79+
Include.playback.File "/USB-Audio/RODE/RODECaster-Pro-II-Multitrack-Playback.conf"
80+
Include.capture.File "/USB-Audio/RODE/RODECaster-Pro-II-Multitrack-Capture-Dynamic.conf"
81+
}
82+
}
83+
}
84+
}
6885
If.usb1_multitrack_playback {
6986
Condition {
7087
Type String
@@ -125,6 +142,36 @@ If.usb1_multitrack_capture {
125142
}
126143
}
127144
}
145+
If.usb1_multitrack_capture_dynamic {
146+
Condition {
147+
Type String
148+
Haystack "${CardComponents}"
149+
Needle "USB19f7:0092"
150+
}
151+
True {
152+
# Multitrack is only for Output enabled (firmware 1.7.3)
153+
SectionUseCase."HiFi" {
154+
Comment "RODECaster Pro II"
155+
Config {
156+
Include.capture.File "/USB-Audio/RODE/RODECaster-Pro-II-Multitrack-Capture-Dynamic.conf"
157+
SectionDevice."Speaker" {
158+
Comment "System"
159+
Value {
160+
PlaybackPCM "hw:${CardId},1"
161+
PlaybackPriority 100
162+
}
163+
}
164+
SectionDevice."Line:chat" {
165+
Comment "Chat"
166+
Value {
167+
PlaybackPCM "hw:${CardId},0"
168+
PlaybackPriority 110
169+
}
170+
}
171+
}
172+
}
173+
}
174+
}
128175

129176
If.usb2 {
130177
Condition {

ucm2/USB-Audio/USB-Audio.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ Macro.sony-dualsense-ps5.RegexMatch "Id='054c:0((ce6)|(df2))' Profile='Sony/Dual
151151
Macro.boss-katana.StringMatch "Id='0582:01d8' Profile='BOSS/Katana'"
152152

153153
Macro.rode-rodecaster-pro-2.RegexMatch {
154-
# RODECaster Pro II USB1: 19f7:0037, 19f7:0072, 19f7:0078, 19f7:0030
154+
# RODECaster Pro II USB1: 19f7:0037, 19f7:0072, 19f7:0078, 19f7:0030, 19f7:0092, 19f7:0094
155155
# RODECaster Pro II USB2: 19f7:0026
156-
Id "19f7:00(37|72|78|30|26)"
156+
Id "19f7:00(37|72|78|30|26|92|94)"
157157
Profile "RODE/RODECaster-Pro-II"
158158
}
159159

0 commit comments

Comments
 (0)