Вы находитесь на странице: 1из 69

Max 4.5.

Getting Started

Max 4.5.6 Getting Started

:
.............................................................................................................................4
.......................................................................................................................4
Max/MSP ......................................................................................4
Max/MSP.........................................................................................5
............................................................................................................6
..............................................................................................................6
.......................................................................................................6
Max ..............................................................................................7
: MIDI...........................................................................................8
, .............................................................8
MIDI- ..........................................................................................8
MIDI Setup.....................................................................................................................8
..........................................................................................................................................10
...................................................................................................................................10
..................................................................10
.....................................................12
................................................................................................................................13
(Messages) ............................................................................................................14
(Attributes) ..............................................................................................................15
.........................................................................................................................................17
...............................................................................................17
..........................................................................................................................................19
Max window ....................................................................................................................20
Patcher .............................................................................................................................20
New Object List...............................................................................................................22
Text..................................................................................................................................23
Table ................................................................................................................................23
Timeline...........................................................................................................................23
Max .......................................................................................................................24
Max (Max preferences) ........................................................................26
MIDI ..........................................................................................................................................26
MIDI.......................................................................................................................27
(Help files) .....................................................................................................28
: ......................................................................................30
File .................................................................................................................................30
Edit .................................................................................................................................32
View ...............................................................................................................................34
Object .............................................................................................................................35
Font ................................................................................................................................38
Options ...........................................................................................................................38
Trace...............................................................................................................................42
Window..........................................................................................................................43
Extras .............................................................................................................................44
Patcher..........................................................................................45
: PATCHER ................................................47
Object Box.................................................................................................................................48
New Object List.........................................................................................................................48
New Object List ............................................................................................49

Max 4.5.6 Getting Started


EXTERNALS: MAX...................................................51
Max/MSP ..................................................................................................51
, ....................................................52
...................................................................................................................53
Collective................................................................................................53
..............................................................................53
...........................................................................54
.......................................................................................55
Patcher............................................................................................55
Patcher..........................................................................................55
New Object List...............................................................................................................58
Table......................................................................................58
...........................................................................................................................58
(Inspectors) ..........................................................................................................58
MIDI: .....................................................................................59
MIDI- ......................................................................................................................59
MIDI- ..........................................................................................................................59
MIDI- ...........................................................................................................59
MIDI- ......................................................................................................................60
(Control Changes) ......................................................................61
MIDI ........................................................................................................62
MIDI Setup.......................................................................................62
MIDI- ....................................................................63
.......................................................................................................63
DLS ...........................................................................................64
Macintosh.......................................................65
MIDI- ................................................................................66
: MIDI - ...........................................................................67
MIDI- Max ...............................................................................................................67
MIDI- .......................................................................................................68
port........................................................................................................................68
..................................................................................................................69

Max 4.5.6 Getting Started


Max - , ,

MIDI-
- . Max, 1988 .

Max/MSP
, MIDI-, ,
..
MIDI-, ( MSP Max
), (
Cycling74 Jitter )
. Cycling74 Pluggo,
VST- -.
.
Max/MSP , Java JavaScript,
,
. , ,
, .


Max 1986 IRCAM (Institut de Recherche et De
Coordination Acoustique/Musique), ,
.
Max , 1991 ,
Opcode Systems, Max (Miller Puckette). , Cycling74,
Max 2000 . Max
(MSP) (Jitter).

Max/MSP

Max/MSP/Jitter . ,
, ,
. MSP, , ,
.
, Max/MSP, : Autechre,
Gescom, Apparat, Monolake, Oval, Kit Clayton ..
, Max/MSP/Jitter
.
,
, , . ,
,
Max/MSP/Jitter , .

Max 4.5.6 Getting Started



,
, .
,
,
, . . , Max/MSP/Jitter
,
.

Max/MSP
Max
.
, ,
, .
. Max
:
.
Max MIDI-
Max MIDI-.
,
.., Max MIDI- ,
.
, Max/MSP, .
- , Max ,
, ,
.
Max/MSP/Jitter , Java JavaScript.
, , Max
, Java JavaScript. , -, Max
, . 4.5, Max
Java JavaScript.

Max 4.5.6 Getting Started


www.cycling74.com 30- Max/MSP
- ,
. ,
Authorize, Max/MSP, Use iLok Smart Key
Next. , :
(Challenge),
(Response). Save Challenge.
, challenge@cycling74.com
. , ,
.


,
Max/MSP/Jitter. : MIDI-,
,
,
.
Max, :
PC: Pentium III 500 MHz, 256 Mb ,
Windows XP.
Macintosh: G4, 256 Mb ,
Mac OS X 10.2.
ASIO (PC) CoreAudio (Macintosh),
MIDI- (
Max c MIDI-).


Max (object).
, .
(messages) (, )
, , ,
.
(See Also) , Tutorials
and Topics Reference Manual.

Max 4.5.6 Getting Started

Max
, max-help,
.
Cycling74 http://www.cycling74.com
, FAQ .
Cycling74 ,
, ,
, .
Max, :
http://www.cycling74.com/community/
, , Max, e-mail
support@cycling74.com .
( .?)
,
.

Max 4.5.6 Getting Started

