You are on page 1of 1

1.7 Practice Paragraph 1.

7 - Some Max/MSPbasics

If an object has mult iple outlets, these w ill also fo llow the right-to- left rule of
precedence Construct t he patch in f igure 1.62:

38
note intensity
(velocity)

Fig. 1.62 The rule of precedence for outlets of an object

As we see, t he kslider object (represented by t he musical keyboard) has an


out let on the right in addition to the lef t out let that we used before. The right
outlet simulates intensity for the note played, and th e higher up you click on
the key, th e g reater w ill be the intensity reported (for w hich values range from
0 to 127). As above, the fir st value to be printed is that from the right outlet,
which is the velocity value.4 5

THE PANEL OBJECTAND BACKGROUND LEVELS


During your perusal of the previous section, you probab ly wonde red, when
open ing t he f iles 0 1_17_pan.maxpat and 01_ 18_pan_function.maxpat , how
the colored rectangles t hat contain the various parts of t hese patch es were
created. This rectang les were made w ith a graphical object named panel (seen
in figure 1.63), whose look you can change using the inspector.

Fig. 1.63 The panel object in t he palette

Open a new patch and create a panel object, and t hen call up the inspector
(<Command- i/Contro l-i>, or click on t he ' i' icon at the bottom of the Patcher
W indow). By selecting the Appearance tab , we can decide, among ot her
th ings, the th ickness of the bo rder (" Border Size", wh ich defau lts to 0, wh ich
is invisible), the way that colo r is painted on t he panel ("Fil ling Mode, w hich is
a choice betw een a solid color or a gradient), and th e dime nsions (" Patching
Rectang le", wh ich we know can also be changed by dragging the lower right
corner of the object). There are many other possibilities which we wi ll not
discuss here (but w hich you should certainly experiment with!) .

45 In M IDI lingo, the term velocity refers to t he velocity w ith w hich the key is pressed . For questi ons
regarding M IDI, we point you at Chapt er 9. In Section 1. 1 of Inter lude B we w ill return t o more on
the t op ic.
110

You might also like