Forums > MaxMSP

Pitch automation over time

Dec 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

Dec 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

Dec 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. --

Dec 29 2011 | 6:08 pm

thanks ill take a look now :)

Jan 01 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?

Jan 01 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

Jan 01 2012 | 7:03 pm

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

Jan 01 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. --

Jan 01 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. --

Jan 01 2012 | 9:16 pm

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

Jan 01 2012 | 9:17 pm

I know! Right? Kids today!! Pfft.

Jan 01 2012 | 9:27 pm

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

Jan 02 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)

Forums > MaxMSP