
Something I have been meaning to do for a while was convert the MaxMSP instrument that I titled the Wavetable Glitch Machine (WTGM) into a Max for Live patch. The WTGM uses a TouchOSC interface running on an iPhone, iPod Touch, or iPad to explore samples using granular techniques as well as a virtual scrub dial with friction modeling. Visit the WTGM tag to read more and view a video of it in operation. I have renamed the instrument Grain Machine for the M4L version.
First I prepared the patch for transfer to M4L. This involved making sure that all of the interface objects were in the main patching window, reorganizing the sub-patchers, and cleaning up a variety of other things that I imagined might interfere with the process. Following that, all that was left was copying and pasting the patch into a Max Instrument, replacing some of the standard Max objects with M4L objects, and building a tidy little presentation mode.
Although I had to rework some of the logic and patch cords, the conversion went surprisingly fast. I expected to be working on this for weeks, but it only took me a matter of hours to get it into working order. There is still some fine tuning to be done, but all the necessary functionality is in place. Here’s an audio example I made with a simple breakbeat loaded into the Grain Machine.
Grain Machine Experiment
I have begun to refine the patch I described in the last entry, creating an instrument that allows you to traverse through samples using an x-y controller and a slider. The x axis controls the forward or backward playback frequency of the grain. The y axis controls the width of the grain; either very narrow (minimum of 10ms), to an adjustable percentage of the sample at the widest (15% by default). The slider controls the position of the grain in the sample. Buttons across the top allow you to choose one of five preset samples. Alternatives can be loaded in the patch or set as defaults.
I produced this sound by programming a scale in a MIDI clip and then sending it to a virtual instrument designed to allow for freely manipulating granular synthesis through several seven point envelopes. I made several takes while I adjusted the envelops and other parameters.
Using the simple granular synth packaged with