Here’s the patch. You’ll have to replace it with a 512 sample waveform. You can download the one below if you like.
@Stefan: The problem is the timing. It’s not as tight as I would like. Also, I haven’t yet been able to figure out a way to use windowing (gaussian, etc) as a stored waveform using phasor~ or wave~ that I can play through to window the grains while also being click free.
@Noob4Life: Thanks for the patch! I’ll have a look. Yes, the entire stream would come either from a 512 sample waveform such a sine wav or other sample. Where I could then vary the distance between each subsequent grain. It’s described more below what I’m trying to do.
My goal is to have a single numerical control over each grains frequency, the delay between each grain and the duration (in ms.) of each grain. And do all of this at audio-rate if possible. Trying to do this in the past, I’ve run into issues with having to find zero crossings and such.
– Pasted Max Patch, click to expand. –
Copy all of the following text.Then, in Max, select New From Clipboard.
Aug 24, 2010 at 12:49am #186344