Mandelbrot to sound
- A while ago i posted some ideas on how to convert the Mandelbrot or Julia sets into sound. It didn't turn out so well, however, now i've finally discovered a way to make sound with these formulas, that might really be something. I'm not going to reveal the formula itself yet though, but i want you to try to guess what i've done. Just one hint, it involves no oscillators....
- Hi Mats,
I like the non-linear quality to it. Very interesting.
I have no idea how you are doing it.
From: Mats Ãljare <oljare@...>
To: cnfractal_music <firstname.lastname@example.org>
Sent: Tue, Oct 4, 2011 9:47 am
Subject: [cnfractal_music] Mandelbrot to sound
A while ago i posted some ideas on how to convert the Mandelbrot or Julia sets into sound. It didn't turn out so well, however, now i've finally discovered a way to make sound with these formulas, that might really be something. I'm not going to reveal the formula itself yet though, but i want you to try to guess what i've done. Just one hint, it involves no oscillators....
[Non-text portions of this message have been removed]
- Well, i'm kinda disappointed noone came close to the solution, but here it is.
What i ended up doing is simply iterating the standard Mandelbrot/Julia squaring algorithm with a fixed number of iterations, around 20 in each of these examples, varying one of the parameters along a straight line and using the resulting value as the output level for each sample. You can either use the value of the last iteration, or add the value of all iterations together, the later gives a more complex sound which is what i used for most of the examples in the sound file.
This algorithm works with "inside" points only. This makes it rather limited, because not only is it limited to straight lines that contain inside pixels only, but most of them don't even give any audible result, for example the main bulb of the Mandelbrot set. There are only a few certain areas that have anything going on with them to give a audible result. Most of the samples i did are either of the "antenna" on the real axis of the Mandelbrot set, or the Julia sets from it. I would try with the power of 3 Mandelbrot, but i can't find a formula for it anywhere!
I also tried the "Mandelbar" and "Burning Ship" variants, but since these are the same for real numbers anyway, there's not much point to it.
There is one other formula i used however, which is the first one you hear in the sound example. That is simply a nested sine function, instead of squaring, with multiplication increasing with time. I included this because it was my first idea, and i think it's somewhat related to the Mandelbrot/Juilia formula.
I kind of imagined this having potential to be developed as a purpose made app, that lets you choose a path graphically along the M or J-set along with the other parameters, to render into audio. However upon trying this i have to conclude that there really isn't much more to find, than what is included in this sound file.
For those who really wonder, the ones that sound somewhat repetive are Julia sets from the real axis, the one that is just a single sliding pitch is -2 if i remember right, while the Mandelbrot ones sound more chaotic. Of course the difference between the "Julia" or "Mandelbrot" here is just what parameter is changed over the course of time!
But what really surprises me is how similar the results sound to sine waves, sometimes phase/frequency modulated sine waves. Is there a obvious relation between the squaring formula and the sine function that i've missed?