Forums > MaxMSP

Simple abstraction argument question…

August 8, 2011 | 5:25 am

Hi,
I know how to use arguments in abstractions with #1, #2, etc. But If I want to send these arguments into, say an int box, I’m having trouble actually getting them in there. I can have them appear in a msg box, but how do I actually output them? Attached abstraction to try and illustrate.

Thanks!
Brian

Attachments:
  1. arguments.maxpat

August 8, 2011 | 6:07 am

The patcherargs object makes might be a useful alternative.

– Pasted Max Patch, click to expand. –

August 8, 2011 | 6:07 am

The patcherargs object makes might be a useful alternative.

– Pasted Max Patch, click to expand. –

August 8, 2011 | 6:27 am

patcherargs is what I use most of the time, as it can provide a default argument when none are provided. That said, here’s another brute force way:

– Pasted Max Patch, click to expand. –

August 8, 2011 | 6:27 am

patcherargs is what I use most of the time, as it can provide a default argument when none are provided. That said, here’s another brute force way:

– Pasted Max Patch, click to expand. –

August 9, 2011 | 6:46 am

Great, thanks guys– Both useful suggestions!


August 9, 2011 | 6:46 am

Great, thanks guys– Both useful suggestions!


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