Forums > MaxMSP

How do I clear the contents of a value object?


Lee
February 26, 2013 | 5:56 am

Hi, I’ve tried sending it an empty message but still retains it’s previous value and it doesn’t take a clear message.

thx Lee


February 26, 2013 | 6:59 am

this is the only way I know how to do it, via patcher scripting:
(stupid, I know)

– Pasted Max Patch, click to expand. –

February 26, 2013 | 8:20 am

i use placeholders such as "777", "zzzzzzzzzz" or the smallest possible negative number to initialize such objects and then filter that placeholder out using [route].
-110


February 26, 2013 | 9:56 am

Here my workaround.
Best

– Pasted Max Patch, click to expand. –

February 26, 2013 | 10:22 am

@nicolas your (elegant) solution works in v 6.0.x too

btw my idea probably wouldn’t work once the patcher is saved



Lee
February 26, 2013 | 1:09 pm

thx for the replies guys, will check em out later :)


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