Forums > MaxMSP

[thresh] for symbols?

July 30, 2011 | 10:06 am

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


July 30, 2011 | 10:33 am

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


July 30, 2011 | 10:42 am

post your patch


July 30, 2011 | 11:24 am

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.

– Pasted Max Patch, click to expand. –

`


July 30, 2011 | 11:42 am

AH

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

THANKS! I love this place.


July 30, 2011 | 4:42 pm

note: use thresh only for realtime applications.


July 30, 2011 | 5:21 pm

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


Viewing 7 posts - 1 through 7 (of 7 total)