File Browser Drag and Drop
Once you find files in the file browser, you can quickly incorporate them into patchers by dragging them. Files can be dragged into patchers as well as onto objects. Below are some common tasks you can accomplish with drag and drop.
Creating objects from the file browser
-
Click on an object file in the file browser and
drag into any empty space in an unlocked patcher window. You’ll see a translucent
copy of the row from the file browser appear in the window when
you drag the file into it.
When you release your mouse, a instance of the object will appear in the patcher.
Creating media players for files in the file browser
-
Click on a media file an image file, an audio file, or a movie file in
the File Browser browser display area and drag into any white space
in an unlocked Patcher Window. You’ll see a translucent copy of the
row from the File Browser appear in the unlocked patcher window when
you drag your cursor into it.
When you release your mouse, an object will be created that can play the selected file. An audio file will create a playlist~ object, an image file will create an fpic object, and a movie file will create a jit.playlist object.
Holding down the Option key (Macintosh) or Alt key (Windows) while dragging will show a pop-up menu. Although the contents of the menu will vary depending on what type of media file you choose, you are basically presented with the choice of instantiating a Max object that loads the media file, or creating a message box with the necessary message to load the file into another object.
Loading movies from the file browser
-
Click on a movie file in the file browser and drag onto any
jit.movie object in a patcher window. You’ll see a
translucent copy of the row from the File Browser appear in
the unlocked patcher window when you drag your cursor into it.
When you release your mouse, the movie will be read into the jit.movie just as if you had used the message.
Loading audio files into MSP objects from the file browser
-
Click on an audio file in the file browser and drag onto any
buffer~, playlist~, waveform~, or
sfplay~ object in a locked or unlocked Patcher Window.
You’ll see a translucent copy of the row from the File Browser
appear in the unlocked patcher window when you drag your
cursor into it.
When you release the mouse button, the audio file will be read into the object as if you had used a message to load it.
Holding down the option key (Mac) or control key (Windows) while dragging will show a pop-up menu. You can choose to create a message box with the necessary message to load the file, or to instantiate a playlist~, buffer~ or sfplay~ object that loads the media file.
Loading image files from the file browser
-
Click on an image file in the file browser and drag onto any
fpic or jit.movie object in a Patcher Window. You’ll
see a translucent copy of the row from the File Browser
appear in the unlocked patcher window when you drag your cursor into it.
When you release the mouse button, the image file will be read into a the fpic or jit.movie object as if you had used the read message.