[thresh] for symbols?

xh9o's icon

Just can´t get a dump of collected symbols (filenames) into a list (for a file-select tab). Any workaround?

tegid o's icon

Came across [zl group] the other day, which performs a similar function. Might this help?

Chris Muir's icon

post your patch

xh9o's icon

The patch looks bit weird, but I can´t strip it further to the question right now.

Basically it takes a symbol/string and adds it to the [coll] (which I chose for easier insert/delete actions later). On the left there is some initialization and the gate is for that case when the list is empty.

The [thresh]-behaviour is required for the tab-message that is send to the [tab], which means after [route symbol].

EDIT:

I added a missing dump-msg to the right [trigger], as well as some monitoring. [zl group] doesn´t work but maybe it is set up wrong here.

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

`

xh9o's icon

AH

Got it, [zl group] just requires a bang after the dumping.

THANKS! I love this place.

Roman Thilenius's icon

note: use thresh only for realtime applications.

xh9o's icon

Why? And what´s a non-realtime max-application?