Forums > MaxMSP

Verify if buffer exists

November 12, 2013 | 2:53 pm

Hi all!

I need to know if there’s a way to check if a buffer exists before I try to use it, cause I don’t like the annoying error on the max console: "no buffer~ example".

Thanks!

ElPepe.


November 12, 2013 | 3:35 pm

I suppose you could check to see if info~ outputs anything before sending a ‘set’ message to play~ or whatever:

<code>

– Pasted Max Patch, click to expand. –

</code>


November 12, 2013 | 3:54 pm

Yeah! that will do; I just need to use a gate.

I really forgot the magic of triggers… My bad!

Thanks Ben!


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