Instrument definition: Nord Lead 4

VERSION 1 # Currently, this should only be 1.

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

# 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 USBH

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

# 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

# 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]
6 Mod Env Impsync
30 OSC1 Waveform
49 Osc1 Wavetable Selection
31 Osc2 Waveform
78 Osc2 Semi Tones
33 Osc2 Fine Tune
61 Osc2 Noise Res
62 Osc2 Noise Freq
63 Osc2 Noise KBT
69 Osc Mod Amount
105 Osc Mod Select
8 Osx Mix
73 Amp Env Attack
36 Amp Env Decay
37 Amp Env Sustain
72 Amp Env Release
35 Amp Velocity
38 Filt Env Attack
39 Filt Env Decay
40 Filt Env Sustain
41 Filt Env Release
46 Filt Keyb Tracking
44 Filter Type
45 Filt Velocity
74 Filter Frequency
42 Filter Resonance
47 Filter Drive
43 Filter Envelope Amount
71 Output Level 
53 FX Selection
52 FX On/Off
55 FX Amount
77 Delay Tempo
57 Delay Clk Division
79 Delay Feedback
76 Delay/Reverb Amount
51 Delay Mst Clk
50 Delay / Reverb selection
94 Reverb Bright
96 Reverb Model
97 Delay/Reverb On Off
117 Pattern selection
119 Slot Focus
115 Slot Enable
10 Pan
1 Mod Wheel
0 Bank Select MSB
32 Bank Select LSB
[/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
2 CC:42               #Resonance
3 CC:47               #Drive
4 CC:43               #EnvAmt
[/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
# NOTE: You are limited to 64 automation lanes
[AUTOMATION]
CC:74
CC:42
CC:47
CC:43
[/AUTOMATION]


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

My first Instrument definition :slight_smile:

1 Like

All Checks Passed

version

✓ Valid

track Name

✓ Valid

outport

✓ Valid

inport

✓ Valid

out Channel

✓ Valid

drum Lanes

✓ Valid

ccs

✓ Valid

nrpns

✓ Valid

Courtesy of hapax-validator.maxhodges.com