Forums > MaxMSP

Pitch automation over time

December 29, 2011 | 1:10 pm

does anyone know how to automate the pitch of a sample that is repeatedly triggered by a metro, im using the groove object

an example would be over 44 bangs output by the metro i would want the pitch to gradually increase by .67, resulting in 1.67 at the 44th bang, but then i would it to decrease to -0.67 by the 88th bang but also still gradually, not in 1 step on the 88th bang

if anyone could help me out on this id really appreciate it
had a look through the forum but couldn’t find what i need


December 29, 2011 | 1:12 pm

sorry not -0.67, but 0.33

so .67 is being added to and subtracted from one every 44 days


December 29, 2011 | 3:57 pm

I think this might work for you. I used function, the graphical breakpoint object. I didn’t bring groove~ into it, but this patcher has the value correspondence you were asking for. You could input these index/value pairs into a coll if you wanted.

– Pasted Max Patch, click to expand. –

December 29, 2011 | 6:08 pm

thanks ill take a look now :)


January 1, 2012 | 6:56 pm

hmm that worked well for your patch, peferectly actually i just put the outputted number into sig and it manipulates it just how i wanted

the only problem is i have 8 different versions to make, i tried to edit what you did, but it still stays with what you did

for example one i want to reach 2.19 over 50 bangs and decrease to -0.19 at 100 bangs

so i changed the values in the message sent into the function

and change the amount of days in the counter yet it still sticks to what it was before

any ideas why?


January 1, 2012 | 7:01 pm

it appears not to be deleting the information in the function box , but adding my extra information instead of clearing what was there before


January 1, 2012 | 7:03 pm

its ok ive sussed it, just have to delete the points that were there before, shift click


January 1, 2012 | 7:48 pm

If you know the number of bangs, and the starting and ending numbers, calculate the delta, and divide it by the number of bangs to find the per-bang increment.

– Pasted Max Patch, click to expand. –

January 1, 2012 | 8:47 pm

Chris’s example shows the principle you’ll want to understand.

There’s an object called bline (introduced at the same time as Jitter in 2000) that does this for you.

– Pasted Max Patch, click to expand. –

January 1, 2012 | 9:16 pm

You and your fancy "new" objects. In _my_ day we calculated this stuff and we liked it.


January 1, 2012 | 9:17 pm

I know! Right? Kids today!! Pfft.


January 1, 2012 | 9:27 pm

How long have you been able to use that shorthand for pack?


January 2, 2012 | 1:06 am

hmm there both interesting but the first one works fine and i sort of understand it better than the other 2, thanks anyway guys, ill try and get my head round those two aswell :)


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