text output (zl scramble, coll) preceded by the word "symbol"

c. r.'s icon

Hello,

I've stumbled over a phenomenon a couple of times already and was wondering if someone could please explain it to me: If I work with text and I want to [zl scramble] the symbols or pick words from a [coll] they sometimes show up preceded by the word "symbol". In my current patch, which you'll find attached, I want to output in a word whether I am supposed to play a "c" or "c major" or "d" and so on, and every time I get "c" or "d" it goes "symbol c", whereas if it outputs "major c" it doesn't add "symbol". Why is that? And is there any way to avoid it? Or do I just have to filter out "symbol" afterwards as I've done in my patch?
I'd be grateful for an insight!
Thanks!

Randomizer_Question.maxpat
Max Patch

Jean-Francois Charles's icon

Looks like you didn't "save coll content in the patch", so we can't see what's in your coll.
Your "major c" is certainly a list.

c. r.'s icon

Oh, sorry! How do I save it when sending anyway? Because I can see the content as I've got the file on my computer, obviously. Anyway, here's a screenshot. Can you imagine the problem?



kLSDiz's icon

As you probably noticed if there is only one word/letter (a "symbol" in Max parlance) its preceded by word "symbol". In the old days... to cut long story short: it's just because. Heritage. Simply filter out "symbol" from the symbol and pass the rest unchanged.

Max Patch
Copy patch and select New From Clipboard in Max.

Bill 2's icon

An explanation from the documentation: Messages stored in coll are sent out the 1st outlet. If the message consists of only a single symbol, it will be preceded by the word symbol when it is sent out.

c. r.'s icon

Thank you all!