Max
Convert between musical time and clock time
The translate object performs conversions from one kind of time unit to any other, and is particularly useful when you need to convert from a tempo-relative time unit to a clock time unit (e.g., convert note values to milliseconds) or vice versa. In this example, try changing the bpm tempo of the transport, and you'll see that the translate object sends out updated information whenever the tempo changes.
Drawing with sprites in lcd
For this example to work properly, you will also need to download the small image file "guitariste.jpg".
Drawing an image from a file into lcd
For this example to work properly, you will also need to download the small image file gourmet.jpg.
Algorithmic composition with math functions
This patch is based on an example in the Max 3.5 Tutorial, chapter 44. It demonstrates a) the use of math functions to generate patterns for musical parameters and b) faster-than-realtime recording of MIDI data in the detonate object.
Store numbers on keypress with coll
This example demonstrates how to assign an index number to an incoming number. Storage to the coll object is triggered with the keypress object.
Retaining rotational speed while varying radius size
To retain the same rotational speed while varying the radius size (rotations per unit time), that means varying the velocity of circumnavigation as the radius changes. Set the rotation rate and the radius, then turn on the metro.
Managing transpositions for sustained MIDI notes
When transposing the pitch of sustained incoming MIDI notes, you need to be certain that the note-off message has the same transposition. Otherwise, any time more than one note is played, each subsequent note changes the transposition before the previous note receives its note-off message. To solve this you need to keep track of what transposition you give to each incoming note, as illustrated in this example.
Score following with the follow object
This patch is based on an example in the Max 2.0 Tutorial, chapter 35. It demonstrates score following using the follow object. For it to work properly, in addition to saving the patch itself, you will need to save these two text files, using the same file names as are shown here—bourree-sc.txt and bourree-coll.txt—in the Max file search path.
Controlling the range of a set of numbers
This patch is intended to show how to generate any desired range of numbers by some combination of the following operations: 1) generate a set of possible numbers with one of the number-generating objects shown in the example "Some objects for generating numbers", 2) optionally scale the size of the range by multiplying all the numbers by a common factor, 3) optionally offset the range by adding a certain amount to each of the numbers, 4) optionally use those numbers to look up a stored set of desire