Instrument definition Digitakt

############# DIGITAKT #############
VERSION 1 # Currently, this should only be 1.

###### DEFINITIONS

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

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

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

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

# 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]
8:NULL:15:7 CYMBAL
7:NULL:15:6 OPEN HAT
6:NULL:15:5 CLOSED HAT
5:NULL:15:4 COWBELL
4:NULL:15:3 CLAP
3:NULL:15:2 TOM
2:NULL:15:1 SNARE
1:NULL:15:0 KICK
[/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 INIT
1:1:NULL B01
[/PC]

# CC
# Syntax: CC_NUMBER NAME or CC_NUMBER:DEFAULT=xx NAME
# DEFAULT_VALUE must be a valid number between 0 and 127
[CC]
3 TRG NOTE
4 TRG VELO
5 TRG LENG
7 VOLUME
10 PAN
13 FLT TRG
14 LFO TRG
16 TUNE
17 PLAY MOD
18 BIT REDU
19 SMP SLOT
20 SMP STAR
21 SMP LENG
22 LOOP POS
23 SMP LVL
24 FXR PRED
25 FXR TIME
26 FXR SHFR
27 FXR SHGA
28 FXR HPF
29 FXR LPF
31 FXR MIX
70 FLT ATTK
71 FLT DCAY
72 FLT SUST
73 FLT REL
74 FLT FREQ
75 FLT RESO
76 FLT TYPE
77 ENV DEPT
78 AMP ATTK
79 AMP HOLD
80 AMP DCAY
81 OVERDRIV
82 DLAY SEN
83 REVB SEN
85 FXD TIME
86 FXD LR
87 FXD WIDT
88 FXD FDB
89 FXD HPF
90 FXD LPF
91 FXD>REV
92 FXD MIX
94 MUTE
95 TRK LVL
102 LFO SPD
103 LFO MULT
104 LFO FADE
105 LFO DEST
106 LFO WAVE
107 LFO SPH
108 LFO TRGM
109 LFO DP C
110 LFO DEPTH
118 LFO COMPMIX
[/CC]


# 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]
CC:23 DEFAULT=20  #Dist Amount
[/AUTOMATION]


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

MOD EDIT: formatting & Category

3 Likes

Thank for making this def file @Cinebulle , got my Hapax today and used it!

Only one thing that I had to ā€˜troubleshootā€™ was that the level of my samples was really low and eventually I found out that thereā€™s a rule in the def file ā€œCC:23 DEFAULT=20ā€ which I changed to a default value of 100.
Did you put that rule in on purpose? Because I can imagine that new users using this file will walk against the same ā€˜issueā€™ and it can be tricky thing to find out when your just getting to know the Hapax.

Thank you ! This was probably a mistake. Thatā€™s strange because itā€™s not on my file ! Perhaps after a lane for a specific songā€¦

1 Like

Looks like youā€™ve copied the automation section from squarpā€™s example def file for a the Nord Drum 3P. CC 23 does something different on the Digitakt than the ND3P.

Whatā€™s the purpose for sending this to the DT?

[PC]
1 INIT
1:1:NULL B01
[/PC]

Good question. Actually, this will probably do not much at all. PC messages allow pattern selection on all Elektrons. But this PC section was copied from a different synth definition, I guess. To select pattern B01, you need to have this line in your PC section:

17 B01

Or use this section Iā€™ve posted in the Octatrack definition topic for a list of all patterns:
Instrument definition:Elektron Octatrack:

1 Like

Hereā€™s a tweaked definition for the Digitakt based on OS 1.30Bā€™s manual (here).

This is a poly definition because I tend to use the one shot & slice modes when sequencing. Werp & repitch are better for resampling & prepping samples for sequencing.

Unfortunately it appears the Hapax has a maximum of 64 automations per definition & the Digitakt has >64 cc commands available per track. Iā€™ve commented out the excess rows so you can swap out other commands if you want to sequence the external mixer.

If thereā€™s much interest I might do another version of this for drum lanes.


VERSION 1
TRACKNAME DIGITAKT
TYPE POLY
OUTPORT C
OUTCHAN NULL
INPORT NULL
INCHAN NULL
MAXRATE 192

[PC]
#1 INIT
#1:1:NULL B01
#1:17 B01
[/PC]

[CC]
4 TRK MUTE
95 TRK LVL

3 NOTE
4 VELOCITY
5 LENGTH
13 FLT TRIG
14 LFO TRIG

16 ASGN PARAM1
17 ASGN PARAM2
18 ASGN PARAM3
19 ASGN PARAM4
20 ASGN PARAM5
21 ASGN PARAM6
22 ASGN PARAM7
23 ASGN PARAM8

74 FLT FREQ
75 FLT RESO
76 FLT TYPE
70 FLT ATTK
71 FLT DCAY
72 FLT SUST
73 FLT REL
77 FLT ENV DPTH
86 FLT ENV DLY
84 FLT ENV BASE
85 FLT ENV WIDTH

78 AMP ATK
79 AMP HOLD
80 AMP DEC
81 AMP OVER
82 DLY SEND
83 RVB SEND
10 PAN
7 VOLUME

102 LFO1 SPEED
103 LFO1 MULTIPLIER
104 LFO1 FADE IN/OUT
105 LFO1 DESTINATION
106 LFO1 WAVEFORM
107 LFO1 START PHASE
108 LFO1 TRIG MODE
109 LFO1 DPTH
112 LFO2 SPEED
113 LFO2 MULTIPLIER
114 LFO2 FADE IN/OUT
115 LFO2 DESTINATION
116 LFO2 WAVEFORM
117 LFO2 START PHASE
118 LFO2 TRIG MODE
119 LFO2 DPTH

85 DLY TIME
86 DLY PINGPONG
97 DLY WIDTH
88 DLY FEEDBACK
89 DLY HPF
90 DLY LPF
91 DLY RVB SEND
92 DLY VOLUME

24 RVB PREDELAY
25 RVB DECAY
26 RVB SHELF FRQ
27 RVB SHELF GAIN
28 RVB HPF
29 RVB LPF
30 RVB PRE/POST COMP
31 RVB VOLUME

102 IN LVL L
103 IN PAN L
104 IN LVL R
105 IN PAN R
106 IN DLY SEND L
107 IN DLY SEND R
108 IN RVB SEND L
109 IN RVB SEND R

#70 MIDI VAL1 # MIDI CHANNELS ONLY
#71 MIDI VAL2 # MIDI CHANNELS ONLY
#72 MIDI VAL3 # MIDI CHANNELS ONLY
#73 MIDI VAL4 # MIDI CHANNELS ONLY
#74 MIDI VAL5 # MIDI CHANNELS ONLY
#75 MIDI VAL6 # MIDI CHANNELS ONLY
#76 MIDI VAL7 # MIDI CHANNELS ONLY
#77 MIDI VAL8 # MIDI CHANNELS ONLY

110 PTTRN MUTE
[/CC]

[CC_PAIR]
[/CC_PAIR]

[NRPN]
[/NRPN]

[ASSIGN]
[/ASSIGN]

[AUTOMATION]
CC:4 # TRK MUTE
CC:95 # TRK LVL

CC:3 # NOTE
CC:4 # VELOCITY
CC:5 # LENGTH
CC:13 # FLT TRIG
CC:14 # LFO TRIG

CC:16 # ASGN PARAM1
CC:17 # ASGN PARAM2
CC:18 # ASGN PARAM3
CC:19 # ASGN PARAM4
CC:20 # ASGN PARAM5
CC:21 # ASGN PARAM6
CC:22 # ASGN PARAM7
CC:23 # ASGN PARAM8

CC:74 # FLT FREQ
CC:75 # FLT RESO
CC:76 # FLT TYPE
CC:70 # FLT ATTK
CC:71 # FLT DCAY
CC:72 # FLT SUST
CC:73 # FLT REL
CC:77 # FLT ENV DPTH
CC:86 # FLT ENV DLY
CC:84 # FLT ENV BASE
CC:85 # FLT ENV WIDTH

CC:78 # AMP ATK
CC:79 # AMP HOLD
CC:80 # AMP DEC
CC:81 # AMP OVER
CC:82 # DLY SEND
CC:83 # RVB SEND
CC:10 # PAN
CC:7 # VOLUME

CC:102 # LFO1 SPEED
CC:103 # LFO1 MULTIPLIER
CC:104 # LFO1 FADE IN/OUT
CC:105 # LFO1 DESTINATION
CC:106 # LFO1 WAVEFORM
CC:107 # LFO1 START PHASE
CC:108 # LFO1 TRIG MODE
CC:109 # LFO1 DPTH
CC:112 # LFO2 SPEED
CC:113 # LFO2 MULTIPLIER
CC:114 # LFO2 FADE IN/OUT
CC:115 # LFO2 DESTINATION
CC:116 # LFO2 WAVEFORM
CC:117 # LFO2 START PHASE
CC:118 # LFO2 TRIG MODE
CC:119 # LFO2 DPTH

CC:85 # DLY TIME
CC:86 # DLY PINGPONG
CC:97 # DLY WIDTH
CC:88 # DLY FEEDBACK
CC:89 # DLY HPF
CC:90 # DLY LPF
CC:91 # DLY RVB SEND
CC:92 # DLY VOLUME

CC:24 # RVB PREDELAY
CC:25 # RVB DECAY
CC:26 # RVB SHELF FRQ
CC:27 # RVB SHELF GAIN
CC:28 # RVB HPF
CC:29 # RVB LPF
#CC:30 # RVB PRE/POST COMP
#CC:31 # RVB VOLUME

#CC:102 # IN LVL L
#CC:103 # IN PAN L
#CC:104 # IN LVL R
#CC:105 # IN PAN R
#CC:106 # IN DLY SEND L
#CC:107 # IN DLY SEND R
#CC:108 # IN RVB SEND L
#CC:109 # IN RVB SEND R

#CC:70 # MIDI VAL1
#CC:71 # MIDI VAL2
#CC:72 # MIDI VAL3
#CC:73 # MIDI VAL4
#CC:74 # MIDI VAL5
#CC:75 # MIDI VAL6
#CC:76 # MIDI VAL7
#CC:77 # MIDI VAL8

#CC:110 PTTRN MUTE
[/AUTOMATION]

[COMMENT]
Elektron Digitakt OS 1.30B
[/COMMENT]

4 Likes

Thanks for sharing this! Definitely going to use.