Forums > MaxMSP

Why is [function] + [line] not working?

January 18, 2009 | 4:58 pm

Hi – this is strange. This is a patch I just whipped up to test out tempo phasing using [function] to determine the direction of the phasing. it’s a simple and straight forward patch – what’s getting me is that function’s connection to line doesn’t seem to be acting according to how it should. When I shift the points around, it might change line’s value, but line doesn’t go through all the points each time a bang is sent to function. What am I missing here?

– Pasted Max Patch, click to expand. –

January 18, 2009 | 5:07 pm

The [line] object can only take a list of 2 items. It’s [line~] that can accept longer lists of destination/time pairs. I think that might be your issue here.

lh


January 18, 2009 | 5:13 pm

On 18 janv. 09, at 17:58, Kyle Kaplan wrote:

> Hi – this is strange. This is a patch I just whipped up to test out
> tempo phasing using [function] to determine the direction of the
> phasing. it’s a simple and straight forward patch – what’s getting
> me is that function’s connection to line doesn’t seem to be acting
> according to how it should. When I shift the points around, it might
> change line’s value, but line doesn’t go through all the points each
> time a bang is sent to function. What am I missing here?

the line object is not multisegment. You might want to use either
line~ + snapshot~ or some abstraction which turn line into a
multisegement bpf like my ej.line.

Cheers,
ej


January 18, 2009 | 6:09 pm

Or, you can do it without externals. Just drive your [function] with a [line] instead of vice-versa:

– Pasted Max Patch, click to expand. –

January 18, 2009 | 6:21 pm

You can also run line into the first input of function to get similar results-

– Pasted Max Patch, click to expand. –

I have the domain of the function set to 1. to keep it simple.


January 19, 2009 | 3:02 am

Quote: Brennon Bortz wrote on Sun, 18 January 2009 13:09
—————————————————-
> Or, you can do it without externals. Just drive your [function] with a [line] instead of vice-versa:
>
>

– Pasted Max Patch, click to expand. –

>
—————————————————-

how clever! thanks for that brennon.


January 19, 2009 | 3:57 am

beat me by a hair!


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