Hi!
Here’s an instrument definition file for the Elektron Analog Four.
Contains a selection of CC’s, the same CC’s assigned as AUTOMATION lanes, Filters & 3 performance controls assigned to ASSIGN menu.
Just change MIDI channels appropriately for channels 1–4 in your default project file.
Any mistakes, let me know!
VERSION 1 # Currently, this should only be 1.
# Supports all alphanumeric ASCII, and ' ', '_', '-', '+' - can also be NULL
TRACKNAME A4
# 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 A
# Can be x (between 1-16), or NULL -- this is ignored if output port is not MIDI
OUTCHAN 1
# 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]
18 F1 FREQ
89 F1 RESO
86 F1 OD
19 F2 FREQ
90 F2 RESO
3 PERF A
4 PERF B
8 PERF C
9 PERF D
11 PERF E
64 PERF F
65 PERF G
66 PERF H
67 PERF I
68 PERF J
95 TRACK LEVEL
70 OSC 1 WAVE
72 OSC 1 PW
77 NOISE LVL
79 OSC 2 WAVE
81 OSC 2 PW
84 SYNC AMT
85 BEND AMT
5 SLIDE TIME
88 VIB SPD
104 ENVA A
105 ENVA D
106 ENVA S
107 ENVA R
91 CHORUS SND
92 DEL SND
93 REVERB SND
[/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:18
2 CC:89
3 CC:86
4 CC:19
5 CC:90
6 CC:3
7 CC:4
8 CC:8
[/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:18 #F1 FREQ
CC:89 #F1 RESO
CC:86 #F1 OD
CC:19 #F2 FREQ
CC:90 #F2 RESO
CC:3 #PERF A
CC:4 #PERF B
CC:8 #PERF C
CC:9 #PERF D
CC:11 #PERF E
CC:64 #PERF F
CC:65 #PERF G
CC:66 #PERF H
CC:67 #PERF I
CC:68 #PERF J
CC:95 #TRACK LEVEL
CC:70 #OSC 1 WAVE
CC:72 #OSC 1 PW
CC:77 #NOISE LVL
CC:79 #OSC 2 WAVE
CC:81 #OSC 2 PW
CC:84 #SYNC AMT
CC:85 #BEND AMT
CC:5 #SLIDE TIME
CC:88 #VIB SPD
CC:104 #ENVA A
CC:105 #ENVA D
CC:106 #ENVA S
CC:107 #ENVA R
CC:91 #CHORUS SEND
CC:92 #DEL SEND
CC:93 #REVERB SEND
[/AUTOMATION]
# This section will be readable from Hapax.
[COMMENT]
Analog Four
[/COMMENT]