Forums > MaxMSP

Using function as an envelope follower for groove

October 28, 2010 | 10:40 pm

Hello everyone,
I can not ask too many favours because this is part of my project I am doing at the moment for my major degree. I am relatively new to Max/Msp but have been trying to study it for ages now and still am finding things complicated. I will post my patch with what I have done so far but all I want to know if I am along the right lines of using the function object to detect the adsr of the groove sample.

– Pasted Max Patch, click to expand. –

Feedback will be much appreciated. Thanks in advance :)


October 28, 2010 | 11:05 pm

Maybe taking he output of the waveform into the function object may be the answer as in stated in the thread here: http://cycling74.com/forums/topic.php?id=29165 ? Sorry I’m not by the computer at the moment so will try tomorrow. Thanks again for the help and sorry for asking probably a really simple question but as Ive stated I
am still getting to grips with Max.


October 29, 2010 | 6:46 pm

Hey everyone been tearing my hair out over this patch.
Basically I want to generate an adsr envelope from the groove object for each micro loop point. If you look at the waveform I have set a minuscule loop range to kind of mimic the aspect of granular synthesis. Is it possible to use function as a kind of envelope follower or would it be best to use something like rampsmooth to generate this?


October 30, 2010 | 8:34 am

function is an envelope generator!
I guess the task is not AI related, means its not the task to extract points for a simplfied function out of a real envelope…
You obviously have no idea what fft and ifft do, don’t use what you don’t understand. I have not the slightest idea why you put them in your patch…
Yes, rampsmooth~ is a starting point. You’ll need to look at abs~ as well, as an envelope is an analysis about absolute values…

To figure out Max has a lot to do with trial and error, or at least that is a valid way to find out how things work. (I do it all the time). There is a lot built in which helps you to browse along your personal path through the documentation. Its worth to spend some time with it. It has the potential for a lot of fun…

Have FUN… (you’ll need your hair for the girls, don’t tear it out!)

Stefan


October 30, 2010 | 10:21 am

Thanks stefan for your reply you’ve helped a lot. As you stated max is mostly trial by error in that patch that I uploaded I removed the fft object as it was a prototype patch. I saw a method of granular synthesis in Microsound using a fast fouler transform you could get the frequency of each grain so used that as a test patch. Cheers for the help :)


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