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

Jan 18, 2009 at 4:58pm

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

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. –
#41826
Jan 18, 2009 at 5:07pm

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

#149122
Jan 18, 2009 at 5:13pm

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

#149123
Jan 18, 2009 at 6:09pm

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

– Pasted Max Patch, click to expand. –
#149124
Jan 18, 2009 at 6:21pm

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.

#149125
Jan 19, 2009 at 3:02am

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.

#149126
Jan 19, 2009 at 3:57am

beat me by a hair!

#149127

You must be logged in to reply to this topic.