select
Conditional timepoint
The timepoint object automatically and reliably sends out a bang when the specified point in time is reached. How would you specify a point in time, and also make the notification “conditional”, such that it only occurs if a certain condition is met?
Linear vs. exponential audio fade
An exponential amplitude fade is usually more subjectively natural-sounding than a linear amplitude fade. This patch allows you to compare the two.
Write subtitles onto a video
One way to combine text and video is to write text in jit.lcd as demonstrated in the example “Draw shapes and text
Some useful Jitter attributes
Here are a few attributes of the jit.movie and jit.window objects that I find useful for initializing the objects to behave the way I want.
Arpeggiate the harmonic series
This example repeatedly arpgeggiates the first 16 notes of the harmonic series based on the frequency 65.406395 Hz, which is the fundamental frequency of the open C string on a cello. The note rate can be adjusted anywhere from 1 note per second to 100 notes per second. The default initial rate is 8 notes per second.
Hide or show an object
A way of hiding or showing Max objects is to assign an object a “scripting name” in the Inspector, then give the thispatcher object a ‘script’ message telling it to hide or show that object.
The ‘alpha’ attribute of a picture
In digital images, each pixel contains color information (such as values describing intensity of red, green, and blue) and also contains a value for its opacity known as its ‘alpha’ value. An alpha value of 1 means totally opaque, and an alpha value of 0 means totally transparent. This value can be used for blending images, or for making all or part of an image totally transparent.
Trigger sound cues with the mouse or from the computer keyboard
This is effectively pretty much identical to Trigger sound cues from the computer keyboard, but a) it allows the user to trigger sound cues either
Trigger sound cues from the computer keyboard
This shows how to prepare multiple sound cues for playback, and how to detect specific keystrokes in order to trigger the sound cues. It also shows how to initialize a program by triggering certain messages as soon as the patch is opened. The sound signal is sent through a multiplier to adjust the gain (volume).