: MIDI
,
Read Me Before Installing
, .

MIDI-
: MIDI-
. MIDI- Max,
.
1. , MIDI- USB
.
2. MIDI Out, MIDI-(), MIDI In, MIDI, MIDI- Max.
3. MIDI Out MIDI- MIDI In
(), MIDI- Max.
4. MacOS X MIDI- CoreMIDI.
AudioMIDI Setup ,
MIDI- MIDI- MIDI-.
Windows, MIDI-, ,
( - -
) Max\MSP.

MIDI Setup
MIDI Setup File,
(Input Device) (Output Device):

MIDI Setup MIDI-


(Channel Offset) . On
MIDI- . (abbrev)
, .

Max 4.5.6 Getting Started


, MIDI- Max,
, ,
b, , Kurzweil 1000PX.
MIDI- (Channel Offset) MIDI- MIDI. : - 16, MIDI-,
Max - 17.
, MIDI. : , 17,
, 1, -16.
, Max
, MIDI- , ,
.
, MIDI- MIDI-,
. Macintosh AudioUnit DLS,
( General MIDI), SoundFont 2.
Windows Microsoft DirectMusic DLS. ,
Microsoft DirectMusic DLS SoundFont.
DLS , : DLS ,
Max MIDI.
, Auto Setup,
.
0,
MIDI- 1-16.
Auto Setup , .

Max 4.5.6 Getting Started

Max/MSP Macintosh, 2003


PC. , Max/MSP Macintosh
,
,
PC. : Macintosh
PC.

Max ,
.
,
, . . Tutorial,
Max Tutorials and Topics, . Max
, ,
. .


Max/MSP
(objects), , ,
. - .

, Max
Max 400 (MSP 200
, Jitter 150 ),
.
, Max,
. ,
( ),
( (abstraction)).
- Patcher.
.

10

Max 4.5.6 Getting Started


Patcher,
( ), ,
.

, ,
Delete (Backspace).
, :

, , .

, (patch
cord). .
,
, , ,
, .

11

Max 4.5.6 Getting Started

, .

.
object box: , :
.

, , ,
object box. , , , .
, makenote, , : + () >
( ).
, ,
. .
Objects Max Reference Manual.

(Assistance area) Patcher, .
, .

delay.
, ,
. , midiout ,
MIDI-.


(UI objects). , , , ..
, .
,
.

.

12

Max 4.5.6 Getting Started

, comment, .
comment , , ,
. ,
comment, ,
.
MSP object box,
(~) : tapin~, cycle~, *~, reson~ . . MSP
, -, ,
MSP.

MSP
,
(Externals), Encapsulation
Tutorials and Topics.

, , object box ,
, .
- .
.
- metro,
, :
.

,
( ) .
object box , Max .
, Max
. , ,
Objects Max Reference Manual.

13

Max 4.5.6 Getting Started

(Messages)
? (messages)
, .
, (list) , ( Max, (symbol))
.
(type).
:
int ( 127),
Max, int. int 127.
float ( 3.97
3. 0.97), Max, float ( floating point
number). Max ,
float. ( ) float 3.97.
list , ( 60 79 1.02 4) Max
(list). ( ) list. Max
, , . ,
, (, 1 start 768), ,
. , 256 .
bang bang , : ,
. : random bang,
.
symbol (symbol) .
- , .
, , Objects,
Max Reference Manual. , seq
MIDI. : start, stop, record, delay
print. * (),
( bang).
.
.
, ,
. Max
, . ,
, Max :
. Max
, . ,
, , Max .

14

Max 4.5.6 Getting Started

(Attributes)
4.5 , Max\MSP mxj\mxj~ pattr (pattr,
pattrstorage, pattrhub, autopattr) .
Max.
Jitter, .
, , ,
,
, , .
Max\MSP, .
, object box, ,
, .
object box, @ , ,
( : int, float,
symbol list). , ,
, .

, .
, @ . @
, , ,
.
, .
( ) ,
,
.
getattributes,
attributes ,
.

15

Max 4.5.6 Getting Started

?
getstate ,
. ,
route unpack, .

16

Max 4.5.6 Getting Started


, get
( ) ,
. (
), .


, pattr, pattstorage, pattrhub, autopattr
patcherargs, Max Reference Manual.

Max/MSP . Max
float int, , .
, 4.1 int, 4, 4.99999 4.
, MIDI-,
, , int.
, float. MIDI Max,
int. , ,
int, float.
Max int .
0x (
x), , 0xF0 ( 240 ).


, ,
. Max
. , ,
, : Max
.

17

Max 4.5.6 Getting Started


,
, - .
, , , , .
Max.

.
, .
,
.
, ,
. ,
, .
,
. , , ,
,
.
(triggered)
. ,
. ,
- ,
.

,
, .

18

Max 4.5.6 Getting Started


, , ,
,
. :
, .
, ,
, ,
. , Max
.
, 3, 4 5 ,
. +
.

Max/MSP : Patcher, Text, Table, Timeline, Max


window New Object List.
, New Object List Max window
. , env movie .
Windows, Max ,
. Macintosh
, Dock / .

Macintosh (unlock/lock) Patcher,


.

19

Max 4.5.6 Getting Started

