(max) week one object roundup

With an eye towards having you recreate the arpeggiator patcher that I demonstrated in class, without the benefit of any example patchers, I’m going to give a very brief summary for each object I used so far.

  • notein – receive MIDI note messages, from external MIDI devices, or from other software applications.
  • noteout – send MIDI note messages, to external MIDI devices, or to other software applications.
  • pgmout – send MIDI program changes….
  • makenote – generate a note-on/note-off pair of messages, when generating notes from within Max.
  • number (integer number box) – display and output a number. Useful for entering number data, or displaying numbers generated by other objects.
  • stripnote – filter out note-off messages, passing only noteon messages. Remember to hook up both note and velocity connections between a notein and makenote.
  • button (bang) – blink and send a bang.
  • addition (+) – add some number to number input.
  • message – (store and) send any message. Message objects can be useful for storing data that doesn’t change, or doesn’t change often.
  • comment – explanatory note or label.


  • metro – output a bang message at regular time intervals, like a metronome.
  • toggle – switch between off and on. Toggles can be turned on/off by mouse-clicking (sending out a 1 if on, and 0 if off), turned on by sending any non-zero number to it, and turned off by sending zero. Bangs will reverse the toggle state. You can use key velocity for note on/off messages to start and stop a toggle. If you turn it on with a non-zero number, toggle passes that number to its output.
  • random – generate a random number, with the values encompassing the range of 0 to the argument – 1. (If the argument is 4, then 0 – 3)
  • table – store and edit an array of numbers, with x being the location/index and y being the value stored at the index. Numbers sent to the left inlet will cause the value stored at that location to be outputted.
  • counter – keep a count of incoming messages. You can set the max count, and it will count between 0 and the maximum.
  • ggate (graphic gate) – send input (in right inlet) to one of two outputs. You can click on it to change outputs, or it can be controlled by sending a 0 or 1 (a nice job for a toggle) to its left inlet.


Leave a Reply