When making Into Oblivion, I was a bit frustrated that it was rather hard to gain good information from the FFT analysis and that it was utterly impossible to find which instrument was playing. And then a friend told me about MOD music.
Unlike audio files like mp3, module files aren’t rendered down to just the audio information. Simplified, they have two elements: A collection of distinct audio samples and tracker information when to play which sample and how to modify its pitch, volume and other properties. So that means if your visualizer is a MOD player, you have all this juicy information available at your fingertips!
So there were a few things I needed:
- MOD files: I got those from ModArchive.org. I chose:
- chiptune, phantasmagoria, rsectro and zapped_out by 4mat
- Rivendell by radix
- A MOD tracker to analyze the MOD files: OpenMPT filled that spot quite nicely and was easy to get into even for a total beginner like me.
- A MOD processing library – of which I only found one! Luckily, PortaMod has (nearly) everything I needed, and the creator Brendan Ratliff was most helpful on Twitter.
Since this was my first foray into MOD music visualization and I wasn’t cooperating with a musician, I wanted to keep the visualizer as general as possible; any file that it could play should work. I also wanted to use as much information as possible. In the end, I chose a rotating circular representation divided into slices. Each slice is a MOD channel and each MOD sample was assigned a color. Pitch modifications made the radius go bigger, and everything is pulsating according to the output amplitude.
Executable for Windows
GitHub Repository (MIT License)
And now there’s been enough talk – have a preview video and a few screenshots!
The song used are, in order:
- Rivendell by radix
- phantasmagoria by 4mat
- rsectro by 4mat
- zapped_out by 4mat
The last batch was a bit mediocre, but this one has some really strong candidates! I’m proud to present:
#036: Among the Stars
Based on a work by the ever-fabulous Titouan Millet! It turned out not to look like the original too much and instead has its own charm.
#037: Energy Transfer
An experiment with agents and attractors.
(521 words and 44 images, estimated 2:05 minutes reading time)
It’s been over a year since I last posted a collection of small generative art sketches – but that’s not because I stopped making them, I just got a bit lazy with posting. There’s quite a lot queued up now! And without any further ado, here are candidates #29 to #35.
#029: Plasma Blob
This one isn’t terribly impressive, but it was made in a few minutes to demonstrate Processing to a colleague and is reasonably nice to look at.
#030: Mara’s Ocean
A typographic variation of #028: Isles using the Mara’s Eye font.
#031: Chimera Maker: What Has Science Done?!
The sillyness levels go through the roof with this one. For executables for Windows, Mac, Linux and Android and for more pictures, check out it’s own blog post!
(408 words and 32 images, estimated 1:38 minutes reading time)
With my newest generative artwork, I embark into the wonderful world of generative/reaction animations: It’s a music visualizer.
I’ve used spectrum analysis (powered by minim) and Processing to make a reactive artwork. It works especially for songs with breaks and theme changes where it becomes really apparent that the result is really dependent on the currently played music.
If you are Windows, you can download it here – edit the default.xml to use your own music, change the color scheme. Check out the readme for the controls!
The source code is, as always for my generative art in Processing, available at the GitHub repository and open source. You can open it with Processing 3 – just import Minim.
Here is a video using a shortened version of Push Every Button by Lapfox:
Four weeks ago, I started doing daily generative art Processing sketches – and now I am at the end of this fourth week. I’m glad I held on to the “do one sketch every day” mantra, even when I wasn’t feeling inspired – I made some pretty fun stuff this week. Alright, let’s dive right in!
#022: Tentapus Generator
That’s right – it has 10 legs, not 8! I really like how the legs always look so different. While generating, sometimes it almost looked like it was dancing. I might actually use this in a game one day – it certainly looks like it would be fun to play with.
(813 words and 48 images, estimated 3:15 minutes reading time)
And thus, the third week ended. It had its hits and misses, but I learnt new stuff and I’m especially content with the three dailies at the end! And now, without any further ado:
#015: Probably a Metaphor for Something
On the other hand, maybe it isn’t. Let’s… let’s just skip this one, okay? I guess it’s safe to say that it didn’t go where I wanted it to go.
(800 words and 37 images, estimated 3:12 minutes reading time)
And the second week is over! I had some interesting and diverse results this week. I’m especially fond of the Silk/LightWeaver and some of the results of Stormy Weather look very dynamic.
#008 – Silky Smoke
A variant of #006 (CircleTrails), inspired by this video where Casey Reas talks about the circle collision thing that #006 also uses, but with drawing lines between them. Silky Smoke works in a similar way, but isn’t about drawing a persistent picture and more about the movement created. It looks okay, but I have to admit that I was hoping for more.
(954 words and 60 images, estimated 3:49 minutes reading time)
Hey! If you’ve been reading this blog for a while, by now you’ve probably noticed that (true to my tagline) I mostly post games that I make – but sometimes, it’s also other stuff. The “other stuff” might get a bit more company from now on! I’ve been getting into generative art, and I’ve decided to make one generative art sketch per day until I get bored with it. Every Sunday I’ll post the results of the week with screenshots, videos, executables for Windows and the processing source files. And if you’d rather see me making games, don’t worry – making interesting and potentially beautiful things with code will only help making my games look better. And now without further ado, I present to you week 1!
#001 – ShardSphere
First one in my daily series! Mostly inspired by Generative Art Chapter 5. I really like the beginning when it comes to life out of nowhere.
(803 words and 29 images, estimated 3:13 minutes reading time)
After I published my master’s thesis, a few people asked me about what I did for my bachelor’s thesis. I experimented a bit with controls for an Android shooter. Here is a video showing the game I did there: