Help, making a flexible "function" in Max

Post your Lemur Projects.
Post Reply
soerena
Newbie
Posts: 2
Joined: 13 Mar 2012 15:14

Help, making a flexible "function" in Max

Post by soerena »

Hi


I want to be able to have the function object in the Lemur software talk with the function object in max.

I've succeeded in all the basic stuff, getting connection etc, and I've fooled around with many zl objects but now I'm pretty lost and could use some help.


It should be possible to have a changeable amount of points on the function object, and possibly an endless amount but around 100 would probably be enough (if a limit would make things much easier).

I found out that zl len can count the number of elements in my list, so now I've got how many points function should have, but it just seems to complex for me to actually make it work.


Help would be appreciated very much!
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Help, making a flexible "function" in Max

Post by Macciza »

Hi
I presume you mean the Breakpoint object in Lemur . ..
It currently has a limit of 64 points,
It outputs 2 vectors - x is a vector of horizontal points, y is a vector of vertical points
Max's 'function' breakpoint editor sends out different info - an initial value and then a vector of value and delta position

Looks like a bit of scripting will be needed to work around this but it should not be too hard
Start small and get the basic concept working before working with larger lists

Cheers
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
soerena
Newbie
Posts: 2
Joined: 13 Mar 2012 15:14

Re: Help, making a flexible "function" in Max

Post by soerena »

Hi, thanks for the reply!

Yes, I mean the breakpoint object in Lemur.

Aah, I didn't know it already had a limit itself. So obviously there's no point in trying to make it infinite, hah. I guess this makes it quite a lot easier to patch.

Yeah the breakpoint sends out an index before the values, which is really cool, but I guess I need to find a way to index the points in function as well so the points in the breakpoint match the points in function. But it seems a bit triggy figuring out how to make it flexible so that I can choose the amount of points in function.

I think you're right about starting in the small first. Perhaps starting with 4 fixed points.

If you have an ideas as how to come closer this goal of mine, I'd appreciate your input very much.

/Søren
Post Reply