Assignment 5: Max/MSP MIDI patching

We begin our Max/MSP work by focusing on its MIDI input and output capabilities.

If you don’t own Max, you can use it in room M373 in the Music Library (3rd-floor classroom). The room is available whenever the library is open and there is no class meeting. You can find a schedule of classes here. Look for “Music Library 373.”

  1. Do the Max Quickstart tutorials. The tutorial files are working Max patches. Sometimes they invite you to add to them — make connections, solve problems, etc.

    You don’t have to turn in any modifications of the Quickstart patches, but you won’t learn the material as well if you don’t try to change them.

  2. Create one patch that roughly translates the following RTcmix score.
       rtsetparams(44100, 2)
       load("STRUM2")
       totdur = 20
       notedur = 1.0
       incr = 0.15
    
       for (start = 0; start < totdur; start += incr) {
          notenum = irand(48, 96)  // MIDI note number
          pitch = pchmidi(notenum)
          amp = irand(0, 10000)
          pan = irand(0, 1)
          STRUM2(start, notedur, amp, pitch, squish=2, dcy=1, pan)
       }

    Some considerations when translating...

  3. Create another patch that...
Please lay out both of your patches graphically so that the logic is as easy as possible to understand. You might want to make use of the Arrange > Align and Arrange > Route Patch Cords commands to align your objects and clean up your wiring.

©2009, John Gibson