Databending is the process of intentionally altering data in order to induce corruption for artistic reasons. Usually, this means screwing with image files to make them distorted in some way. Databending makes much more authentic "glitchcore" than anything you can do in a typical image editor, and you don't even have to understand anything about computers to do it (I sure don't!)
This article is a step-by-step guide to databending images using Audacity, a free audio editing program. Audacity can actually import things that aren't supposed to be audio, such as images, and from there you can use the program's built-in effects menu to manipulate the data. When you translate the altered audio back into an image file, you get a glitchy, distorted picture, with the exact manner of distortion determined by what effects you applied in Audacity.
I owe a huge debt of gratitude to Jojo Decamarks, whose excellent guide is how I learned to databend like this in the first place. The process of how to actually get the images in and out of Audacity as described in this article is basically yanked wholesale from Jojo's guide, with the addition of some extra screenshots and notes designed to help out people like me who are chronically unable to follow computer-related instructions unless they get walked through every single step.
The second part of this article is all original documentation of how Audacity effects translate to image distortion. As far as I know, nothing else like this exists on the internet, so I hope it will be a useful resource to anyone who wants to get into databending without fussing through hours of trial-and-error to get the results they want.
For this article, I'm using a standard test image to demonstrate every effect; this is '"Female" (NTSC test image)' from the USC SIPI Image Database.
Open Audacity (I'm working in version 3.2.0) and select File > Import > Raw Data...
When editing, you have to be a little bit careful not to distort the whole file. The very beginning and end of the data have to stay as they are, or else the whole thing will get corrupted and fail to save as an actual image.
Presumably, this is where things like image resolution and bit depth are stored -- I don't actually know anything about how images are encoded, so I'm just guessing. Regardless, if you mess with these areas it will effectively turn the file into gibberish and your computer will throw its hands up and go "I dunno, man, I can't read this."
Once you've manipulated the audio to your heart's content, you need to turn it back into an image file. Go to File > Export > Export Audio...
Actually one more thing. Just importing and exporting a .bmp into Audacity will distort it a little bit, even if you don't touch the audio data at all. For example, here's "Female" as it looked fresh out of GIMP compared to how it looks after passing through Audacity ostensibly untouched:
Increasing amplitude makes the image darker, decreasing amplitude makes the image lighter. Simple as.
+1 dB | +3 dB | +10 dB |
![]() |
![]() |
![]() |
-1 dB | -3 dB | -10 dB |
![]() |
![]() |
![]() |
+50 dB | -50 dB |
![]() |
![]() |
Increasing treble makes the image redder and more saturated. Decreasing treble makes the image cyan-er and less saturated. Increasing bass increases both red and cyan while also making the image darker and adding a slight smearing effect. Decreasing bass has similar effects to increasing treble plus making the image lighter and less saturated.
+1 Treble | +3 Treble | +10 Treble |
![]() |
![]() |
![]() |
-1 Treble | -3 Treble | -10 Treble |
![]() |
![]() |
![]() |
+1 Bass | +3 Bass | +10 Bass |
(corrupted) | ![]() |
![]() |
-1 Bass | -3 Bass | -10 Bass |
![]() |
![]() |
![]() |
+3 Treble, +3 Bass | -3 Treble, +3 Bass |
![]() |
![]() |
+3 Treble, -3 Bass | -3 Treble, -3 Bass |
(corrupted) | ![]() |
+30 Treble | -30 Treble |
![]() |
![]() |
+30 Bass | -30 Bass |
![]() |
![]() |
Changing pitch fucks up the image very quickly, turning it into grey smears. Increasing makes smears that go south-west, decreasing makes them go north-east.
+1% | +3% | +10% |
![]() |
![]() |
![]() |
-1% | -3% | -10% |
![]() |
![]() |
![]() |
+1%, then -1% | -1%, then +1% |
![]() |
![]() |
Increasing speed immediately breaks the file. Decreasing it keeps the file intact, but turns the image into more grey smears.
-1% | -3% | -10% |
![]() |
![]() |
![]() |
-1%, then +1% | +1%, then -1% |
![]() |
As with speed, increasing tempo breaks the file immediately, but you can decrease and still get a valid image. The image breaks into a "staircase" of chunks tinted different colors.
-1% | -3% | -10% |
![]() |
![]() |
![]() |
+1%, then -1% |
![]() |
This one has a lot of parameters you can tweak, so I've included a screenshot of exactly what the effects menu looked like for each trial, which is hopefully easier to parse than just a list of what's in which field.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
(corrupted) |
![]() |
![]() |
![]() |
![]() |
In order to use this one, you have to tweak the settings to be more sensitive than default, otherwise you'll get an error saying the algorithm didn't do anything to this audio.
Threshold: 29 Spike Width:20 |
Threshold: 15 Spike Width:32 |
Threshold: 1 Spike Width:40 |
![]() |
![]() |
![]() |
15/32 | 15/32, 7/40 | 15/32/ 7/40, 29/34 |
![]() |
![]() |
![]() |
Another one with lots of possible adjustments.
![]() |
![]() |
![]() |
![]() |
![]() |
(corrupted) |
![]() |
(corrupted) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
This is, as they say, "the big guns." There are so many parameters to tweak, we could be here for hours. Instead, I've just documented the results for most of the "factory preset" options.
Default | ![]() |
Hard clip | ![]() |
Soft clip | ![]() |
Fuzz Box | ![]() |
Walkie-talkie | ![]() |
Blues drive sustain | ![]() |
Light Crunch Overdrive | ![]() |
Heavy Overdrive | ![]() |
3rd Harmonic | ![]() |
Valve Overdrive | ![]() |
2nd Harmonic | ![]() |
Gated Expansion Distortion | ![]() |
Leveller, Light | ![]() |
Leveller, Heaviest | ![]() |
Half-Wave Rectifier | ![]() |
Full-Wave Rectifier | ![]() |
Full-Wave Rectifier (DC Blocked) | ![]() |
Percussion Limiter | ![]() |
Echo creates ghostly duplicates of image parts, which is one of my favorite effects. Changing delay time adjusts the position of the echoed image, and decay factor makes it more intense.
Delay time: 0.01 Decay factor: 0.1 |
Delay time: 0.1 Decay factor: 0.1 |
Delay time: 1 Decay factor: 0.1 |
![]() |
![]() |
![]() |
Delay time: 0.01 Decay factor: 0.2 |
Delay time: 0.01 Decay factor: 0.4 |
Delay time: 0.01 Decay factor: 0.8 |
![]() |
![]() |
![]() |
Another one where I'm just going to run through the included presets.
100Hz Rumble | ![]() |
AM Radio | ![]() |
Bass Boost | ![]() |
Bass Cut | ![]() |
Low rolloff for speech | ![]() |
RIAA | ![]() |
Telephone | ![]() |
Treble Boost | ![]() |
Treble Cut | ![]() |
Walkie-talkie | ![]() |
Change of pace: this one has no settings, no adjustments, no tweaks, et cetera. You press the button and it inverts the waveform. Snappy!
![]() |
And we're back to stuff with checkboxes and dropdown menus and shit. This one isn't very exciting, though. I tried three permutations of options and the results were almost identical. As far as I can tell, loudness normalization is functionally identical to a negative amplify.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The first time you open this effect panel, the bottom section will be greyed out until you give it a "noise profile".
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
These are all done with "Remove DC offset" checked. The effects are much less pronounced if you turn that off.
Peak amplitude: -1 dB | Peak amplitude: -3 dB | Peak amplitude: -10 dB |
![]() |
![]() |
![]() |
This one is really cool, and it also has a whole bunch of options to tweak.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Another one of my favorites. Also has a lot of options to poke at, but here are the results for all the factory presets.
Default | ![]() |
Vocal I | ![]() |
Vocal II | ![]() |
Bathroom | ![]() |
Small Room Bright | (corrupted) | Small Room Dark | ![]() |
Medium Room | ![]() |
Large Room | ![]() |
Church Hall | ![]() |
Cathedral | ![]() |
Like Invert, this is a one-shot.
![]() |
Wahwah makes some of my absolute favorite distortions. I really love the greyscale smearing and wavy lines this can spit out. Visually, it's a little similar to phaser, but wahwah tends to keep the essential shape of the image more intact while phaser just writes over it.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
And with that, we've reached the end of the standard effects menu. There are plenty left in the plugins section, some of which do come included when you download Audacity, but they're not "core" features of the program. But there are still a few more things you can do to your data that don't involve the effects menu at all!
You aren't limited to playing with just one file at a time. You can also smash them together to see what happens! You can combine image data with other images, normal audio, or other kinds of files imported via the "raw data" option. I'm going to bring in a perennial favorite of mine, which I've saved as a .bmp using exactly the same steps as before.
Documenting this stuff was pretty fun, even though it was at times extremely tedious. If I were stronger-willed and more computer savvy, I would go even further in mapping out the correlations between waveform and image data -- I'm sure there is some way to algorithmically pin down the exact relationship between the two -- but,,, I'm just here to made weird images, man. This guide is for glitchcore artists, not compsci majors. That said, if you have any insight into the mathematical side of this that you think merits inclusion in this article, don't hesitate to send it my way. It's probably very interesting, I'm just not of the mind to figure it out myself.
I may, at some point in the future, make further explorations into Audacity databending, like testing out plugin effects or trying to bend different file types, but I'm calling it good for now. For the purposes of making glitch art, this covers the fundamentals, and there's only so far rigorous documentation can take you in making cool stuff that doesn't suck to look at. Also, I hope at least a little bit of the mystery of databending persists -- I think it's an essential part of the aesthetic, relying on the inscrutable inner workings of computers to make something distinctly non-human, something humans struggle to accurately replicate or predict... I don't want it to ever be totally solved, even though I think experimenting with it is fascinating. Sorry to get all ideological right at the end of this very long page. I guess my final point is: watch this space for future expansions on databending from the perspective of a guy who knows just enough about computers to know he doesn't actually know fucking anything about computers.