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