Max window
Max, Max window. Max
.

Max, ,
Max.
,
, Max window. (trace)
, Max window, ,
.
Max window, Debugging
Tutorials and Topics.

Patcher
Max, Patcher (
Patcher, New, File) (
Open File).
Patcher (lock) (unlock).
,
, . (lock),
Patcher ,
UI- (, , .).
lock/unlock
. , (unlock).
, (lock) (unlock)
Patcher.
- Edit View, Command-E (Macintosh) Control-E
(Windows).
20

Max 4.5.6 Getting Started


- Command (Macintosh) Control (Windows)
Patcher.
- Macintosh, , .
lock/unlock.

Patcher, .
- .

, .

Patcher, , .

,
. ,
Cut, Copy Duplicate, , object box ,
, Font.
, (grow bar),
, .
,
.

Patcher .
, ,
, .
21

Max 4.5.6 Getting Started


, ,
, Save As File. ,
, .

New Object List


object box ( ) Patcher, Max
New Object List ( New Object List Options).
.
,
.

,
,
. (
, All Objects).
, ,
Return, Enter Space object box.
(help file) -
, Option (Macintosh) Alt (Windows).
New Object List object box - Delete
(Backspace) Patcher.

22

Max 4.5.6 Getting Started

Text
Patcher, Text,
, ,
. Text, Text,
New, File.

Table
Table . ,
, table,
Patcher.

Timeline
Timeline - Max ,
, , . Timeline
, ,
timeline. Timeline, Timeline
File, timeline object box.

23

Max 4.5.6 Getting Started

, Timeline Tutorials and Topics.

Max
Max , ,
, , File Preferences
( File Preferences Options),
, Max.
Max, :
- max-startup (external) ,
Max .
- external (external) .
- max-help , .
- Max Tutorial ,
Max Tutorials and Topics.
- patches , : (editors),
(inspectors),
Max MSP, (extras).
- tiActions action-, timeline.
: Max\MSP,
, .
MSP, .

24

Max 4.5.6 Getting Started


Max . :
- Patcher.
, , Max.
- , coll,
funbuff, mtr, preset, table.
- MIDI seq detonate.
- , .
- timeline action-.
, Max ,
. , File
Preferences Options.
File Preferences , .
, (external) ,
Max, max-startup.
max-help. action- timeline tiAction.
( ), Max .
File Preferences:

, ,
, Max. ,
() .
, Max , (external)
: ./externals ./patches ./examples. ,
, .

25

Max 4.5.6 Getting Started

Max (Max preferences)


Max ,
. , Max,
.
Macintosh, Max 4 Preferences Folder,
Preferences, Library () .
Windows, Max 4 Preferences Files,
, , ,
: C:\Documents and Settings\<user>\Application Data\Cycling74\Max 4 Preferences
Files\. Max , Midi Setup, Font,
File Preferences Options.
, Max window
, Patcher, Font, ,
Max window. .

MIDI
Max MIDI-,
, c Max
MIDI-.
Max (built-in) MIDI MIDI-. , MIDI, , Max.
, , MIDI- ,
MIDI-, Max.
midiin midiout (raw) MIDI,
, MIDI-.
, , MIDI-.
MIDI-,
MIDI-, Max,
. , notein note-on,
, - , velocity MIDI-.
bendin,
, . MIDI- ctlin,
MIDI-, touchin
aftertouch, pgmin , sysexin
SysEx MIDI-.

26

Max 4.5.6 Getting Started

MIDI
MIDI- MIDI-, ,
. Max ,
MIDI-.
midiparse midiin, MIDI-
.
seq MIDI-,
, midin ,
. mtr
, , .
detonate - , ,
.
MIDI-, midiformat,
MIDI-, midiout.
borax note-on, notein,
, noteon, , ,
. poly borax
, , poly (steal)
note-off, ,
. stripnote note-off ( noteon, velocity 0) notein,
note-on velocity. makenote
stripnote.
note-off, note-on, Max,
noteout, . , bag,
flush midiflush note-on, ,

note-off.
, Max 7- ( 0 127) ,
note-on, velocity 0,
note-off. Max 14-,
MIDI- note-off, release velocity,
: xbendin, xbendout, xnotein xnoteout.
MIDI- ,
. , MIDI-,
ctlin, makenote (
velocity note-off) noteout,
. , , .

27

Max 4.5.6 Getting Started

Max,
, : metro, tempo clocker, ,
, slider, dial number box. ,
Max, MIDI-, .

(Help files)
(Help files) (built-in)
(external) . :

,
, Option (Macintosh) Alt (Windows)
Patcher.
Patcher, Option (Macintosh)
Alt (Windows), Options Help from Locked Patchers.
28

Max 4.5.6 Getting Started


New Object List,
, Option (Macintosh) Alt
(Windows).
, ,
.

29

Max 4.5.6 Getting Started

:
File
New

Max. :
Patcher

Patcher.

Table

Table.

Text

Text, ,
.
, . :
table , table
, .
, table .
funbuff,
funbuff, X Y, .
, Text: coll, env,
funbuff, lib, mtr, seq, table Text

Timeline
Max.
Patcher, Table, Text Timeline (templates).
,
. ,
, .
,
templates, patches Max.
Timeline

Open

Max. Max ,
: Patcher, Table, Text Timeline.

Open Recent

,
.

Open as Text

Text.
Max .

Close

( ). ,
, Max .

Save

. Max : nuber box,


table, coll funbuff, Save with Patcher
(, pattr
). (Untitled) , Max
Save As, .
,
, Option (Macintosh) Alt (Windows),
Save. .
30

Max 4.5.6 Getting Started


Save as

, .
,
.
, Max Binary,
.
(Text) . , Save as,
.

Build
Collective /
Application


, .
Collectives, Max Tutorials and Topics.

Midi Setup

MIDI- . MIDI Setup


, Max .
Max Max Preferences,
, Max.
MIDI- ,
AudioMIDI Setup. Max MIDI Setup
( a z) MIDI-.
Auto Setup, Max
.

Page Setup

, .
, , ,
, .

Print

Patcher Text.

31

Max 4.5.6 Getting Started


Install

(external) Max. Max,


max-startup.
, Install. ,
, object
box.

Quit

Max. ,
.

Edit
Undo

Patcher Text.
Patcher, : Undo, Cut, Copy, Clear, Paste, Replace, Fix
Width, Align, Hide on Lock, Show on Lock, Bring to Front, Send to Back, Ignore
Click, Respond to Click, Include in Background, Exclude from Background,
, .

Cut

Patcher, Table Timeline, Cut


.

Copy

Patcher, Table Timeline, Copy


.

Paste

Patcher, Table Timeline, Paste


.
, Max ,
.

Clear

Patcher, Table Timeline, Clear


, . Delete
(Macintosh) Backspace (Windows), .

Duplicate

Patcher Timeline, Duplicate


. -
,
.
Patcher ,
Option (Macintosh) Alt (Windows).

Select All

Patcher, Table, Text Timeline,


, , (hidden).
Select All,
, Shift ,

Paste Picture

Patcher .
,
(ubutton). Patcher ,
Paste Picture , . Paste
Picture vpicture, , .
,
fpic.
32

Max 4.5.6 Getting Started


Paste Replace

Patcher
. ,
.

Encapsulate

, Patcher.

DeEncapsulate

, .

Find

. Find
, .
Text Patcher,
. Patcher, Find object box, message box
comment.

Find : ,
, - .
Wrap, Max Text Patcher,
, ,
.
Replace Arguments ,
, Find,
Replace With.
Replace arguments , Replace With
,
. Replace Arguments Text.
Multi, Max Patcher,
, .
Find , , Find,
.
Replace , Replace With.
Find & Replace Find
, Replace With.
33

Max 4.5.6 Getting Started


Replace All Find
Replace With.
Find Next

, Find,
.

Replace

Find.

Replace and
Find

Replace, Find,
Find, Find.

Replace All

Find, Find Replace.

Resume

Max ,
. , metro,
, ,
. Max
, . Command
(Macintosh) Control (Windows) Period (),
Max, , .
Resume, Max.
,
(Stack Overflow), ,
( ), Max
. , Resume,
Max.

View
Edit

Edit, Patcher .
Edit , Patcher (lock)
.
Command (Macintosh)
Control (Windows) Patcher. Macintosh
, .

Hide Object
Palette

,
Patcher. , Show
Object Palette, , .

Hide
Connections

Patcher. Hide Connections


,
. ,
Show Connections, ,
.

Hide
Imageburgers

, ,
(object box).
Imageburger
Object.
34

Max 4.5.6 Getting Started


.
Hide Imageburgers,
Show Imageburgers, .
Hide
Foreground

, (foreground)
Patcher. Patcher
, (background),
Include in Backround Object. ,
. ,
Show Foreground, ,
. ,
, .

Hide
Background

, Patcher.
Hide Foreground.

Lock
Background


. Lock Background, .
.

Set Origin

, Patcher ,
(
). Set Origin
Patcher ,
, .

Restore
Origins

, Set
Origin, . Restore Origins
.

Object
Fix Width

object box, comment message box,


. Auto Fix Width
Options, Max message box
, .

Align

,
,
.
.
Align :
.
, ,
.
.
, Align .
Align
.
35

Max 4.5.6 Getting Started


Get Info

, .
, , table,
( , ..),
Get Info.
,

table.
Get Info Patcher, Max
window (external),
.
Color

16 ,
.
Edit Colors Options.

Name

,
(, pattr).
, Tutorials and Topics.

Imageburger

.
, . ,
.

Hide on Lock

, Patcher
. ,
.

.
36

Max 4.5.6 Getting Started


Show on
Lock

, Patcher .
Hide on Lock.

Bring to
Front

, .
dial ubutton
( ), Bring on Front
.

Send to Back

Patcher,
.
, .

Ignore Click


, Patcher .
, Cut,
Copy Duplicate File. Ignore click,
,
.

Respond to
Click

Ignore Click,
.

Include in
Background

Remove from
Background

Save
Prototype

(Prototype) -
.
, .

Save,
Prototypes Object.
Include Data, ,
.
Prototypes

Prototypes ,
.
.
, dial, Prototypes
dial.
37

Max 4.5.6 Getting Started



Prototypes.

