VERSION 1 # Currently, this should only be 1.

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

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

# 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]
1:80:0 House Drum Set 1
2:80:0 Jazz Drum Set 1
1:81:0 Pop Drum Set 1
2:81:0 Pop Drum Set 2
1:81:1 Power Drum Set
2:81:1 Rave Drum Set
1:81:2 Jazz Drum Set 2
2:81:2 Orch Drum Set
1:81:3 GM Drum Set
2:81:3 Brush Drum Set
1:81:4 Power Drum Set
2:81:4 Power Rave Set
1:84:0 Session Set 1
2:84:0 Session Set 2
3:84:0 Session Set 3
4:84:0 Session Set 4
5:84:0 Session Set 5
6:84:0 Session Set 6
7:84:0 Session Set 7
8:84:0 Demo Drum
1:84:2 World Rhythm Set
[/PC]


# CC
# Syntax: CC_NUMBER NAME or CC_NUMBER:DEFAULT=xx NAME
# DEFAULT_VALUE must be a valid number between 0 and 127
[CC]
74 Cutoff Frequency
71 Resonance
1 Modulation
72 Env Release
73 Env Attack
7 Volume
8 Balance
10 Pan
91 Reverb Send
93 Chorus Send
80 Level Env Tone 1
81 Level Env Tone 2
82 Level Env Tone 3
83 Level Env Tone 4
65 Portamento On/Off
84 Portamento Amount
5 Portamento Time
2 Breath type
4 Foot type
11 Expression
64 Hold 1
69 Hold 2
66 Sostenuto
67 Soft
[/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]
1 CC:74		# Cutoff Frequency
2 CC:71		# Resonance
3 CC:73 	# Env Attack
4 CC:72		# Env Release
5 CC:7		# Volume
6 CC:1		# Modulation
7 CC:91		# Reverb Send
8 CC:93		# Chorus Send
[/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]

CC:1 #Modulation
CC:2 #Breathtype
CC:4 #Foottype
CC:7 #Volume
CC:8 #Balance
CC:10 #Pan
CC:11 #Expression
CC:64 #Hold1
CC:65 #PortamentoOn/Off
CC:84 #PortamentoAmount
CC:5 #PortamentoTime
CC:66 #Sostenuto
CC:67 #Soft
CC:69 #Hold2
CC:71 #Resonance
CC:72 #EnvRelease
CC:73 #EnvAttack
CC:74 #CutoffFrequency
CC:80 #LevelEnvTone1
CC:81 #LevelEnvTone2
CC:82 #LevelEnvTone3
CC:83 #LevelEnvTone4
CC:91 #ReverbSend
CC:93 #ChorusSend

[/AUTOMATION]


# This section will be readable from Hapax.
[COMMENT]
Notes 35 to 98 are drum hits
[/COMMENT]
