-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbass-pedal-config.xml
172 lines (137 loc) · 7.33 KB
/
bass-pedal-config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<?xml version="1.0" encoding="UTF-8"?>
<!--
JMMidiBassPedalController v3.0
File: src/conf/bass-pedal-config.xml
By: Josef Meile <jmeile@hotmail.com> @ 28.10.2020
This project is licensed under the MIT License. Please see the LICENSE.md file
on the main folder of this code. An online version can be found here:
https://github.com/jmeile/JMMidiBassPedalController/blob/master/LICENSE.md
Configuration file to use with a bass pedal or a foot controller.
The following parameters will be used:
* MIDI IN and OUT ports: USB Uno MIDI Interface
* MIDI IN channel for catching messages: 1
* MIDI OUT channel for bass notes: 3
* MIDI OUT channel for chords: 2
* Other messages not comming through channel 1 will be fordwarded (MIDI ECHO
is set to on)
* No default velocites for bass and chord notes were set, so, the ones comming
from the controller will be assumed
* Bass notes won't be transposed
* Chord notes will be transposed by one octave (12 semitones) after the bass
notes
* Controller for selecting banks: 32 (20H) on channel 1 (MIDI IN channel)
* Initial selected bank: 1
* OnBankChange: QuickChange. If a pedal is being played before doing a bank
change, then when the new bank becomes active, the previously played pedals
will be replaced by their equivalences on the new back. For example: if C1
is being played (the C Major chord), then it will be replaced by C7 chord.
* Octave: 1. This is what my bass pedal controller uses by default
* PedalMonophony: true. Multiple pedals won't be processed.
-->
<Controller xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.technosoft.solutions/xsd
MidiBassPedalController.xsd"
xmlns="https://www.technosoft.solutions/xsd"
InPort="USB Uno MIDI Interface*" OutPort="USB Uno MIDI Interface*"
InChannel="1"
OutBassPedalChannel="3" OutChordChannel="2"
MidiEcho="true"
BassPedalTranspose="12" ChordTranspose="24"
BankSelectController="32" InitialBank="1" OnBankChange="QuickChange"
Octave="1"
PedalMonophony="true">
<!--
On this bank I will define the pedals to send the major chords from C until
B. The last notes will be used for FILL INs, ENDING, and switch to the next
bank
-->
<Bank Name="Major chords">
<!-- Catches the note C1, then sends bass note C1 and C major chord -->
<Pedal Note="C" BassNote="C" ChordNotes="G,C,E"/>
<!-- Catches the note C#1, then sends bass note C#1 and C# major chord -->
<Pedal Note="C#" BassNote="C#" ChordNotes="F,G#,C#"/>
<!-- Catches the note D1, then sends bass note D1 and D major chord -->
<Pedal Note="D" BassNote="D" ChordNotes="F#,A,D"/>
<!-- Catches the note D#1, then sends bass note D#1 and D# major chord -->
<Pedal Note="D#" BassNote="D#" ChordNotes="G,A#,D#"/>
<!-- Catches the note E1, then sends bass note E1 and E major chord -->
<Pedal Note="E" BassNote="E" ChordNotes="G#,B,E"/>
<!-- Catches the note F1, then sends bass note F1 and F major chord -->
<Pedal Note="F" BassNote="F" ChordNotes="F,A,C"/>
<!-- Catches the note F#1, then sends bass note F#1 and F# major chord -->
<Pedal Note="F#" BassNote="F#" ChordNotes="A#,C#,F#"/>
<!-- Catches the note G1, then sends bass note G1 and G major chord -->
<Pedal Note="G" BassNote="G" ChordNotes="G,B,D"/>
<!-- Catches the note G#1, then sends bass note G#1 and G# major chord -->
<Pedal Note="G#" BassNote="G#" ChordNotes="G#,C,D#"/>
<!-- Catches the note A1, then sends bass note A1 and A major chord -->
<Pedal Note="A" BassNote="A" ChordNotes="A,C#,E"/>
<!-- Catches the note A#1, then sends bass note A#1 and A# major chord -->
<Pedal Note="A#" BassNote="A#" ChordNotes="A#,D,F"/>
<!-- Catches the note B1, then sends bass note B1 and B major chord -->
<Pedal Note="B" BassNote="B" ChordNotes="B,D#,F#"/>
<!-- Catches the note C2, then the FILL IN AA (ON) SysEx for a Tyros 1 -->
<Pedal Note="C" Octave="2">
<Message Type="SysEx" String="F0 43 7E 00 10 7F F7"/>
</Pedal>
<!-- Catches the note C#2, then the FILL IN BB (ON) SysEx for a Tyros 1 -->
<Pedal Note="C#" Octave="2">
<Message Type="SysEx" String="F0 43 7E 00 11 7F F7"/>
</Pedal>
<!-- Catches the note D2, then the ENDING A (ON) SysEx for a Tyros 1 -->
<Pedal Note="D" Octave="2">
<Message Type="SysEx" String="F0 43 7E 00 20 7F F7"/>
</Pedal>
<!-- Catches the note D#2, then switch to the next bank -->
<Pedal Note="D#" Octave="2" BankSelect="Next"/>
<!-- Catches the note E2, then exits -->
<Pedal Note="E" Octave="2" BankSelect="Quit"/>
</Bank>
<!--
On this bank I will define the pedals to send the seventh chords from C
until B. The last notes will be used for FILL INs, ENDING, and switch to the
previous bank
-->
<Bank Name="Seventh chords">
<!-- Catches the note C1, then sends bass note C1 and C7 chord -->
<Pedal Note="C" BassNote="C" ChordNotes="G,A#,C,E"/>
<!-- Catches the note C#1, then sends bass note C#1 and C#7 chord -->
<Pedal Note="C#" BassNote="C#" ChordNotes="F,G#,B,C#"/>
<!-- Catches the note D1, then sends bass note D1 and D7 chord -->
<Pedal Note="D" BassNote="D" ChordNotes="F#,A,C,D"/>
<!-- Catches the note D#1, then sends bass note D#1 and D#7 chord -->
<Pedal Note="D#" BassNote="D#" ChordNotes="G,A#,C#,D#"/>
<!-- Catches the note E1, then sends bass note E1 and E7 chord -->
<Pedal Note="E" BassNote="E" ChordNotes="G#,B,D,E"/>
<!-- Catches the note F1, then sends bass note F1 and F7 chord -->
<Pedal Note="F" BassNote="F" ChordNotes="A,C,D#,F"/>
<!-- Catches the note F#1, then sends bass note F#1 and F#7 chord -->
<Pedal Note="F#" BassNote="F#" ChordNotes="A#,C#,E,F#"/>
<!-- Catches the note G1, then sends bass note G1 and G7 chord -->
<Pedal Note="G" BassNote="G" ChordNotes="G,B,D,F"/>
<!-- Catches the note G#1, then sends bass note G#1 and G# chord -->
<Pedal Note="G#" BassNote="G#" ChordNotes="G#,C,D#,F#"/>
<!-- Catches the note A1, then sends bass note A1 and A7 chord -->
<Pedal Note="A" BassNote="A" ChordNotes="A,C#,E,G"/>
<!-- Catches the note A#1, then sends bass note A#1 and A#7 chord -->
<Pedal Note="A#" BassNote="A#" ChordNotes="A#,D,F,G#"/>
<!-- Catches the note B1, then sends bass note B1 and B7 chord -->
<Pedal Note="B" BassNote="B" ChordNotes="B,D#,F#,A"/>
<!-- Catches the note C2, then the FILL IN AA (ON) SysEx for a Tyros 1 -->
<Pedal Note="C" Octave="2">
<Message Type="SysEx" String="F0 43 7E 00 10 7F F7"/>
</Pedal>
<!-- Catches the note C#2, then the FILL IN BB (ON) SysEx for a Tyros 1 -->
<Pedal Note="C#" Octave="2">
<Message Type="SysEx" String="F0 43 7E 00 11 7F F7"/>
</Pedal>
<!-- Catches the note D2, then the FILL IN CC (ON) SysEx for a Tyros 1 -->
<Pedal Note="D" Octave="2">
<Message Type="SysEx" String="F0 43 7E 00 12 7F F7"/>
</Pedal>
<!-- Catches the note D#2, then switch to the next bank -->
<Pedal Note="D#" Octave="2" BankSelect="Next"/>
<!-- Catches the note E2, then exits -->
<Pedal Note="E" Octave="2" BankSelect="Quit"/>
</Bank>
</Controller>