(maxmsp) Lecture Notes: Rhythm and Storing Notes

The example patch (day6.txt) from Friday is in iLocker.

New objects:

  • urn: unrepeating random number. Once all numbers are output, then you have to send a clear message to start over. Urn also sends a bang when it outputs all the numbers.
  • int and float: allow you store numbers with or without outputting them. In the right inlet stores without output; in left inlet stores and outputs. Bang in the left outputs stored number.
  • t (trigger) takes an incoming message and fans out the message in order from right-to-left to multiple outlets. Also can trigger other messages than one received.
  • route: input a list. First item in list is matched to an argument, then remaining messages in list are output.
  • coll: didn’t really get to this in a patch, but look it up in the help patches and reference.

The example patch includes ways to use a comparison operator to only select a percentage of random output.

The big patch shows how you can use counter with incoming MIDI notes to store those notes in a table. It also shows how you can use table and * (to scale) to send rhythmic values to a metro to create rhythms.

Since our keyboards are just MIDI controllers, you can/should use Max to route to different synths. Instead of using gate to turn note storage on, you could use a switch that switches between storage and playback. Or you can use a comparison operator to only have a certain range of notes be stored, then offset (transpose) them for playback.


Comments

Leave a Reply