Forums > MaxMSP

feature request :: quotes in the max window…

April 17, 2006 | 2:04 pm

just something small, but say I parse a symbol such as "-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1" to print, itll show up as….

print : -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1

giving the impression that its a list instead. Although I generally have a good idea of whats going into print anyways and don’t necessarily rely on this being accurate, if I were to iterate a whole stream of list-like symbols [symbols with spaces] to the max window at once, it’d make things easier then having to use zl mth or what not with a huge list to make sure the symbols are being parsed correctly and not in list form. Or, is there something I’m missing about the max window and quotes?

_james


April 17, 2006 | 3:24 pm

yes, but it is a very small thing:

print: -1 -1 -1 -1 -1
print: -1 -1 -1 -1 -1

there is a space in front of the the symbol version.

i also wish you could tell symbols more clearly
from numbers in the console but thats just not
like consoles work.

-110 :)


April 17, 2006 | 3:25 pm


April 17, 2006 | 5:02 pm

yes, but thats to say the first element going to print is a list. if you have a list with space seperated symbols, it becomes complicated. say i had a 4 element list and each element was like "1 60 120" or so, that passed to print would be

1 60 120 1 60 120 1 60 120 1 60 120

obvoiusly, unless you know where to cut the list and such its impossbile to decipher that list is actually of a length 4 rather than 12 by reading the max window.


April 17, 2006 | 5:22 pm

for what its worth, this issue ate like 3 hours of my life as a
newbie. I think I posted about it so others wouldn’t do the same.
-matt
. . . . . . . . . . . .
http://www.EstateSound.com
http://ideasforstuff.blogspot.com
. . . . . . . . . . . .


April 17, 2006 | 5:37 pm

Roman Thilenius wrote:
>
>> print: -1 -1 -1 -1 -1
>> print: -1 -1 -1 -1 -1
>

You might be interested in Matt Wright’s "printit" object.

For [-1 -1 -1 -1 -1]–[printit]:

printit: received LIST with 5 argument(s):
LONG -1
LONG -1
LONG -1
LONG -1
LONG -1


April 17, 2006 | 9:12 pm

yes, that is probably what I want, damn shame I’m on wMAX. BLEH! hey, wheres f.e. to save the day by compiling this external for us C weaklings?? ;)


April 18, 2006 | 2:39 pm

I second your request, can’t be too difficult and wouldn’t break
anything existing. I’d also like to reroute information send to the Max
window into a patch, [error] is only routing error messages, I want all!
And I want to be able to filter the output with an object as well…

An as we are at it, it would be nice if there would be a way to localise
an object which sends an error message. That would be very cool and
would put Max finally into the same leage as "real" programming
languages… (debugging)

bine~ wrote:
> just something small, but say I parse a symbol such as "-1 -1 -1 -1
> -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1" to print, itll show up as….
>
> print : -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1

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

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

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

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

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09



f.e
April 19, 2006 | 4:48 pm

If the source is available, my pleasure…

f.e

f.e chanfrault | aka | personal computer music
> >>>>>> http://www.personal-computer-music.com
> >>>>>> objects for max/msp | C, java & python


April 19, 2006 | 10:41 pm

Ill get that source no matter what! i’ll be in touch.

_j


April 22, 2006 | 8:27 pm

Sorry, we’re behind in moving our externals to windows. I’ll get right on it.

mzed


June 21, 2009 | 6:37 pm

Well, this topic dates from 2006, but I don’t seem to find it solved yet now ????

… so you can add me to the list of people who would like to be able to differentiate between the symbol "12" and the number 12 when it’s printed in the max window …


June 21, 2009 | 7:17 pm

As was stated in the thread previously you should get hold of the [printit] object, have a look here for it, I find it really useful. I’ve written a javascript that has a similar functionality although it’s a bit of a mess at the moment. I’ll post it if you’d like to see.

lh


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