Muse definition file HELP

Hello!
I’m still relatively new to the Hapax and I’m trying to get a definition file made for the Moog Muse. I’m using the editor I found here:

After typing in all the CC’s I just clicked “save to disk” and tried to load into hapax only to get an error message. “Syntax error line 18”
Checked all my lines and nothing looks obviously wrong

I read on the forum somewhere that the text for file definitions should be UTC-8 encoded. I then made a separate text file encoded as such. Now when loading from hapax I get “Syntax error line 1”

Is there anyone better at this than me that could share some guidance? Or know of a tool that checks errors like this? Would love to start sequencing the Muse soon!

Thanks!

I mean you could copy and paste the entire Definition file here, so people could actually try to help you. :slight_smile:

1 Like

Yeah I should have added that in there… I am still new to posting on forums like this lol… live and learn! Here is the file from the tool!

VERSION 1

TRACKNAME MUSE

TYPE POLY

OUTPORT A

OUTCHAN 4

INPORT NULL

INCHAN NULL

MAXRATE NULL

[CC]
1:DEFAULT=0-127 Modwheel
3:DEFAULT=0-63 off/ 64-127 on Mute
5:DEFAULT=0-127 Glide Time
7:DEFAULT=0-127 Timbre Volume
8:DEFAULT=0-127 Low Cut
9:DEFAULT=0-127 Pan Spread
10:DEFAULT=0-127 Pan
11:DEFAULT=0-127 Expression
12:DEFAULT=0-127 LFO 1 Rate
13:DEFAULT=0-127 LFO 1 Amount
14:DEFAULT=0-127 0-24: TRIANGLE 25-49: SAW 50-74: SQUARE 75-99: RANDOM 100-127: USER WAVE LFO 1 Waveform
15:DEFAULT=0-127 LFO 2 Rate
16:DEFAULT=0-127 LFO 2 Amount
17:DEFAULT=0-127 0-24: TRIANGLE 25-49: SAW 50-74: SQUARE 75-99: RANDOM 100-127: USER WAVE LFO 2 Waveform
18:DEFAULT=0-127 Pitch LFO Rate
19:DEFAULT=0-127 Pitch LFO Shape
20:DEFAULT=0-127 Pitch LFO Amount
21:DEFAULT=0-63 off/ 64-127 on Pitch LFO OSC 1
22:DEFAULT=0-63 off/ 64-127 on Pitch LFO OSC 2
23:DEFAULT=0-63 off/ 64-127 on Pitch LFO Mod Osc
24:DEFAULT=0-63 off/ 64-127 on Pitch LFO Detune
25:DEFAULT=0-127 Modulation Oscillator Frequency
26:DEFAULT=0-63 off/ 64-127 on Modulation Oscillator Audio
27:DEFAULT=0-63 off/ 64-127 on Modulation Oscillator KB Track
28:DEFAULT=0-127 0-24: SINE 25-49: SAWTOOTH 50-74: RAMP 75-99: SQUARE 100-127: NOISE Modulation Oscillator Waveform
29:DEFAULT=0-63 off/ 64-127 on Modulation Oscillator KB Reset
30:DEFAULT=0-63 off/ 64-127 on Modulation Oscillator Unipolar
31:DEFAULT=0-127 Modulation Oscillator Pitch Amount
33:DEFAULT=0-127 Modulation Oscillator Pitch OSC 1
34:DEFAULT=0-127 Modulation Oscillator Pitch OSC 2
35:DEFAULT=0-127 Modulation Oscillator PWM Amount
39:DEFAULT=0-127 Modulation Oscillator Filter Amount
40:DEFAULT=0-127 Modulation Oscillator Filter 1
41:DEFAULT=0-127 Modulation Oscillator Filter 2
42:DEFAULT=0-127 Modulation Oscillator VCA Amount
43:DEFAULT=0-127 Modulation Oscillator VCA PAN
44:DEFAULT=0-127 0-31: 16’ 32-63: 8’ 64-95: 4’ 96-127: 2’ Oscillator 1 Octave
45:DEFAULT=0-127 Oscillator 1 Frequency
46:DEFAULT=0-127 Oscillator 1 Tri/Saw Mix
47:DEFAULT=0-127 Oscillator 1 PW
48:DEFAULT=0-127 Oscillator 1 Wave Mix
49:DEFAULT=0-127 0-31: 16’ 32-63: 8’ 64-95: 4’ 96-127: 2’ Oscillator 2 Octave
50:DEFAULT=0-127 Oscillator 2 Frequency
51:DEFAULT=0-127 Oscillator 2 Tri/Saw Mix
52:DEFAULT=0-127 Oscillator 2 PW
53:DEFAULT=0-127 Oscillator 2 Wave Mix
54:DEFAULT=0-63 off/ 64-127 on Oscillator 2>1 SYNC
55:DEFAULT=0-63 off/ 64-127 on Oscillator 2>1 FM
56:DEFAULT=0-63 off/ 64-127 on Oscillator 1>2 FM
57:DEFAULT=0-127 FM Amount
58:DEFAULT=0-127 Oscillator 1 Level
59:DEFAULT=0-127 Oscillator 2 Level
60:DEFAULT=0-127 Ring Mod Level
61:DEFAULT=0-127 Modulation Oscillation Level
62:DEFAULT=0-127 Noise Level
64:DEFAULT=0-63 off/ 64-127 on Sustain Pedal
65:DEFAULT=0-127 Clipping Level
66:DEFAULT=0-127 Filter 1 High Pass
67:DEFAULT=0-127 Filter 1 Cutoff
68:DEFAULT=0-127 Filter 1 Resonance
69:DEFAULT=0-127 Filter 1 Envelope Amount
70:DEFAULT=0-127 0-42: OFF 43-84: HALF 85-127: FULL Filter 1 KB Tracking
71:DEFAULT=0-63 off/ 64-127 on Hold
72:DEFAULT=0-127 Filter 2 Frequency
73:DEFAULT=0-127 Filter 2 Resonance
75:DEFAULT=0-127 Filter 2 Envelope Amount
76:DEFAULT=0-127 0-42: OFF 43-84: HALF 85-127: FULL Filter 2 KB Tracking
77:DEFAULT=0-63 off/ 64-127 on Link Filters
78:DEFAULT=0-127 0-42: SER 43-84: STR 85-127: PAR Filters Order
79:DEFAULT=0-127 Filter Env Attack
80:DEFAULT=0-127 Filter Env Decay
81:DEFAULT=0-127 Filter Env Sustain
82:DEFAULT=0-127 Filter Env Release
83:DEFAULT=0-63 off/ 64-127 on Filter Env Loop
85:DEFAULT=0-63 off/ 64-127 on Filter Env Velocity
86:DEFAULT=0-127 VCA Env Attack
87:DEFAULT=0-127 VCA Env Decay
88:DEFAULT=0-127 VCA Env Sustain
89:DEFAULT=0-127 VCA Env Release
90:DEFAULT=0-63 off/ 64-127 on VCA Env Loop
91:DEFAULT=0-63 off/ 64-127 on VCA Env Velocity
92:DEFAULT=0-127 Voice Detune
93:DEFAULT=0-127 Delay Time Left
94:DEFAULT=0-127 Delay Time Right
95:DEFAULT=0-63 off/ 64-127 on Link Delays
102:DEFAULT=0-63 off/ 64-127 on Delay Clock Sync
103:DEFAULT=0-127 Delay Feedback
104:DEFAULT=0-127 Delay Character
105:DEFAULT=0-127 Delay Mix
106:DEFAULT=0-63 off/ 64-127 on Delay Timbre A
107:DEFAULT=0-63 off/ 64-127 on Delay Timbre B
108:DEFAULT=0-63 off/ 64-127 on Voice Unison
109:DEFAULT=0-63 off/ 64-127 on Voice Mono
110:DEFAULT=0-127 Sequencer Clock Div
111:DEFAULT=0-127 Arpeggiator Clock Div
112:DEFAULT=0-63 off/ 64-127 on Arppegiator On/Off
113:DEFAULT=0-63 off/ 64-127 on Arpeggiator FW/BW
114:DEFAULT=0-127 0-42: ODR 43-84: PTN 85-127: RND Arpeggiator Direction
115:DEFAULT=0-127 0-31:1 32-63:2 64-95:3 96-127:4 Arpeggiator Octave Range
116:DEFAULT=0-127 Clock Tempo
[/CC]

