VERSION 1 # Currently, this should only be 1.

# Supports all alphanumeric ASCII, and ' ', '_', '-', '+' - can also be NULL
TRACKNAME Argon8

# Can be POLY, DRUM, MPE, or NULL
TYPE NULL

# Can be A, B, C, D, USBD, USBH, CVGx (x between 1&4), CVx, Gx, or NULL
OUTPORT NULL

# Can be x (between 1-16), or NULL -- this is ignored if output port is not MIDI
OUTCHAN NULL

# Can be NONE, ALLACTIVE, A, B, USBH, USBD, CVG, or NULL
INPORT NULL

# Can be x (between 1-16), ALL, or NULL. This definition will be ignored if INPORT is NONE, ALLACTIVE or CVG
INCHAN NULL

# DRUMLANES
# Syntax: ROW:TRIG:CHAN:NOTENUMBER NAME
# ROW must be between 1 and 8
# TRIG can be between 0 and 127, or NULL
# CHAN can be a number between 1 and 16, Gx, CVx, CVGx (x between 1 and 4), or NULL
# NOTENUMBER can be between 0 and 127, or NULL
# NAME supports all alphanumeric ASCII, and ' ', '_', '-', '+' - can also be NULL
# Please note this section will be discarded for tracks which are not DRUM tracks
[DRUMLANES]
[/DRUMLANES]


# PC
# Syntax: NUMBER NAME
# number must be either:
#   - A number (for simple PC)
#   - Three numbers, delimited by ':', which represent PC:MSB:LSB. You can put 'NULL' to not set the MSB/LSB.
# PC must be between 1...128
# MSB/LSB must be between 0...127
[PC]
[/PC]


# CC
# Syntax: CC_NUMBER NAME or CC_NUMBER:DEFAULT=xx NAME
# DEFAULT_VALUE must be a valid number between 0 and 127
[CC]
0 Bank Change
1 Mod Wheel
3 WavMod1
5 Glide
7 Main Volume
9 Voice Mode
11 ExpPedal
12 Distortion
13 WavMod2
14 OSC1 Tune
15 OSC1 Fine
16 OSC1 Shape
17 OSC2 Shape
18 OSC Mix
19 OSC Mod
20 Spread
21 OSCMod Mode
22 FilterEnv Attack
23 FilterEnv Decay
24 FilterEnv Sustain
25 FilterEnv Release
26 AmpEnv Attack
27 AmpEnv Decay
28 AmpEnv Sustain
29 AmpEnv Release
30 OSC2 Tune
31 OSC2 Fine
32 FilterEnv Amount
33 Morph
34 Cutoff
35 Resonance
36 LFO1 Rate
37 LFO1 Depth
39 LFO1 Shape
40 Octave
41 Delay Mode
42 Fitler Type
43 ModEnv Attack
44 ModEnv Decay
45 ModEnv Sustain
46 ModEnv Release
47 LFO2 Rate
48 LFO2 Depth
49 ModEnv Depth
50 LFO2 Shape
51 AmpEnv Depth
52 LFO1 MIDI Sync
53 ARP Gate
54 LFO2 MIDI Sync
55 Delay MIDI Sync
56 LFO1 Mode
57 LFO2 Mode
58 ARP Status
59 ARP Octave
60 ARP Direction
61 ARP Division
62 OSC1 Bank
63 OSC2 Bank
64 Sustain Pedal
67 Seq Length
68 Seq Mute
69 Seq Clear
70 Seq Hold
71 Seq Loop
72 Seq Record
73 FX Amount
75 Transpose
78 Swing
79 Seq Quantize
80 AmpEnv Type
81 FilterEnv Type
82 ModEnv Type
83 Audio In
84 All EG Attack
85 All EG Decay
86 All EG Sustain
87 All EG Release
88 ModSlot1 Depth
89 ModSlot2 Depth
90 ModSlot3 Depth
91 ModSlot4 Depth
92 ModSlot5 Depth
93 ModSlot6 Depth
94 ModSlot7 Depth
95 ModSlot8 Depth
96 Chord Mode
100 ModSlot1 Source
101 ModSlot2 Source
102 ModSlot3 Source
103 ModSlot4 Source
104 ModSlot5 Source
105 ModSlot6 Source
106 ModSlot7 Source
107 ModSlot8 Source
108 ModSlot1 Dest
109 ModSlot2 Dest
110 ModSlot3 Dest
111 ModSlot4 Dest
112 ModSlot5 Dest
113 ModSlot6 Dest
114 ModSlot7 Dest
115 ModSlot8 Dest
116 Joystick X+
117 Joystick X-
118 Joystick Y-
119 Patch Gain
120 All Sound Off
121 Reset All Controllers
123 All Notes Off
124 Omni Off
125 Omni On
[/CC]


# NRPN
# Syntax: "MSB:LSB:DEPTH NAME" or "MSB:LSB:DEPTH:DEFAULT=xx NAME"
# Lsb & msb should be between 0 and 127
# DEPTH can be 7 or 14
# For NRPN: DEFAULT_VALUE must be a valid number, either between 0 and 127 (for 7 bit NRPNs) or between 0 and 16383 (for 14bit NRPNs)
[NRPN]
[/NRPN]


# ASSIGN
# Syntax: POT_NUMBER TYPE:VALUE or POT_NUMBER TYPE:VALUE DEFAULT=DEFAULT_VALUE
# POT_NUMBER must be between 1 and 8
# TYPE can be "CC", "PB" (pitchbend), "AT" (aftertouch), "CV", "NRPN", or "NULL" (this won't assign the pot).
# Non explicitly-defined pots will be considered "NULL"
# VALUE VALIDATION
#### For CC: Value must be a valid number between 0 and 119
#### For PB and AT, any text after the TYPE will be ignored
#### For CV, value must be between 1 and 4
#### For NRPN, value must be MSB:LSB:DEPTH, with both lsb & msb bebtween 0 and 127, and DEPTH being either 7 or 14
# DEFAULT VALUE
#### For CC: DEFAULT_VALUE must be a valid number between 0 and 127
#### For PB: DEFAULT_VALUE must be a valid number between 0 and 16383
#### For NRPN: DEFAULT_VALUE must be a valid number, either between 0 and 127 (for 7 bit NRPNs) or between 0 and 16383 (for 14bit NRPNs)
#### For CV: DEFAULT_VALUE must be either a valid number between 0 and 65535, or a voltage between -5V and 5V, e.g. "-4.25V" or "1.7V"
#### Please note default value will be ignored for PB and AT messages.
[ASSIGN]
[/ASSIGN]


# AUTOMATION
# Syntax: TYPE:VALUE
# TYPE can be "CC", "PB" (pitchbend), "AT" (aftertouch), "CV", or "NRPN"
# VALUE VALIDATION
#### For CC: Value must be a valid number between 0 and 119
#### For PB and AT, any text after the TYPE will be ignored
#### For CV, value must be between 1 and 4
#### For NRPN, value must be MSB:LSB:DEPTH, with both lsb & msb bebtween 0 and 127, and DEPTH being either 7 or 14
[AUTOMATION]
[/AUTOMATION]


# This section will be readable from Hapax.
[COMMENT]
[/COMMENT]
