Joshua Batty

Realtime Audio Granular Synthesis in OpenFrameworks


I finally got round to making an example for openFrameworks that granulises live microphone input using of the ofxMaxim library.I had to make a little hack in the maximilian.h file specifically the loopRecord() method. This is described in the github with the source that can be found here ->

The length of the audioBuffer is directly related to the length of the .wav file you tell the maxi play method to use. I have included a 7 second silent .wav file in the example but you can switch this out with any size recording you want your audio buffer to be.

Any suggestions, other uses etc.. welcome!

Also here is a little video demonstrating the example in action. Enjoy!