scaffolding with [print ]


    Jul 17 2009 | 10:44 am
    [print ] is still kind of 1994 and unless i am wrong, which happens a lot, max5 doesn't seem to have any sexy new [groovyprintwithmanymoreoptions ] object. Is there no clear, easy way to combine a bunch of scaffolding into on line (per bang)... without having to pack it into a list, then label the list with fake non changing elements and then redo the whole thing each time you add something you wanna peak at?
    like [pack 0 foo: 0 foo2: 1.0 foo3: abc ] | [print ]
    I find this hard to update (counting the inlets and trying to remember which ones to use and which to ignore). I want my max window to just print all my junk one line per bang like
    event: 1, pitch: 189.176Hz, filterbank: 1, yo_mamma: yeah, etc: 1 etc: 0 event: 2, pitch: 181.011Hz, filterbank: 2, yo_mamma: no, etc: 1 etc: 1
    whatever.. you get the idea... like iffin you was pumping out a note list in perl/python/c/whatever...
    for debugging & etc. Is even a kludgey python-esque [print, ] to suppress the line feed?
    How do folks scaffold in max.. i am asking too much of poor old [print ]?
    cheers,
    -kp--
    Ps. Anyone else have a lot of agony these days searching the forum? or is it just me (mac OS 10.5.7)? Searches are pretty slow in Firefox and on Safari (4.0.2) i get endless javascript error window popups that more or less take control of my browser...

    • Jul 17 2009 | 1:07 pm
      I agree, it would be nice to have a more user friendly print. Until then, give sprintf a try.
    • Jul 17 2009 | 1:15 pm
      Here's a javascript [print] I wrote where you give as many arguments as you want inlets and it uses these as titles in the max window. Very useful for testing a patch when you don't want to manually create lots of [print] objects and name them all seperately.
      lh
    • Jul 17 2009 | 1:22 pm
      Anthony Palomba wrote on Fri, 17 July 2009 15:07I agree, it would be nice to have a more user friendly print. Until then, give sprintf a try.
      you could also have a look to combine, which is a more friendly version of sprintf.