Download and install Max/MSP from cycling74.com: www.cycling74.com/downloads
![]()
When you open Max for the first time you will need to create a student account. This will give you a 30 day trial where you can save files. After the 30 days you will not be able to save.
Without a free trial you will have to pay for a subscription to be able to save files from Max. Your subscription can be for the 1 month you need to use it or can be yearly. We recommend you pay for it for the month you will be using it.
This means that instead of using code (i.e. JavaScript) you can program by connecting boxes of code and connecting them with cables.
You can use it to create interactive installations, human interfaces, applications, real-time video graphics and much more. With these interactions you can manipulate video, sound, data and even interact with your Arduino.
The Max patcher window has FOUR sides with pallets.
Includes:
– OBJECTS: The coding objects you will program with.
– RESOURCES: A library of audio tracks and video files that you can use to practice.
– CONSOLE: Where Max can post error messages or your own messages.
– MODE: Here you lock/unlock the patcher. If its locked you cannot change your code but you can interact with the patch.
The following video will cover what you are expected to do in this lesson. You can also follow these step-by-step instructions.
double-click on the empty space in the patcher. A drakgray box should appear.
Inside the box type in : jit.playlist
Once you click out of the window the box should change shape.
Now open the HELP File for this object by right-clicking on the new object and select Open jit.playlist Help
This now opens the jit.playlist Help file which works just like a normal Patcher window. That means you can unlock the patcher window and change things around. NOTE : Be careful saving the Patcher window, saving the patcher window means your changes are permanent.
Unlock this Patcher from the bottom-left corner.
Select the chunk of code and copy it, then paste it to your new patcher.
Lock your Patcher (from bottom-left or cmd-e). Now, where the Zero is you can change that number by clicking and sliding up/down or clicking and moving arrows up/down. This is called a number box. Do you see what happens to the video? Take time to experiment with this small code.
key
Right-click on the Key object and select Open key Help
Now you can read what this object does. You will now look at the chunk of code on the right side under the number 2 bubble. If you havent already noticed, by joining the key object with the select object the ‘space bar’ will activate a message.
Unlock the key Help patcher and copy the chunk of code labled under number 2 and paste it into your own patcher.
Next, we will connect a cable from the key to the toggle BUT(!) we will do it from the output of the select 32 object.
If you click-and-hold underneath the select 32 object you can drag a cable to the top of the toggle box.
NOTE: The key object reads which keyboard key you are pressing, 32 is your space-bar. So when you press your space-bar, the key object sends a 32 through the cable.
Last, you connect the output of toggle to the top of the number box on the playlist code.
Once this is done, try what happens when you press the space bar.
. Understand the key and jit.playlist Help files.
. Duplicate the key part of the code, change the 32 to another number (that relates to your keyboard) and make it control something else in the playlist patcher.
. Experiment with other possibilities
. Bring at least 2 new key functionalities to the lesson.