for one, those names wont display. theyre too long. abbreviation is key.

second you may need to save as a certain type but im on windows and it just works here. sorry

1 Like

I might be absolutely wrong here, but Default=0-127 doesn’t really make sense. You have to either choose a specific default value or leave that out.

1 Like

I had a thought while making the list that the names may be a bit too long, you think that’s the issue?
I saved the file in UTC-8 format which is supposed to work.
For context I’ve converted other definition files (not made by me) and they seemed to load fine in Hapax.

Unfortunately the “default” wasn’t something I included at all and it seems to automatically generate when filling any blanks on the definition tool. :frowning:
“0-127” is what the Muse manual says.
It doesn’t really make sense to me either but since I’m new to this I figured it was just me…

unless it has changed, too long names wont keep it from loading, they just dont display

1 Like

Start with https://squarp.net/hapax/instr_def/template.txt instead - you’ll have examples and comments. No need to reinvent the wheel with some tools either - just use you favourite text editor, or vscode

2 Likes

Thank you so much! Turns out the issue was using a 3rd party tool. Using the link you provided I was able to add the CC info and Hapax loaded it just fine!
Had to delete all that extra ‘:default 0-127’ crap too. I’m very happy!
Big thanks to you all who chipped in with the help! Happy jamming!
:musical_keyboard: :control_knobs:

