Forums > MaxMSP

function editor

June 22, 2007 | 2:27 am

hi,
I’m trying to make a function editor work connected to a line but it’s pissing me off because the line always seems to stop at the first point instead of finishing the line like to the end.
What am I doing wrong?

Many thanks

J

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 635 90 79 196617 setrange 0 400;
#P number 675 114 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 604 142 70 196617 setdomain $1;
#P message 571 157 33 196617 clear;
#P message 675 139 70 196617 setdomain $1;
#P button 606 74 15 0;
#P flonum 645 267 82 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user function 606 173 734 227 1 1 0 0;
#X frgb 82 82 82;
#X brgb 204 204 204;
#X rgb2 85 85 85;
#X rgb3 255 255 255;
#X rgb4 0 0 0;
#X rgb5 0 0 0;
#X add 0. 400. 0;
#X add 2751.517334 400. 0;
#X add 3432. 0. 0;
#X domain 3432.;
#X range 0. 400.;
#X done;
#P newex 645 240 144 196617 line 1 1;
#P connect 8 0 1 0;
#P connect 4 0 1 0;
#P connect 5 0 1 0;
#P connect 3 0 1 0;
#P connect 1 1 0 0;
#P connect 0 0 2 0;
#P connect 7 0 4 0;
#P window clipboard copycount 9;


June 22, 2007 | 3:24 am

The second output is intended for line~ which takes multi-segment shapes.
You want "lines." Look on http://www.maxobjects.com.

On 6/21/07 10:27 PM, "jeroen900" wrote:

>
> hi,
> I’m trying to make a function editor work connected to a line but it’s pissing
> me off because the line always seems to stop at the first point instead of
> finishing the line like to the end.
> What am I doing wrong?
>
> Many thanks
>
> J
>
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P message 635 90 79 196617 setrange 0 400;
> #P number 675 114 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P message 604 142 70 196617 setdomain $1;
> #P message 571 157 33 196617 clear;
> #P message 675 139 70 196617 setdomain $1;
> #P button 606 74 15 0;
> #P flonum 645 267 82 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P user function 606 173 734 227 1 1 0 0;
> #X frgb 82 82 82;
> #X brgb 204 204 204;
> #X rgb2 85 85 85;
> #X rgb3 255 255 255;
> #X rgb4 0 0 0;
> #X rgb5 0 0 0;
> #X add 0. 400. 0;
> #X add 2751.517334 400. 0;
> #X add 3432. 0. 0;
> #X domain 3432.;
> #X range 0. 400.;
> #X done;
> #P newex 645 240 144 196617 line 1 1;
> #P connect 8 0 1 0;
> #P connect 4 0 1 0;
> #P connect 5 0 1 0;
> #P connect 3 0 1 0;
> #P connect 1 1 0 0;
> #P connect 0 0 2 0;
> #P connect 7 0 4 0;
> #P window clipboard copycount 9;
>

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson


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