Forums > MaxMSP

confused over ramping values..

June 11, 2012 | 10:01 am

hi,

I have put these values in the message box;

0, 6 10000 -6 10000

however, the patch only runs the first set of values (0,6 10000) and then stops, how can i get the patch to run the next set of values too please?

– Pasted Max Patch, click to expand. –

June 11, 2012 | 10:53 am

Maybe put a delay between the messages. It’s odd that Delay needs the bang GUI rather than just taking the message in an getting the bang from it. Seems to need the bang GUI on the input and the output – probably I am doing it wrong.

– Pasted Max Patch, click to expand. –

June 11, 2012 | 11:03 am

Alternately use [dbtoa~] and [line~] instead of their Max counterparts.

– Pasted Max Patch, click to expand. –

June 11, 2012 | 2:34 pm

[line] only understands lists of up to 2 values. It’s a common mistake to assume that [line~] and [line] have the same semantics, but they don’t.

The multiple-pairs-in-one-list was a new idea when line~ was introduced with MSP. The behavior was never grafted onto the older Max [line] object.

It is, however, possible to write an abstraction around [line] and some list-processing objects and a delay to do what you want. Examples have been posted to the forum, but you’ll have to look around. Offhand, I’d suggest looking at Stefan Tiedje’s St.ools or Karlheinz Essl’s library.

Grizzle’s suggestion may be an alternative, but Max and MSP timing may, in certain situations, not play nice with each other.


June 11, 2012 | 2:48 pm

grizzle’s second suggestion works well! thanks.


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