On Saturday 27 May 2006 00:31, matt ingalls wrote: > i think i will add the hack i mentioned to not change the API, and > will make invalue/outvalue have optional input/output as strings. I noticed the changes are already made. However, for outvalue, would it be a good idea if instead of using a "magic number" and appending the value after ::, the channel name would begin with '$' (like in the case of invalue) and the string value would be copied after the NUL character that terminates the channel name ? Here is an example callback function: void outputValueCallback(CSOUND *csound, const char *channelName, MYFLT value) { if (channelName[0] == '$') { const char *stringValue; channelName++; stringValue = &(channelName[strlen(channelName) + 1]); ... } ... } _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net