############# DRUM Example 2 #############
VERSION 1 # Currently, this should only be 1.

###### DEFINITIONS

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

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

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

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

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

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

# This defines the default 'MAX RATE' for automation lanes.
# Can be NULL, 192, 96, 64, 48, 32, 24, 16, 12, 8, 6, 4, 3, 2, 1
MAXRATE 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]
4:NULL:NULL:51 SP4
3:NULL:NULL:50 SP3
2:NULL:NULL:49 SP2
1:NULL:NULL:48 SP1
[/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:1:NULL A2
13:4:NULL M5
[/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 Kit Select
99 Bank Select
100 Previous kit
101 Next kit

10:DEFAULT=63 1pitch
11:DEFAULT=63 1bits
12:DEFAULT=63 1Filter
13:DEFAULT=63 1Freeze
14:DEFAULT=0 1Start
15:DEFAULT=127 1Length
16:DEFAULT=63 1envelope
17:DEFAULT=63 1Runmode
18:DEFAULT=63 1Level
19:DEFAULT=0 1layer

20:DEFAULT=63 2pitch
21:DEFAULT=63 2bits
22:DEFAULT=63 2Filter
23:DEFAULT=63 2Freeze
24:DEFAULT=0 2Start
25:DEFAULT=127 2Length
26:DEFAULT=63 2envelope
27:DEFAULT=63 2Runmode
28:DEFAULT=63 2Level
29:DEFAULT=0 2layer

30:DEFAULT=63 3pitch
31:DEFAULT=63 3bits
32:DEFAULT=63 3Filter
33:DEFAULT=63 3Freeze
34:DEFAULT=0 3Start
35:DEFAULT=127 3Length
36:DEFAULT=63 3envelope
37:DEFAULT=63 3Runmode
38:DEFAULT=63 3Level
39:DEFAULT=0 3layer

40:DEFAULT=63 4pitch
41:DEFAULT=63 4bits
42:DEFAULT=63 4Filter
43:DEFAULT=63 4Freeze
44:DEFAULT=0 4Start
45:DEFAULT=127 4Length
46:DEFAULT=63 4envelope
47:DEFAULT=63 4Runmode
48:DEFAULT=63 4Level
49:DEFAULT=0 4layer

50:DEFAULT=63 ALLpitch
51:DEFAULT=63 ALLbits
52:DEFAULT=63 ALLFilter
53:DEFAULT=63 ALLFreeze
54:DEFAULT=0 ALLStart
55:DEFAULT=127 ALLLength
56:DEFAULT=63 ALLenvelope
57:DEFAULT=63 ALLRunmode
58:DEFAULT=63 ALLLevel
59:DEFAULT=0 ALLlayer

60 ALL Layer
61 1 Layer
62 2 Layer
63 3 Layer
64 4 Layer

70 ALL Rand
71 1 Rand
72 2 Rand
73 3 Rand
74 4 Rand

80 ALL Reset
81 1 Reset
82 2 Reset
83 3 Reset
84 4 Reset
[/CC]


# This section will be readable from Hapax.
[COMMENT]
Rample in a drum track
[/COMMENT]