Font
Patcher, Text , ,
.
, ,
Font. ,

.
, Max window,
Max window,
Patcher Text, ,
Max Preferences.
9-36

.
.

(Fonts)

, , ,
. Windows, Faces.

Options
Options Max Preferences.
/Library/Preferences/Max 4 Preferences Folder/ Macintosh.
Windows, Max 4 Preferences Files,
, , ,
: C:\Documents and Settings\<user>\Application Data\Cycling74\Max 4
Preferences Files\. , Max.
Overdrive

Overdrive, Max MIDI-


, .
. ( :
Overdrive Enable, Trace, ).

All Windows
Active

, ,
. ( All Windows Active
), ()
, .
All Windows Active, ,
. , ,
Windows.

New Object
List

New Object List, Max


, object box. New Object List
, Option (Macintosh) Alt (Windows),
object box Patcher.

38

Max 4.5.6 Getting Started


Auto Fix
Width

Auto Fix Width, message box


, . box
, .
box , Fix Width Object.
Fix Width .

Segmented
Patch Cords

Segmented Patch Cords ,


,
.
Segmented Patch Cords,
. ,
, , , ,
. , ,
.

, ,
, Option (Macintosh) Alt (Windows)
. ,
Command (Macintosh) Control (Windows)
.
, ,
,
.
, Segmented Patch Cords
, Shift, .
, , Segmented Patch
Cords, Shift, .
Assistance

Assistance, Patcher

. Assistance
accum.

39

Max 4.5.6 Getting Started

,
(),
. inlet outlet , Get Info
Options. ,
. ,
, ,
.
Float Display
Correction

, ,
, . ,
2.3, 2.29999.
Float Display Correction, Max .

Max Window
at Startup

Max window Max.


Max window, Windows.

Enhanced
File Preview

( Macintosh) , QuickTime
,
.

. ,
,
.

DSP Status

MSP, Max/MSP.
Audio Input and Output,
MSP Getting Started.

Save Dialog

Save As
Max, ,
. Save Dialog Shows Location,
,
. , Save Dialog
Shows Location .

File
Preferences

File Preferences ,
. ( ),
Max .

Performance
Options

,
Max .

40

Max 4.5.6 Getting Started

Max , (external) ,
max-startup.
Help Folder .
Option (Macintosh) Alt
(Windows), Max , ,
.help.
(./), ,
, Max. ,
() .
(/), . ,
Patch1, CoolPatches, Max,
: ./CoolPatches/Patch1.
(./),
, , . ,
, Max , NewComposition,
MIDIfiles, D, :
D:/MIDIfiles/NewCompositions.
Cycling74, Max
, .
Drive:/Library/Application Support (Macintosh) :\Program Files\Common Files
(Windows). , :
1. , ( ,
)
2. , File Preferences.
3. , Max.
Colors

,
Colors Object. Colors ,
, .
41

Max 4.5.6 Getting Started

, .
, (color swatch)
RGB. ,
, RGB ,
. , , , .
Text
Selection

,
Patcher. Quicktime,
, Patcher.
Select Text on Click object box, number box
comment,
. Select Text on Click ,

( ).
.
Typing Automatically Edits Selected Box , Select
Text on Click . ,
, .
- ,
.

Trace
Enable/Disable Enable Trace (),
, .
Trace , . Enable,
Overdrive, Options,
Trace.
Trace, , ,
, ,
Max window. ,
Trace, .
Disable, Max
.
Step

, ,
.
Max window, , , .
42

Max 4.5.6 Getting Started


Continue

, (breakpoint)

Abort

Auto Step

, , ,
, :
1.
2. (breakpoint)
3. Disable, Abort, Auto Step, Trace.

Set Breakpoint

Patcher, , Set Breakpoint


. Trace,
, Continue Auto Step.

Clear
Breakpoint

Patcher , Clear Breakpoint


, ,
Set Breakpoint.

Clear All
Breakpoints

, .

Window
Close
Close All
Next
Previos
Cascade
Tile
Horizontally
Tile Vertically

( Windows) Windows
, Windows.

Hide
Subwindows

table, patcher ,
(subwindow), . Hide Subwindow
, .

Send Windows
to Back

(background),
.

Max

Max window , ,
.

Show Floating
Inspector

,

Patcher. ,
, .
43

Max 4.5.6 Getting Started


Windows.
, .
() (Macintosh) (*) (Windows) , ,
, ,
.
Window, Option (Macintosh)
Alt (Windows), ,
. ,
, , ,
.

Extras
Extras , .
, Adding
Extras. , Extras
.
Adding
Extras

, Extras.

Tips

, Patcher.
Max/MSP, Extras :

Audiotester

Meterin

Meterout

MIDItester

MIDI-.

Mousemeter

, ,
, .

Quickrecord

,
Max.

Swatches

Help

Help, Patcher,
. ,
:
- , Option (Macintosh) Alt
(Windows).
- New Object List,
Option Alt (Macintosh).

44

Max 4.5.6 Getting Started


- Patcher, Option
(Macintosh) Alt (Windows), Options Help from
Locked Patcher.

Patcher
Control (Macintosh)
(Windows) Patcher, ,
, , .
: ,
. , ,
Control (Macintosh), object box
message box , Recent Object Recent Message,
,


