Forums > MaxMSP

Enveloping mdeGranular~

Feb 15 2012 | 10:00 pm

Hey everyone,

im stuck on trying to envelope the grains for my granular synth, Im using the mdeGranular object by michael and the Window_Maker by Nathan Wolek with different windows, my problem is i get sooooooo many clicks, just wondering if someone could point me in the right direction for how to solve this.. i get most of the clips when scrubbing through the loop selection, which is what i want to limit so i get a smooth output

  1. testing.maxpat
Feb 15 2012 | 10:06 pm

I suppose it depends on what OS you’re on, but I had erratic reliability with mdeGranular; prone to crashing and glitching. Although I didn’t look at your patch, I’m surprised that you need to envelope the output of a granulation external, particularly one as mature as mdeGranular. While I look at your patch, look here:

and here:


Feb 15 2012 | 10:16 pm

Hi Brendan,

Thank you for the quick reply :),

the first link that you sent is exactly what im trying to replicated but i wanted to use the pre-made windows by Noleks tools, im just unsure where i need to link it..

i got told by another user to do this, but makes no sense …" you get no clicks thanks to the windowing envelope used to put a vol envelope on the selection.. its uses [wave~] object connected to the right outlet of the [groove~] that provides the sound. that runs off a signal from 0-1 represents start to end of selection, [wave~] runs through a buffer from 0-1 (start to end).. if its a hanning window youve got a vol envelope for the selection."

im probably overcomplicating, my english translation isn’t letting me understand exactly what this user is telling me to do lol.. im reading it as loading the wave back into the buffer?

hope you shed some light on this :/

thanks again Brendan

Feb 16 2012 | 12:55 am


Feb 16 2012 | 1:18 am

As Brendan said you shouldn’t be getting any clicks at all, when using a granular synth, and if you did they would be massively loud and intrusive.

I don’t have the external installed and I’m not familiar with it either way, but from the looks of it it does realtime granulization (with it’s own internal buffer?). If that’s the case you shouldn’t need to window the audio going into it from groove, you should just feed it straight audio.

I could be misunderstanding the external and how it works though.

Feb 16 2012 | 11:18 am

only people who have the stated externals will be able to look at this, and I don’t think any good samaritan will go off and get them just to look at your problem……so, the only thing I can suggest is, if you want different window functions try these:

-- Pasted Max Patch, click to expand. --


Feb 16 2012 | 1:33 pm

i recently toyed with mdegranular. it already has tons of windows built in, no? from HANN (or HANNING: the default, a typical bell-shaped window), TRAPEZOID (straight line ramp), RECTANGULAR (no ramp at all), WELCH, PARZEN , BARTLETT, HAMMING, BLACKMAN2, BLACKMAN3, BLACKMAN4, EXPONENTIAL, KAISER, CAUCHY, POISSON, RIEMANN, GAUSSIAN, TUKEY.

or do you mean something else?

Feb 26 2012 | 7:04 pm


many thanks thats exactly what i was looking for (fly pro slaps himself in the face), was in a rush didnt read the documentation!!!

many thanks anyways!


Viewing 8 posts - 1 through 8 (of 8 total)

Forums > MaxMSP