Luigi Rensinghoff wrote:
hello, 'addcomma' adds a comma in message box
a shame its not documented anywhere....are there more hidden trix
like that ?
? it is perfectly documented in the help-patch for message boxes...
however, it will not help rich in his problems, since the comma ha a special meaning in pd (it separates 2 messages). so [amixer -c 1 cset numid=5 26,2,32768( will be interpreted as 3 messages [amixer -c 1 cset numid=5 26(, [2( and [32768(, which is most likely not what he wants. what is needed is one symbol which holds commas.
this can be achieved in several ways, the most "simple" is probably using zexy's [list2symbol] with a delimiter "," which can be generated with [makefilename %c] and a value 44.
like:
[26 2 32768( | [t list bang] | | | [44( | | | [makefilename %c] | | [list2symbol] |
you can acchieve the same with pure pd as well, but it gets more complicated (and you might want pd>=0.40 for better list handling)
mfga.sdr IOhannes