Edit, Object Help. ,
, bpatcher, js mxj
.
Max
Reference Manual MSP Reference Manual.


Object.


Object, ,
.
Object Palette
Patcher. .
New Object

, object box,
- . ,

: Object Palette New Object,


Patcher, ( Hide Object
Palette View). ,
.
Recent Object object box,
.
Recent
Message

, message box,
.

45

Max 4.5.6 Getting Started


Set Default
Color

Color, ,
, .

Paste From

(Clippings). Clippings ,
Clippings, Patches.
,
Patcher.
Other
Patcher.


Option Control (Macintosh),
Alt (Windows) ,
, ,
, .

, ,
( ). [int] -
, int, .
[int, int, int] - ,
int, . [variable]
- , Max
.
, .
, boxquickref.help,
.


menu
menubar
Objects
Collectives

, .
c .
.
.

46

Max 4.5.6 Getting Started

:
PATCHER
(Object Palette)
Patcher , (object palette)
. Patcher,
( ), ,
.
Patcher ,
. ,
.
. , ,
, Patcher.

, ,
, Delete (Backspace).
(prototypes)
. dial
.

47

Max 4.5.6 Getting Started


, ,
.
. ,
.

Object Box
, Option Control (Macintosh),
, Alt (Windows) ,
, .

, .
,
.
, Max.
: in1 , int ,
.
,
, .
, ,
.

New Object List


Max , object box, ,
, .
New Object List Options, Max ,
object box Patcher.

48

Max 4.5.6 Getting Started

New Object List


New Object List . -
, - .
All Objects , Max.
, : ;
,
.
, object box,
Return, Enter Space.
New Object List . , ,
, . , , object
box Enter (Macintosh) Shift Enter (Windows) ,
.
New Object List,
, Option (Macintosh) Alt (Windows),
Return, Enter Space.
, New Object List ,
, Delete (Backspace) New Object
List. object box , ,
. New Object List,
Option (Macintosh) Alt (Windows), object
box Patcher, New Object List Options.

New Object List


New Object List ,
object box. New Object List.
, , (external)
. .

49

Max 4.5.6 Getting Started


New Object List,
init, /Library/Application
Support/Cycling 74 (Macintosh) C:\Program Files\Common Files\Cycling 74 (Windows).
Max, .
, New Object List,
max-objectlist.txt ( Max)
audio-objectlist.txt ( MSP).
,
. init,
.
, New Object List, :
max oblist <category> <objectname>;
( )
, :
max oblist My Special Objects mixmaster;
, New Object List, Windows
Macintosh, system windows system macintosh,
max. ,
, ,
, Max.
max system windows oblist Secret Weapons cantileverxp.ext
New Object List, Max,
.
,
, .
, ,
object box.
,
. ,
, New Object List.
, object box. ,
, Max.

50

Max 4.5.6 Getting Started

EXTERNALS:
MAX
Max/MSP
, (built-in)
(external) . , . (built-in)
Max/MSP.
- , ,
Max, , ,
Max.
, Max:
(normal) Max, object box
(: borax, &&).
(user interface UI) Max,
Patcher
.
(external) (UI External Objects)
max-startup,
. ,
Max.
-MIDI-,
, Max (
coll, ,
).
, Keyboard Slider (kslider),
.
, Max/MSP,
, .
,
.
, ,
.
,
(Macintosh PC), Max/MSP.

51

Max 4.5.6 Getting Started

, .
, .
, Max window:

error: objectname: no such object

Patcher, object box (. .


), (
).

, ,
, object box, ,
.

,
, .
,
preset,
Max window.
Max , ,
File Preferences. , File Preferences
Options.
,
Install File, , .
,
Install, Max
, , .
, (
object box),
,
, .
52

Max 4.5.6 Getting Started


Max/MSP , ,
. Max
, object
box : !/ rdiv.
!/ object box, Max maxobjectmapping.txt, Max, ,
, . max-objectmapping.txt
.
/Library/Application Support/Cycling 74/ (Macintosh) C:\Program Files\Cycling 74\init\
(Windows).

Collective
Save As Collective File,
Collective , ,
.
, Collective,
Collective, no such object. ,
, : ,
,
pcontrol, , patcher,
Collective. Collective
Collectives Max Tutorials and Topics.


, Max
. object box
( ), object box, ,
( ).

. , MSP
MaxAudioLib ( Macintosh Max/MSP Max/MSP Runtime).
, Max window, :

error: cant fragload objectname: missing LibraryName (function name)

, ,
. :
Max ( Cycling 74 Jitter),
(
Apple Quick Time).
.

53

Max 4.5.6 Getting Started


, Max,
, .
,
.
, , ,
, . Cycling74
, , :
http://www.cycling74.com/community/
,
- ( Java,
mxj, , , ,
, Java,
- ).
: collective ,
Max, -
.
,
. Max
GPL (GNU Public License)
.
,
.

54

Max 4.5.6 Getting Started


Patcher

Help from Locked Patchers Options,


Option (Macintosh) Alt (Windows)
.

Command (Macintosh) Control (Windows)


Patcher ( ).

