Dynamically hide or show an object one at a time
This example demonstrates how to dynamically hide or show objects (patch must be locked) by sending a "hidden" message. The message is followed by either a 1 or a 0 indicating hidden or shown.
This example demonstrates how to dynamically hide or show objects (patch must be locked) by sending a "hidden" message. The message is followed by either a 1 or a 0 indicating hidden or shown.
This patch records while the spacebar is held down, and starts looping when the spacebar is released.
A Max user was having trouble detokenizing a stream of number. In this case, given a stream of number, he wanted to route the number immediately following a 8 to a first output, the number immediately following a 9 to a second output, the four numbers immediately following a 10 to a third output, and all the rest to a fourth output.
This example shows how you can continue to output random numbers without duplicating.
This example shows how to automatically retrieve several information data regarding a loaded video on jit.qt.movie. In this case we are taking advance of the message read filename 1 that is output on the second outlet after a successful file load, and using that to trigger several get messages which will also be output out the second outlet and then routed to their proper place using the route object.
The imovie object displays a video within a single UI object in a Max patch. To detect when the movie has ended, use the getduration message to determine the movie's duration, then use the gettime message to monitor the current time of the video as it plays. In this example, we use the grab object to get the duration once and store it in other objects (select and >=).
What if I want to use a counter to drive a step sequencer and add a palindrome, always counting from 1 to 16, and from 16 to 1 again so that it will be kept in sync.
For this example to work properly, you will also need to download the small text file subtitles.txt.
This example demonstrates how to assign an index number to an incoming number. Storage to the coll object is triggered with the keypress object.