11.07.2015 Views

Getting Started - Peabody Computer Music

Getting Started - Peabody Computer Music

Getting Started - Peabody Computer Music

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

OverviewThe Max ApplicationAs with arguments, you can type attributes into an object box along with the object's name,or you can set (and retrieve) attributes using Max messages after the object is created. Typedinattributes are set in object boxes by using the @ symbol followed by the name of theattribute and one or more arguments (which could be any kind of Max data: ints, floats,symbols, or lists). You can enter as many attributes as the object recognizes, in any order,after the object's name.You can type in attributes, or set them using Max messagesNote that there is no space between the @ sign and the name of the typed-in attribute youwant to set. The @ character tells the object to interpret the word attached to it as an attributename instead of an argument value for a previous attribute. Objects can have both typed-inattributes and typed-in arguments—but the arguments must be listed first.An additional (and very useful) feature of attributes is that you can ask an object withattributes to tell you about the attributes it knows about, and what values it currently hasstored for any given attribute.15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!