Forums > MaxMSP

Problem using Function


mrb
July 27, 2009 | 11:10 am

Hello all,

I’m trying to use function and line to automate the pitch of a buffered speech file, however I keep experiencing the same problem. When I put more than two points onto the function interface, the automation stops on the second point. I’ve checked that the domain is set to the length of the speech file, yet it always seems to stop on the second point. Is there something I’m doing wrong????

Thanks


July 27, 2009 | 11:27 am

Its impossible to do anything but guess at the problem unless you post the patch, or part of it.

But it sounds like the second point in the function might be a sustain point. If you apple+click(mac) / control+click(windows) it will create a sustain point, which stops the list of values.

Try un-checking the Allows Changing Sustain by Clicking in the inspector.



mrb
July 27, 2009 | 5:54 pm

None of the points are sustained. Whats the best way to post a patch?




mrb
July 27, 2009 | 6:08 pm

– Pasted Max Patch, click to expand. –

NB: the patch itself is not my own, I’ve just added the function element to try and automate the pitch!!


July 27, 2009 | 6:46 pm

the line output of [function] is formatted for [line~], not [line]. [line] only accepts lists of up to three items – start value, destination value and ramp time. try this as a workaround..

– Pasted Max Patch, click to expand. –


mrb
July 27, 2009 | 7:33 pm

thanks for this



mrb
July 30, 2009 | 9:44 am

Thanks


July 4, 2013 | 9:50 pm

Thank you goodparleyandorfing, it is a nice method!


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