XML Feeds

.

[maxmsp] Re: fromsymbol auto-converts string to int: real problem

Mattijs Kneppers mattijs at smadsteck.nl
Thu Aug 2 05:07:39 MDT 2007


hmmmmm, it is even worse, sprintf does fromsymbol automatically:

#P newex 74 107 51 196617 tosymbol;
#P newex 74 161 69 196617 buffer~ temp;
#P newex 74 141 68 196617 prepend read;
#P message 194 161 219 196617 "Machintosh HD:/Samples 1 sorted/snare.aiff";
#P message 74 63 185 196617 "Machintosh HD:/Samples 01 sorted/";
#P newex 74 87 102 196617 sprintf %ssnare.aiff;
#P newex 194 141 62 196617 prepend set;
#P connect 6 0 4 0;
#P connect 6 0 0 0;
#P connect 1 0 6 0;
#P connect 4 0 5 0;
#P connect 0 0 3 0;
#P connect 2 0 1 0;

So this path has become incorrect. I get an error if I try to read it into buffer~.

Since sprintf is the regular way to concatenate two strings this probably means I need to look for a greasy workaround with atoi and itoa.


-not- amused ...


Mattijs




--
SmadSteck - http://www.smadsteck.nl
Hard- and software for interactive audiovisual sampling


More information about the maxmsp mailing list