Pitch automation over time

jaycy1984's icon

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

jaycy1984's icon

sorry not -0.67, but 0.33

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

deerell's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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.

jaycy1984's icon

thanks ill take a look now :)

jaycy1984's icon

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?

jaycy1984's icon

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

jaycy1984's icon

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

Chris Muir's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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.

Christopher Dobrian's icon

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

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

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

Chris Muir's icon

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

Christopher Dobrian's icon

I know! Right? Kids today!! Pfft.

Chris Muir's icon

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

jaycy1984's icon

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 :)