Thursday, February 07, 2013
A simple glitch tool that lets you load a binary file (e.g. JPG), and then "glitch" it in a similar way eight times simultaneously.
An offset can be set, so as to bypass glitching the header component of a file.
The "glitch" is a repeating byte (from 00 - FF) inserted at repeating period of X number of bytes.
This byte is a replacement byte i.e. no other bytes are moved, only the byte at X period length is replaced.
Thus, things can be explored, like:
• identical period length, different byte "corruption"
• identical byte value "corruption", different period length
• phase interactions and file structure using diferent period lengths
• and so on
Usage is simple:
• Click on "read" to read a binary file such as a JPG
• Set an offset in the master section (the upper row in line with read) - this will set the offset for all eight outputs
• Suggested offset is around 2000 bytes
• Set a data in the master section (the upper row in line with read) - this will set the data byte that is used for replacement i.e. inserted into as a "corruption" for all eight outputs
• Set a period in the master section (the upper row in line with read) - this will set the period length of the repeating glitch where the data is inserted into the file
• Suggested minimum period length is around 100 - 200 bytes
• You can also change these values individually for each eight outputs
• Once happy with the settings, hit the toggle next to read (the little square).
• The patch will generate eight text file windows with hex values in them.
• Copy and past the first one
• Open up Hexfiend
• Create a new Hexfiend file
• Paste into the hex area
• Save as a blah.jpg
• Repeat the last five steps for separate text file inputs and .JPG hex data outputs, saving each one to a new .JPG file
• Note that not all of the outputs will always result in readable files!
Download the Max patch here: http://milkcrate.com.au/_other/downloads/max_patches/BULK_JPG_GLITCHER.zip
Download hex fiend from over here: http://ridiculousfish.com/hexfiend/
The Max patch requires Max 6 or the free Max 6 runtime
You can see some example output here: http://www.little-scale.blogspot.com.au/2013/02/controlled-corruption-phase-base.html
More examples by Diode Milliampere: