perl script to print out preset names from .syx file

leagueofkruger

Inspired
Hi guys. I was poking around trying to figure out how to get a text file of patchnames from an Axe FX .syx file and came up with this perl script that does the trick. Sharing it in case anyone can 1) improve it or 2) benefit from it. The script and output is shown below.

It is a two step process - you need to convert the .syx file to a hex text file (I used MIDI-OX on Windows for this). Then use that file as the argument to this script.
Thanks!

Appreciate any comments and hope you find it useful..........

#usage: getpatchnames [[drive:][path]filename[ ...]]
open (IN, @ARGV[0]) || die "Error: $!\n";

open (OUT, ">@ARGV[0].patchlist.txt") || die;

$p= " 00 00 ";

while (<IN>) {
while (/(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(..)$p(20 00 00 ){2}/g) {

$count++;
if ($count < 10) {$pad = "00";} elsif ($count < 100) {$pad = "0";} else { $pad = ""; }
print $pad.$count,":";
print OUT $pad.$count,":";

for ($i=1; $i<27; $i++) { print chr(hex($$i)); } #ASCII to screen
for ($i=1; $i<27; $i++) { print OUT chr(hex($$i)); } #ASCII to file

print OUT "\n"; print "\n";
}
}


Output when using V10_All_Banks as an input file:


001: 59 Bassguy
002: 65 Bassguy
003: Brownface
004: Deluxe Verb
005: Double Verb
006: A-Class 15
007: Top Boost
008: Plexi Normal
009: Plexi Treble
010: 1987x Treble
011: Brit 800
012: Hipower Brilliant
013: USA Clean
014: USA Lead
015: Recto Vintage
016: Recto Modern
017: Euro Blue
018: Euro Red
019: Shiver Clean
020: Shiver Lead
021: Euro Uber
022: SOLO100 Crunch
023: SOLO100 Lead
024: Freidman BE
025: Freidman HBE
026: Vibrato-King
027: CA3+ Clean
028: CAE 3+SE Rhythm
029: CAE 3+SE Lead
030: Mr. Z 38
031: Wrecker
032: Corncob
033: Cameron High
034: Fryette D60 More
035: FAS Lead 1
036: FAS Lead 2
037: FAS Modern
038: Das Metal
039: ODS-100 Lead
040: Brown
041: Buttery
042: Boutique 1
043: Supertweed
044: Brit JVM OD1
045: Brit JVM OD2
046: Blanknship Leeds
047: Super Verb
048: Citrus
049: Carol Ann
050: JTM 45
051: Hot Kitty
052: Two-Stone
053: Spawn Nitrous
054: Brit Silver
055: Herbie 2-
056: Dizzy VH4 Ch 3
057: 5153 Blue
058: 5153 Red
059: Atomica
060: Deluxe Tweed
061: Dirty Shirley
062: Fox ODS
063: Nuclear Tone
064: 6160 Block
065: 6160 II
066: Spawn Q-Rod
067: Wrecked
068: Brit Pre
069: Badger 18
070: Brit 800 Mod
071: Dizzy VH4 Ch 4
072: Bassman About 2 Explode
073: Band Commander
074: ODS100 Clean
075: Junior Blues
076: Can You Hear it Ring?
077: Petrucci Rhythm
078: Studio Lead
079: Aye Cee 30
080: Whole Lotta
081: Fuzz Tweed
082: Hell's Glockenspiels
083: Funk #49
084: Prince Tone
085: Top Boost
086: Try Access
087: Elegant Gypsy
088: 100W Plexi
089: Djentlemanly
090: Mr. Benson
091: Bludojai Lead
092: EVH Circa 1982
093: Herbie 3
094: The Planets
095: No Quarter
096: EJ Clean
097: Who's Next?
098: The Wood Nymphs
099: Katie's Song
100: Diffused Mod Delay
101: Down Full Step
102: Envelope Phaser
103: Emerald Ocean
104: Ganymede
105: Machine Gun
106: People Get Ready
107: Prometheus WV
108: All Wet 8-Voice
109: Limelight
110: W@rped Vinyl (ABCD)
111: Shiver Me Timbers
112: Stereo Tape Delay
113: Frogtone Irie
114: Arpeggiator Madness
115: Deluxe Tape
116: Night Creatures
117: Walking on the Moon
118: Blues Aroncino
119: Nameless Streets
120: Cork Sniffers
121: Still Got the Blues
122: Galaxy Formation
123: Gnome-Mans Land
124: Andy's Message
125: Psychadelic Duck
126: A Major Harmony
127: 1967 All Over Again
128: Rainy Nights
129: Back Line
130: Crunch Chorus
131: Electro-Sweep
132: Jet Flanger
133: Ambience
134: Detuned Wahs
135: Crystal Reverb
136: Pentalizer II
137: TZF Flanger
138: Horror Movie
139: Black Hole
140: Detuned Descent
141: Enumerating Ravens
142: Introspection
143: Flanged Echos
144: Meet the Cytherians
145: Pong Chorus
146: Positive Feedback
147: Intrigue (C Minor)
148: Crawling in the Dark
149: Ultraverb
150: Phaser Paradise 2
151: Smokey Jazz
152: Ballet Slippers
153: Velvet Sun
154: Lonely Heart Solo
155: Dual Clean
156: Screaming Meanie
157: Asian Documentary
158: Delay Octoplex
159: Wind Chimes 2
160: Valentine Massacre
161: Chimey Echoes
162: 1/8note FilterTrem
163: Poltergeist Pig
164: Organic
165: Bohemian Rhapsody
166: Pitchmodtrem
167: Albert's Lead
168: Centrifugue
169: Crystal Echos
170: Thick & Chunky
171: Avant Garde Delay
172: Phaser + Rotary
173: Clean Pop Rhythm
174: Gated Reverb
175: MultiComp Plexi
176: Crossover L:Low R:Hi
177: Sweep Resonator
178: Satan's Hollow (E-)
179: regnalF esreveR
180: Vertigo
181: Cavernous
182: Dream Sequence
183: Four Repeats
184: Stereo Tape Delay 2
185: Lazy Man`s Arppegio
186: Frenetica
187: Heavenly Echo
188: Tremverb
189: The Abyss
190: Root + 3rd + 5th
191: Micro-Pitchshift
192: Rubber Biscuit
193: Diffused Phaser
194: I'm Nationwide
195: Watercolors
196: Event Horizon
197: Perceptual Reverb
198: Sweep Band Delay 2
199: Rainbow Splash
200: Thick Chorus
201: The Jupiter 2
202: Tracking Ringmod
203: Flangellation
204: Undulation
205: Serenity Now!
206: Haunting Echoes
207: Rockabilly Hot Rod
208: Ambient Swirl
209: 6th Stone from Sun
210: Echoes from God
211: In a Funk
212: Plexi-Vox
213: Flanked by Flangers
214: Wide Chorus Double
215: Surf's Up
216: Flippin' The Switch
217: Ascension
218: Wandering Delays
219: Heavily Processed
220: Boutique Battle
221: Mid Boost Lead
222: Jim and Leo
223: Fat Solo Lead 2
224: Rackmount Preamps X2
225: Stays Crunchy
226: Rock Concert
227: Class-A Brethren
228: Bond... James Bond
229: Zamfir?
230: Screaming Plexi 2
231: Smokin'
232: Choral Canyon
233: Euro Crunch
234: Velvet Sun 2
235: Super Phaser
236: Flangetastic
237: Wind Chimes
238: Year of the City 2274
239: 5 octaves of fun
240: Tape Distortion
241: Atmosphere
242: Dual Detune
243: Diatonic 4th+6th (C)
244: Gamelan Night
245: Orient Express
246: Echoplex
247: Funky Synth
248: Track Wah
249: Music Box
250: Diatonic 3rd + Oct Amaj
251: S/H Band Delay
252: Sweep Band Delay
253: Desert Breeze
254: Flashback
255: Studio Clean
256: Detune Slap
257: Squashed
258: Auto Swell PongVerb
259: Random Wah
260: Lounge Lizards
261: Sweep Echo
262: By Your Command
263: Brittle Comp Rhythm
264: Synth Lead
265: Slow Rotary
266: Class-A Crunch
267: Glass Castles
268: Scintillating
269: Phenomena
270: Traffic Jam
271: Round Lead
272: Detune Plexi
273: Bouncing Echoes
274: Bad
275: Dripping Wet
276: Rush Hour
277: Get Down Syndrome
278: Comp Clean
279: New Country
280: Panning Delays
281: Full Plexi
282: Dirty Tape Echo
283: In a Fixx
284: Uber Chugga
285: Quad Chorus
286: '63 Tube Verb Box
287: Yngwie
288: Syncopated
289: Run Like Heck
290: Bass Ackwards
291: Stratosphere
292: Rotary Band Delay
293: Melancholia
294: BandTaps
295: Shifted Delay Thingy
296: Modern Eddie
297: PCM70 Hall
298: Mr. Gilmour Lead
299: Soundtrack
300: Bright Plate
301: Juicy Lead
302: Leggy
303: Forty Miles
304: Freeway Jam
305: Beef Supreme
306: Vintage Spring
307: 2290 Delay
308: A Clockwork Banana
309: Thor's Hammer + Saw
310: East Wes
311: Bayou Country
312: The Brown Sound
313: Ned Beatty
314: Long Verb
315: A Kind of Dream (C)
316: Spandex & Hairspray
317: Opposed Notches
318: Modern Jazz
319: Shiva on the Rocks
320: So Many Roads
321: Pulse Delay
322: Stone in Love
323: CE-1 Chorus
324: Four Detuners
325: Triangle Flange
326: DreamVerb
327: Squeaky Clean
328: Forlorn
329: Ambient Guitar
330: Eruption
331: Band Delays
332: Mr. Floyd
333: Man In The Box
334: Broken Heart
335: Solar Eclipse
336: Comb Delays
337: ABCD=ms,FB,Jitter,Mod
338: Capricorn 1
339: Underwater
340: Circular Delays 2
341: Blitz II
342: The Final Frontier
343: Ex-Ta-See
344: C Major Shifts
345: Fifths in Space
346: Sea of Tranquility
347: Corbomite Maneuver
348: The Infield
349: China Syndrome
350: Clock Tower
351: Stereo Shift + Verb
352: Flange-Chorus-Echo-Verb
353: Echo Room
354: Tumbleweeds
355: JM45 Blues Lead
356: 80's Clean
357: Vintage DigitalDelay
358: Sultans
359: FILTER PONG VERB
360: High Landrons
361: Lunar Eclipse
362: 2290 Delay 2
363: Chorused Reverb
364: FilteRing Funk
365: PopGate '88
366: Expanding Delay
367: Echo Deva
368: Cliffs of Dover
369: Modulation Mayhem
370: Damage Nexus
371: Mark Day's HBE
372: Sweet Child
373: Farfegnugen
374: Jump Gate
375: Fazed Delays
376: Diamonique Rain
377: Happy Place
378: Echo Room 2
379: Space Verb
380: Direct Dual Chorflange
381: Comb Delays 2
382: OUT1->FOH OUT2->CAB
383: Amp Matching Template
384: Bypass
 
Very nice ... thanks ... if you ever get bored, it would be nice to be able to go the other way too .... i.e. take a text file with custom preset names and load it into either an Axe bank file or even better ... an MFC .syx file - - but there may be other issues ( checksums? ) that might make loading custom preset names more difficult than pulling them ... but thanks again for sharing ...
 
Very nice ... thanks ... if you ever get bored, it would be nice to be able to go the other way too .... i.e. take a text file with custom preset names and load it into either an Axe bank file or even better ... an MFC .syx file - - but there may be other issues ( checksums? ) that might make loading custom preset names more difficult than pulling them ... but thanks again for sharing ...

Thanks for the feedback! I think it can be done, but I'd need a better understanding of the sysex spec before attempting to test and write anything to the Axe FX II and risking a meltdown.... Extracting info offline from files is very comfortable to me and getting patchnames in a simple format was something I needed... I just don't have the need (yet) to go the other way.... maybe the upcoming Axe Edit will do what you need?

Or better yet - just send me an Axe FX II spare to play with and test!! :lol
 
I also noticed using this that the default presets on my Axe were similar but different than the default presets on the web. I'm thinking because I upgraded the firmware from 9.x to 10.x and did not update the preset banks as well (d'oh!)..... Below are the different Bank 'A's....

# Bank A (mine) Bank A (web)
1 59 Bassguy 59 Bassguy
2 65 Bassguy 65 Bassguy
3 Brownface Brownface
4 Deluxe Verb Deluxe Verb
5 Double Verb Double Verb
6 A-Class 15 A-Class 15
7 Top Boost Top Boost
8 Plexi Normal Plexi Normal
9 Plexi Treble Plexi Treble
10 1987x Treble 1987x Treble
11 Brit 800 Brit 800
12 Hipower Brilliant Hipower Brilliant
13 USA Clean USA Clean
14 USA Lead USA Lead
15 Recto Orange Recto Vintage
16 Recto Red Recto Modern

17 Euro Blue Euro Blue
18 Euro Red Euro Red
19 Shiver Clean Shiver Clean
20 Shiver Lead Shiver Lead
21 Euro Uber Euro Uber
22 SOLO100 Crunch SOLO100 Crunch
23 SOLO100 Lead SOLO100 Lead
24 Freidman BE Freidman BE
25 Freidman HBE Freidman HBE
26 PVH 6160 Vibrato-King
27 Mr. Z 38 CA3+ Clean

28 CAE 3+SE Rhythm CAE 3+SE Rhythm
29 CAE 3+SE Lead CAE 3+SE Lead
30 Energyball Mr. Z 38
31 Wrecker Wrecker
32 Corncob Corncob
33 Cameron High Cameron High
34 Fryette D60 More Fryette D60 More
35 FAS Lead 1 FAS Lead 1
36 FAS Lead 2 FAS Lead 2
37 FAS Modern FAS Modern
38 Das Metal Das Metal
39 ODS-100 Lead ODS-100 Lead
40 Brown Brown
41 Buttery Buttery
42 Boutique 1 Boutique 1
43 Supertweed Supertweed
44 JVM OD1 Brit JVM OD1
45 Prince Tone Brit JVM OD2
46 Blanknship Leeds Blanknship Leeds
47 Super Verb Super Verb
48 Citrus Citrus
49 Carol Ann Carol Ann
50 JTM 45 JTM 45
51 Hot Kitty Hot Kitty
52 Two-Stone Two-Stone
53 Spawn Nitrous Spawn Nitrous
54 Brit Silver Brit Silver
55 Herbie 2- Herbie 2-
56 Dizzy VH4 Ch 3 Dizzy VH4 Ch 3
57 Screamin' Plexi 5153 Blue
58 Cliffs of Dover 5153 Red
59 Sultans Atomica
60 Fifths in Space Deluxe Tweed
61 Band Delays Dirty Shirley
62 A Clockwork Banana Fox ODS
63 Stratosphere Nuclear Tone
64 Run Like Heck 6160 Block
65 Quad Chorus 6160 II
66 Rush Hour Spawn Q-Rod
67 Atmosphere Wrecked
68 Flangetastic Brit Pre
69 Cavernous Badger 18
70 Stereo Tape Delay 2 Brit 800 Mod
71 A Major Harmony Dizzy VH4 Ch 4

72 Bassman About 2 Explode Bassman About 2 Explode
73 Hell's Glockenspiels Band Commander
74 Funk #49 ODS100 Clean
75 Djentlemanly Junior Blues
76 Down Full Step Can You Hear it Ring?
77 Eruption Petrucci Rhythm
78 Broken Heart Studio Lead
79 Katie's Song Aye Cee 30
80 Super Chunk Whole Lotta
81 Pride 'n Joy Fuzz Tweed
82 No Quarter Hell's Glockenspiels
83 Can You Hear it Ring? Funk #49
84 Arpeggiator Madness Prince Tone
85 Lonely Heart Solo Top Boost
86 Galaxy Formation Try Access

87 Elegant Gypsy Elegant Gypsy
88 Envelope Phaser 100W Plexi
89 Night Creatures Djentlemanly

90 Mr. Benson Mr. Benson
91 The Planets Bludojai Lead
92 Synth Lead EVH Circa 1982
93 Nameless Streets Herbie 3
94 Year of the City 2274 The Planets
95 Crunchy Rhythm No Quarter

96 EJ Clean EJ Clean
97 Who's Next? Who's Next?
98 The Wood Nymphs The Wood Nymphs
99 ABCD=ms,FB,Jitter,Mod Katie's Song
100 Diffused Mod Delay Diffused Mod Delay
101 Ill Gotten Gain Down Full Step
102 Starship Super Envelope Phaser

103 Emerald Ocean Emerald Ocean
104 PopGate '88 Ganymede
105 Machine Gun Machine Gun
106 People Get Ready People Get Ready
107 FilteRing Funk Prometheus WV
108 All Wet 8-Voice All Wet 8-Voice
109 Limelight Limelight
110 W@rped Vinyl (ABCD) W@rped Vinyl (ABCD)
111 Satan's Hollow (E-) Shiver Me Timbers
112 CenterField Stereo Tape Delay

113 Frogtone Irie Frogtone Irie
114 Farris Wheel Arpeggiator Madness
115 Deluxe Tape Deluxe Tape
116 A Kind of Dream (C) Night Creatures
117 Flangellation Walking on the Moon

118 Blues Aroncino Blues Aroncino
119 Direct Dual Chorflange Nameless Streets
120 Echo Deva Cork Sniffers

121 Still Got the Blues Still Got the Blues
122 Tejas Esta Floodo Galaxy Formation
123 Gnome-Mans Land Gnome-Mans Land
124 Andy's Message Andy's Message
125 Psychadelic Duck Psychadelic Duck
126 Hotbox Dancer A Major Harmony
127 1967 All Over Again 1967 All Over Again
128 Rainy Nights Rainy Nights
 
Last edited:
Figured out a way to remove MIDI-OX as the middleman and grab a preset list directly from a .syx file on Win or Mac. Also preset numbers start at zero, not one. Send me a message if interested for the updated script. :)
 
Back
Top Bottom