Tutorial 35. Granular
Various approaches |
To be thoroughly updated but for now, a few sample programs to peruse:
Examples use:
- mGrainCloud: a partial recreation of Curtis Roads' Cloud Generator program. Uses mGrainGenerator to generate a cloud of individual, wavetable-based grains.
- mSampleGrainCloud: a variation of mGrainCloud that uses samples rather than waveforms as the content of each grain. Uses mSampleGrainGenerator to create each grain
All of these objects are messy and experimental but functional!
programs:
t35a_grain_cloud: generates sine clouds with random characteristics when pad 0 is pressed
t35b_sample_grain_cloud: generates random clouds when pad 0 is pressed. audio source is a short recording of some notes being played on glockenspiel. grains grabbed from locations in sample corresponding to how far through the cloud we are.
FULL CODE BELOW