Tempo-Relative Timing in Max & Self-Quiz

In addition to Max's built-in clock-time scheduler, Max also has a feature to support tempo-relative musical-time scheduling. The musical timing feature is called the "global transport". Like the transport feature in most DAWs, Max's global transport allows one to set the tempo and the meter signature of musical time, start and stop the passage of musical time (in reference to a time 0 starting point), and refer to time in terms of bars, beats, and units. So-called "units" are fractions of a quarter note, for finer-resolution timing, also known as ticks, a.k.a. pulses-per-quarter (ppq). The number of pulses per quarter note (ppq) used for fine-resolution musical timing is usually some number that can be divided by 2, 3, 4, and ideally 5. The ppq value in MIDI is 24 by default, whereas in DAWs it is usually 480 or 960. In Max's global transport, the number of ticks (ppq) is 480.

When programming in Max, you can access the global transport via the transport object, and some of its related objects such as when (to find out what the current time is in the global transport), timepoint (to send out a bang at a specific moment in musical time), and translate (to convert between different time formats in musical time and clock time). And, by using the global transport for musical timing, you can refer to timings and durations using Max's time value syntax. The following video and set of Max Cookbook examples will help you learn about the transport object and Max's way of handling musical timing.



Max Cookbook examples about transport:
Tempo-relative timing with the transport object
Simple demonstration of the transport object
Other basic functionality of the transport object
Beat divisions with transport
The translate object updates its output when the tempo changes
Using timepoints for interactive sequencing
Event timing with transport
Tempo-relative timing for MSP LFO control


Vocabulary


Try it yourself

To gain experience with this way of thinking of events in terms of the musical timing and musical rhythm, write a Max patch that uses the Max transport object and one or more related objects such as metro, translate, timepoint, and/or phasor~. Make something happen in a particular rhythm (play some MIDI notes, or trigger some sound files, or modulate a sound), in such a way that you can change its underlying tempo (the tempo attribute of the transport object) without changing the rhythm.


Self-Quiz

  1. What is the basic unit of time for Max's clock-time scheduler?
  2. What object allows you to use musical timing in Max
  3. What musical unit is most commonly used to designate a beat?
  4. What is syncopation?
  5. How many ticks are there per quarter note in Max's musical timing?

Additional Resources


This page was last modified May 27, 2019 by Christopher Dobrian, dobrian@uci.edu.


This page was last modified: .