Granular Synthesis

marlonk's icon

Hey all, noob here

I have been in the proccess of creating a Granular SYnthesis patch. Inspired by some youtube videos, ive decided to use a Waveform~ object as a start/end selector.

I have ONE problem with the patch:

the Waveform~ object only plays/is set at 1000 ms, and I cant play anything longer than that ( equal to just over 40000 samples, if Im not making sense to anybody)

so, that means if I load up a Beethoven symphony (for example) to play around with, it wont play past the first 1 second.

SO, if anybody can figure out what I'm trying to say AND help me out, it'd be much appreciated

Mike S's icon

have a look at the waveform~ help file, the first two inlets and the last inlet allow you to change what is viewed in the object.

i presume you are scaling the horizontal position of the waveform~ to the the selected audio? if not you can do that via the 5th outlet

oh, and posting your patch is often a quicker way to solve these problems done by,

edit - select al

edit - copy compressed

Max Patch
Copy patch and select New From Clipboard in Max.

paste as text like so

Tj Shredder's icon

For sure a waveform~ object is capable of showing all Beethoven symphonies glued together. (There might be a 2GB memory limitation though, but down sampled it should be possible...;-)
I never heard a waveform~ object play anything by the way. Other objects can do that, some of them play buffer~s...
This should be covered in some early tutorials...

Maybe play around with some simpler goals first, before you get tackling a granular synth. I understand well, that having a big picture is also a sort of motivation. But finding out yourself how to load more than a second into a buffer~ could be motivating as well...;-)

Good luck.

marlonk's icon

Ok, thank you for the reply.

I looked over it all and actually figured it out. Now I have a whole other problem...

I have also been trying to connect the Waveform~ to this patch I made.

Max Patch
Copy patch and select New From Clipboard in Max.

Id like to use the waveform to select the audio I want looped, white still retaining the rest of the patch and controls.. Please dis-regard my last and initial post.

seejayjames's icon

waveform~ outlets 3 and 4 are designed to go into groove~ inlets 2 and 3 directly.

interesting patch, the guts look pretty awesome :)

marlonk's icon

Thank you! Also, I think I understand what you mean. Only problem is, I have tried countless times to implement the Waveform~ into that patch I posted

Chris Muir's icon

I haven't looked at your patch, but I have a granular patch where I use waveform~ as my display, but use other controls on top of it to indicate focus. If you want to take a look at it, it's called The Mill, and it's available here: http://xfade.com/max/

Chris Muir's icon

You also need to post the "gran" patch.

seejayjames's icon

if you are using [groove~] in the "gran" poly patch, just use [send] into the poly~ for the start and stop points. usually [waveform~] is connected right to [groove~] but if you use [send] and [receive] from the start/stop looppoints it doesn't have to be.

interested to see the more complete posting, including the "gran" patch... do tell!