The beauty of Processing is that this was basically a doodle — it took only about 10 sustantial lines of code to write.
You can run the sketch in your browser by clicking the image below.
Electronic Music, Audio + Visual Code, and 3D Graphics
The beauty of Processing is that this was basically a doodle — it took only about 10 sustantial lines of code to write.
You can run the sketch in your browser by clicking the image below.
Updated version of the FractalWavetables sketch with lots of new goodies, including a stereo mode and the ability to morph between fractals. Click the image below to run in your browser (requires Java):
Get the downloadable application versions here (so you can save out audio files):
Mac OS X version
Windows version
Linux version
The public git repository for this project lives at:
http://wiki.github.com/jdnorthrup/fractalwavetablesketch
Lesson learned: Processing is a beast to work with for complex modal UI’s — unless you really do your homework and design your own framework beforehand (I didn’t).
Sorry if the code’s a bit complex/ugly at parts (in case you’re looking).
Interestingly, the sounds produced from this can sound spectacular through deep reverbs and other processing. They’re almost the same amplitude at all frequencies in their range, quite unlike natural harmonic spectra. Try running a steep resonant bandpass across some of the more complex sounds.
This is a Processing implementation of the fractal wavetable algorithm I mentioned in previous posts.
The Processing framework itself is really nice — very easy to get into and start hacking out ideas. I’m using the Ess sound library to handle audio playback.
Here’s a link to the sketch. This should play in most Java-equipped web browsers:
Update: See FractalWavetables v2 for new options.
If you download and run this locally, you can write .aif files to disk:
Mac OS X version
Windows version
Linux version
Enjoy
-jd