Record mater values
This example shows how you can record incoming data, in this case, changing amplitude values, using the mtr object.
This example shows how you can record incoming data, in this case, changing amplitude values, using the mtr object.
This example explores some approaches to recording and playing events in Max.
The mtr object is made for recording messages and playing them back in the same rhythm as they were recorded––see the top-left portion of the patch.
This example shows how you can always keep your video and audio in sync even when you pause the video. The trick relies on sending a gettime message to jit.qt.movie in order to have the exact time at which the (for example) groove~ object should start the audio file.
This example shows different ways to interpolate between values, for the purpose of automating volume control.
A max user asked the following:
I would like to create a virtual mixer with max and control Pro Tools 9. But pro tools does not have MIDI learn for the mixer.
This patch is one method of outputting a list of integers individually spread out over time. The iter object outputs each integer in the list one at a time. The trigger ‘b i’ sends the integer to the pipe which adds the specified time interval to the current value in the accum which changes the delay time of the next object sent to pipe. The patch could be easily adapted to work for floats as well.
An object’s size and position can be manipulated using the presentation_rect attribute. In the example, the x-position of the dial in presentation mode is being changed every second to a random value between 0 and 512.
Following on the “MIDIglissando” example, this example shows how to program a rather long glissando with the push of a button.
This example shows how to control glissando using MIDI. A little bit of revision: MIDI notes can only be played with whole numbers 0-127. Some synths allow you to specify an alternate tuning other than 12-tone equal temperament, but that’s not what we’re after in this case. So, let’s say, if you’re converting frequency to midi note values you will need to calculate the desired pitchbend from the fractional part of the value you obtain from ftom.
This example shows how to draw a circumference with the lcd object, and how to draw N evenly spaced dots along that same circumferece. Knowing the center and radius of the circle, the number of possible dot locations, and the index number of the particular dot, you can calculate the location of the dot using cosine and sine functions.