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

ComfortableInClouds's icon

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?

Max Patch
Copy patch and select New From Clipboard in Max.

Luke Hall's icon

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

Emmanuel Jourdan's icon

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

Brennon Bortz's icon

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

Max Patch
Copy patch and select New From Clipboard in Max.

Exit Only's icon

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

Max Patch
Copy patch and select New From Clipboard in Max.

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

ComfortableInClouds's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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:
>
>
>
----------------------------------------------------

how clever! thanks for that brennon.

Exit Only's icon

beat me by a hair!