Option (Macintosh) Alt (Windows)


, Max window.

Option (Macintosh) Alt (Windows)


, ,
.
( , ,
),
.

Command Period () (Macintosh) Control Period (Windows),


Max, ,
Max .
, Resume, Edit,
.

Shift Command (Macintosh) Control Shift (Windows),


, loadbang
.

Patcher

Control (Macintosh)
(Windows) Patcher, .
.

Option Control (Macintosh)


Alt (Windows),
, .
.

55

Max 4.5.6 Getting Started


Option (Macintosh) Alt (Windows) object


box .

Shift object box


,

object box Shift,


.

Option
(Macintosh) Alt (Windows) .

Shift ,
( object box).

, ,
.


Option (Macintosh) Alt (Windows) ,
.

object box, ,
, ,
. .

object box, .

Command (Macintosh) Control (Windows)


, slider number box,
, Patcher .

Command (Macintosh) Control (Windows)


patcher, table coll,
, Patcher.

Command (Macintosh) Control (Windows)


Patcher.

, Option (Macintosh) Alt


(Windows) Send to Back Object
comment ,
Patcher.
Max, comment
.
56

Max 4.5.6 Getting Started

object message box, ,


Option (Macintosh) Alt (Windows), ,
, Auto Fix Width.
, Option (Macintosh) Alt (Windows)
comment Auto Fix Width, comment
.

Options Segmented Patch Cords,


, Shift,
,
.

Shift ,
, ;
, , .

Options Segmented Patch Cords,


Shift
.


, Shift
- .

Command (Macintosh) Control (Windows)


.

Option (Macintosh) Alt (Windows)



.

Option (Macintosh) Alt (Windows)


object box , Patcher New
Object List.

Delete (Backspace) ,
.

,
.

57

Max 4.5.6 Getting Started

New Object List

Option (Macintosh) Alt (Windows) object


box, New Object List.

Delete (Backspace) New Object List.

Space object box


New Object List ( ).

Return Enter New Object List


object box.

Tab .

Return, Space Enter,


Option (Macintosh) Alt (Windows),
.

send, receive value

send, receive value


.

Table

Command (Macintosh) Control (Windows)


Pencil, .
8:1 x 8:1, Command
(Macintosh) Control (Windows) 1:1 x 1:1.

Command (Macintosh) Control (Windows)


, All Windows Active,
( ).

Option (Macintosh) Alt (Windows)


, , Max window.

(Inspectors)

Cut, Copy Paste,


Command (Macintosh) Control (Windows),
.

58

Max 4.5.6 Getting Started

MIDI:
MIDI-
MIDI- (status byte),
, , ,
(data bytes). :
, . SysEx
MIDI-, ,
. SysEx MIDI -
.

MIDI-
MIDI- Max ,
MIDI-.
, MIDI-.

MIDI-
MIDI-,
midiin midiout. midiparse midiformat
MIDI-, sxformat SysEx
midiout.
MIDI- Max, .
MIDI- .
( MIDI-
(control change message)), .

59

Max 4.5.6 Getting Started

MIDI-

MIDI . 0 - MIDI 1, 15 MIDI 16.

xnotein,
Note Off
xnoteout
notein,
Note On
noteout
polyin,
Poly Pressure
polyout
ctlin,
Control Change ctlout
pgmin,
Program Change pgmout
touchin,
Aftertouch
touchout
bendin,
Pitch Bend
bendout

2
(0-127)

3
(0-127)
Hex
Release
128-143
80-8F 1000xxxx Key Number Velocity
144-159

90-9F 1001xxxx Key Number Velocity

160-175

208-223

A0-AF 1010xxxx Key Number Aftertouch


Controller
Controller
B0-BF 1011xxxx Number
Data
Program
C0-CF 1100xxxx Number
Aftertouch
D0-DF 1101xxxx Value

224-239

E0-EF 1110xxxx Bend (LSB)

176-191
192-207

Bend (MSB)


sysexin,
System Exclusive midiout
midiin,
Song Pos Ptr
midiout
midiin,
Song Select
midiout
midiin,
Tune Request
midiout
sysexin,
End of Sys Ex
midiout
rtin,
Clock
midiout
rtin,
Start
midiout
rtin,
Continue
midiout
rtin,
Stop
midiout
midiin,
Active Sensing midiout
midiin,
System Reset
midiout

240

F0

242

F2

Mfr. ID
11110000 Number
Position
11110010 (LSB)

243

F3

11110011 Song Number

246

F6

11110110

247

F7

11110111

248

F8

11111000

250

FA

11111010

251

FB

11111011

252

FC

11111100

254

FE

11111110

255

FF

11111111

Arbitrary
Position (MSB)

60

Max 4.5.6 Getting Started

(Control Changes)

Continuous Controllers (MSB)

0-31

Modulation Wheel

0-127

Breath Controller

0-127

Foot Controller

0-127

Portamento Time

0-127

Data Entry

0-127

Main Volume

0-127

Balance

0-127

Pan

10

0-127

Expression

11

0-127

Extra precision for the above (LSB)

32-63

On/Off Switch Controllers

64-95

Sustain Pedal

64

127 0

Portamento On/Off

65

127 0

Sostenuto Pedal

