XML Feeds

.

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

Emmanuel Jourdan c74-mailinglists at e--j.com
Thu Aug 2 05:34:31 MDT 2007


On 2 août 07, at 13:07, Mattijs Kneppers wrote:

> 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.

no, no… use the symout first argument of sprintf:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 74 107 138 196617 sprintf symout %ssnare.aiff;
#P newex 74 161 69 196617 buffer~ temp;
#P newex 74 141 68 196617 prepend read;
#P message 194 161 229 196617 "Machintosh HD:/Samples 01 sorted/ 
snare.aiff";
#P message 74 63 185 196617 "Machintosh HD:/Samples 01 sorted/";
#P newex 194 141 62 196617 prepend set;
#P connect 1 0 5 0;
#P connect 5 0 3 0;
#P connect 5 0 0 0;
#P connect 0 0 2 0;
#P connect 3 0 4 0;
#P window clipboard copycount 6;

ej





More information about the maxmsp mailing list