Forums > MaxMSP

Break point function and line object!

February 20, 2006 | 5:50 am

yo, so i have my break point function connected to my line object but only one line segment outputs from the line object. i have tried everything i know. can anyone help me?

I need to have envilopes.

i have attached my patch.


February 20, 2006 | 8:24 am


February 20, 2006 | 8:49 am

Use line~ with snapshot~ if you can’t stay in the
signal domain – just use line~ if you can,
cheers
Roger


February 20, 2006 | 7:59 pm

I am just using max.


February 20, 2006 | 9:07 pm

Rob wrote:
> yo, so i have my break point function connected to my line object but
> only one line segment outputs from the line object. i have tried
> everything i know. can anyone help me?

save the patch as lines.pat and use it instead of line. It will act like
line~ and accept also lists. (its part of my abhaXions…)

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 213 152 29 196617 gate;
#P newex 213 86 29 196617 == 2;
#P newex 99 266 29 196617 sel 1;
#P newex 99 243 29 196617 == 1;
#P newex 130 86 31 196617 > 2;
#P newex 130 152 40 196617 gate;
#P newex 130 64 31 196617 zl len;
#P newex 130 173 51 196617 zl reg;
#P newex 13 42 178 196617 t l 3;
#P outlet 181 297 15 0;
#P newex 181 266 33 196617 gate;
#P newex 181 243 26 196617 < = 2;
#P inlet 159 22 15 0;
#P inlet 86 22 15 0;
#P newex 130 195 85 196617 t l l b;
#P newex 130 266 47 196617 gate;
#P newex 130 243 32 196617 > 2;
#P newex 130 217 32 196617 zl len;
#P newex 13 106 168 196617 zl slice 2;
#P newex 13 128 157 196617 line $1;
#P outlet 13 296 15 0;
#P inlet 13 22 15 0;
#P window linecount 5;
#P comment 25 160 100 196617 this can replace the line object and will
do it like line~ with as many point time pairs as you want.;
#P connect 3 1 17 1;
#P fasten 3 1 22 1 165 149 237 149;
#P connect 21 0 22 0;
#P connect 16 0 18 0;
#P fasten 16 0 21 0 135 83 218 83;
#P connect 8 2 12 1;
#P connect 12 0 13 0;
#P fasten 20 0 13 0 104 293 186 293;
#P fasten 22 0 13 0 218 293 186 293;
#P connect 11 0 12 0;
#P fasten 14 1 6 0 186 239 135 239;
#P connect 14 1 11 0;
#P fasten 5 0 19 0 135 239 104 239;
#P connect 5 0 6 0;
#P fasten 5 0 11 0 135 239 186 239;
#P connect 4 1 15 1;
#P connect 8 1 7 1;
#P connect 10 0 3 2;
#P connect 6 0 7 0;
#P connect 8 0 5 0;
#P connect 15 0 8 0;
#P connect 17 0 15 0;
#P connect 18 0 17 0;
#P connect 14 0 4 0;
#P fasten 14 0 16 0 18 61 135 61;
#P connect 19 0 20 0;
#P connect 9 0 3 1;
#P connect 3 0 2 0;
#P connect 4 0 3 0;
#P fasten 7 0 4 0 135 289 8 289 8 102 18 102;
#P connect 1 0 14 0;
#P window clipboard copycount 23;

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-49 77 51 72


February 20, 2006 | 10:33 pm


February 20, 2006 | 10:40 pm

Thanks! this patch fixed my problem.


February 21, 2006 | 9:11 am

Nice, but it’s missing an abstraction by the name of
PM.SafeLoad,
cheers
Roger


February 21, 2006 | 4:09 pm

On Feb 21, 2006, at 4:11 AM, ROGER CARRUTHERS wrote:

> Nice, but it’s missing an abstraction by the name of
> PM.SafeLoad,
> cheers
> Roger
>

Pesky dependencies… Here is PM.SafeLoad.

Peter McCulloch

max v2;
#N vpatcher 50 119 453 408;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 152 168 171 196617 Right outlet bang if default condition;
#P comment 152 194 105 196617 Added March 8 , 2005;
#P newex 100 91 21 196617 t 2;
#P newex 72 92 21 196617 t 1;
#P outlet 81 187 15 0;
#P newex 81 154 20 196617 t b;
#P window setfont "Sans Serif" 18.;
#P comment 153 60 148 196626 PM.SafeLoad;
#N comlet Safely loaded argument;
#P outlet 42 188 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 17 125 35 196617 gate 2;
#P newex 72 69 38 196617 sel $2;
#P newex 42 39 65 196617 loadmess $1;
#P window linecount 3;
#P comment 151 110 214 196617 Passes $1 ONLY if it does not match $2.
(since $2 will default to zero if not defined , this is a simple way
to prevent loading 0′s);
#P connect 8 0 3 0;
#P connect 9 0 3 0;
#P connect 1 0 3 1;
#P connect 3 1 4 0;
#P connect 1 0 2 0;
#P connect 2 0 8 0;
#P connect 3 0 6 0;
#P connect 6 0 7 0;
#P connect 2 1 9 0;
#P pop;


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