66

127 0

Soft Pedal

67

127 0

Other

96-121

Data Entry Yes (+1)

96

127

Data Entry No (-1)

97

127

Channel Mode Messages

122-127

Local Control On/Off

122

127 0

All Notes Off

123

Omni Mode Off

124

Omni Mode On

125

Mono On

126

0-16

Poly On

127

61

Max 4.5.6 Getting Started

MIDI
Windows, MIDI-, ,
( - )
Max\MSP.
MacOS X MIDI-, CoreMIDI.
Utilities (), Application ().
AudioMIDI Setup , MIDI-
MIDI- MIDI-.
MIDI-, MIDI (core_midi (Macintosh) midi_mme (Windows)),
MIDI-:
midi_adrewire MIDI- -
ReWire, Max ReWire.
augraph

(Macintosh) DLS-,
Macintosh.

midi_dm

(Windows) DLS-,
Windows.

Max MIDI-.

MIDI Setup
Max MIDI- (a-z),
MIDI- 16.
CoreMIDI
Max. MIDI Setup
. MIDI Setup MIDI Setup
File.

62

Max 4.5.6 Getting Started


MIDI Setup MIDI-
(abbreviations) MIDI-
.
, MIDI- MIDI-,
. Macintosh AudioUnit DLS,
( General MIDI), SoundFont 2.
Windows Microsoft DirectMusic DLS. ,
Microsoft DirectMusic DLS SoundFont.
DLS, : DLS ,
.
MIDI-,
.
MIDI- notein noteout. MIDI- (Channel Offset)
midin
midiout, . ,
32, note-on, Max,
notein 33. , 33
MIDI- noteout, int,
, MIDI- 1,
32.

MIDI-
MIDI-, ,
MIDI- , MIDI
Setup.
MIDI-, (..
),
MIDI- .
midiin - .
.
, Max
, , MIDI , .


,
Auto Setup. Max
.
a 0, b
16 . .

63

Max 4.5.6 Getting Started

DLS
Macintosh Windows XP DLS (Downloadable Soundfont)
MIDI. MIDI-,
DLS Max MIDI.
augraph (Mac OSX) midi_dm (Windows).
MIDI-
DLS . DLS
message box, ,
message box ,
message box.
, DLS :

:
;#SM createoutport <portname> <drivername>
drivername midi_dm (Windows) augraph (Macintosh), portname ,
. :
;#SM createoutport myOtherSynth midi_dm
;#SM createoutport myOtherSynth augraph

:
;#SM deleteoutport <portname> <drivername>
drivername midi_dm (Windows) augraph (Macintosh), portname ,
. :
;#SM deleteoutport myOtherSynth midi_dm
;#SM deleteoutport myOtherSynth augraph

DLS ( 1 2):
;#SM driver loadbank <filename> <portname>
filename - DLS, portname
, . Mac OSX,
Library/Audio/Sounds/Banks , DLS.

Default GM Bank:
;#SM driver loadbank 0 <portname>

64

Max 4.5.6 Getting Started


Reverb on/off:
;#SM driver reverb 1/0 <portname>
audiograph midi_dm.

MIDI Output Latency ( midi_dm):


;#SM driver latency <time> <portname>
time portname ,
. , 10 :
;#SM driver latency 10 <portname>

Macintosh
Max , MIDI , , Max
MIDI- . virtual source.
Macintosh MIDI Setup from Max/MSP 1 from Max/MSP 2.
MIDI- MIDI-
, Max.
, to Max/MSP 1 to Max/MSP 2 virtual
destination, MIDI-
.
, Macintosh MIDI Keys,
MIDI- Max. Destination to Max/MSP 1, ,
, MIDI- virtual
destination Max.

, Listen to Port, from Max/MSP 1.


Max MIDI- from Max/MSP,
MIDI Keys.

65

Max 4.5.6 Getting Started

MIDI-
, Max MIDI- .
MIDI-,
message box
createoutport createinport.
;#SM createoutport <portname> <drivername>
;#SM createinport <portname> <drivername>
portname , , drivername
( CoreMIDI). :
;#SM createoutport myvirtualport CoreMIDI
;#SM createinport myvirtualport CoreMIDI
MIDI- ,
myvirtualport.
Max/MSP, Max.

setclock

MIDI-
clock speed .

66

Max 4.5.6 Getting Started

: MIDI
MIDI- Max
Max, MIDI-
,
.

a z, ,
( ) MIDI Setup. MIDI
MIDI-.
MIDI-, notein bendout,
, ,
, MIDI-,
. ( midiout),
.

,
, , MIDI-. 1-16
a, 17-32 b . . 16
, .
, , 16,
, 1-16.

,
, .

67

Max 4.5.6 Getting Started


MIDI-.
, b 1-16, a,
17-32.

MIDI-
MIDI- : ,
( a z), MIDI-.
MIDI-.
, .

port
MIDI- , ,
MIDI-. port ,
. port ,
,
.

, midinfo.

port, MIDI- ,
. MIDI-
16 1-16,
.

68

Max 4.5.6 Getting Started


MIDI-:
Patcher. MIDI-.
All Devices by Channel,
MIDI-.


MIDI

Max MIDI

69