confused over ramping values..

Jun 11, 2012 at 10:01am

confused over ramping values..

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. –
#46669
Jun 11, 2012 at 10:53am

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. –
#167913
Jun 11, 2012 at 11:03am

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

– Pasted Max Patch, click to expand. –
#167914
Jun 11, 2012 at 2:34pm

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

#167915
Jun 11, 2012 at 2:48pm

grizzle’s second suggestion works well! thanks.

#167916

You must be logged in to reply to this topic.