XML Feeds

.

[maxmsp] line object help

Chris Muir cbm at well.com
Sat Dec 1 11:41:14 MST 2007


At 10:59 AM -0700 12/1/07, John Tamm-Buckle wrote:
>Hello!  I'm having some trouble getting the line object to work.  What am I doing wrong here?  Why am I getting the same readout from the counter and after the line object?

There were a couple of reasons. One was that line wasn't set up to do floating point output, the other was you weren't packing quite the right things to line. Try this:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 109 284 105 196617 floating point args ->;
#P message 291 82 26 196617 500;
#P newex 218 220 30 196617 t f b;
#P newex 238 240 63 196617 f;
#P flonum 218 328 52 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 218 260 30 196617 pack;
#P flonum 291 101 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 218 282 56 196617 line 1. 0.01;
#P toggle 218 83 15 0;
#P flonum 218 196 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 291 39 15 0;
#P newex 291 62 48 196617 loadbang;
#N counter 1 16;
#X flags 0 0;
#P newobj 218 170 68 196617 counter 1 16;
#P newex 218 128 58 196617 metro 500;
#P comment 78 263 136 196617 pack destination and time ->;
#P connect 8 0 1 1;
#P connect 8 0 11 1;
#P connect 1 0 2 0;
#P connect 2 0 5 0;
#P connect 3 0 13 0;
#P connect 7 0 10 0;
#P connect 9 0 7 0;
#P connect 4 0 3 0;
#P connect 13 0 8 0;
#P connect 5 0 12 0;
#P connect 12 0 9 0;
#P connect 12 1 11 0;
#P connect 11 0 9 1;
#P connect 6 0 1 0;
#P window clipboard copycount 15;


-- 
Chris Muir           | "There are many futures and only one status quo.
cbm at well.com         |  This is why conservatives mostly agree,
http://www.xfade.com |  and radicals always argue." - Brian Eno


More information about the maxmsp mailing list