1 Like

Hey Otosune,

I have a Moog Muse now…and of course a Hapax…would you like to share your inst def.?!

All the best, Chris

1 Like

Hey!
I’d love to share it with you. I figure pasting all the text here should be ok. Let me know if it doesn’t work out for you.

VERSION 1 # Currently, this should only be 1.

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

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

# 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

# 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]
[/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]
1 Modwheel
3 Mute
5 Glide Time
7 Timbre Volume
8 Low Cut 
9 Pan Spread 
10 Pan
11 Expression
12 LFO 1 Rate
13 LFO 1 Amount
14 LFO 1 Waveform
15 LFO 2 Rate
16 LFO 2 Amount
17 LFO 2 Waveform
18 Pitch LFO Rate
19 Pitch LFO Shape
20 Pitch LFO Amount
21 Pitch LFO OSC 1
22 Pitch LFO OSC 2
23 Pitch LFO Mod Osc
24 Pitch LFO Detune
25 M Osc Frequency
26 M Osc Audio
27 M Osc KB Track
28 M Osc Waveform
29 M Osc KB Reset
30 M Osc Unipolar
31 M Osc Pitch Amount
33 M Osc Pitch OSC 1
34 M Osc Pitch OSC 2
35 M Osc PWM Amount
39 M Osc Fltr Amount
40 M Osc Fltr 1
41 M Osc Fltr 2
42 M Osc VCA Amount
43 M Osc VCA PAN
44 Osc 1 Frequency
46 Osc 1 Tri/Saw Mix 
47 Osc 1 PW
48 Osc 1 Wave Mix
49 Osc 2 Octave
50 Osc 2 Frequency
51 Osc 2 Tri/Saw Mix
52 Osc 2 PW
53 Osc 2 Wave Mix
54 Osc 2>1 SYNC
55 Osc 2>1 FM
56 Osc 1>2 FM
57 FM Amount
58 Osc 1 Level 
59 Osc 2 Level 
60 Ring Mod Level
61 M Osc Level
62 Noise Level
64 Sustain Pedal 
65 Clipping Level
66 Fltr 1 High Pass
67 Fltr 1 Cutoff
68 Fltr 1 Resonance
69 Fltr 1 Env Amount
70 Fltr 1 KB Track
71 Hold
72 Fltr 2 Frequency
73 Fltr 2 Resonance
75 Fltr 2 Env Amount
76 Fltr 2 KB Track
77 Link Filters
78 Fltrs Order
79 Fltr Env Attack
80 Fltr Env Decay
81 Fltr Env Sustain
82 Fltr Env Release
83 Fltr Env Loop
85 Fltr Env Velocity
86 VCA Env Attack
87 VCA Env Decay
88 VCA Env Sustain
89 VCA Env Release
90 VCA Env Loop
91 VCA Env Velocity
92 Voice Detune
93 Delay Time Left
94 Delay Time Right
95 Link Delays
102 Delay Clock Sync
103 Delay Feedback
104 Delay Character
105 Delay Mix
106 Delay Timbre A
107 Delay Timbre B
108 Voice Unison
109 Voice Mono
110 Seq Clock Div
111 Arp Clock Div
112 Arp On/Off
113 Arp FW/BW
114 Arp Direction
115 Arp Octave Range
116 Clock Tempo

[/CC]

# CC Pair
# Syntax: CC_MSB:CC_LSB NAME or CC_MSB:CC_LSB:DEFAULT=xx NAME
# DEFAULT_VALUE must be a valid number between 0 and 16383
[CC_PAIR]
[/CC_PAIR]

# NRPN
# Syntax: "MSB:LSB:DEPTH NAME" or "MSB:LSB:DEPTH:DEFAULT=xx NAME"
# Lsb & msb should be between 0 and 127
  # Note: LSB can be over 127 ONLY if MSB is 0 or omitted
  # e.g. '0:1026:7 FOO', or ':2000:7 BAR' 
  # the examples above would be equivalent to '8:2:7 FOO' and '15:80:7 BAR' respectively
# 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]
[/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]
[/AUTOMATION]


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