This example shows two methods for outputting a list in groups of two elements. Either of the objects zl.iter or zl.group with an argument of ‘2’ will output the a list sent into them two elements at a time in immediate succession. If a list with an odd number of elements is sent into either of the objects, the last message that is outputted will only contain one element.
This patch will output a bang if it receives a bang in both of its inputs simultaneously. A bang received by the right inlet will store a 1 in the integer object via the cold inlet. If the left inlet receives a bang before the end of the low priority queue, then a 1 will be outputted by the integer object to the select resulting in a bang from its left outlet.
This example shows how to use the function object for making tendency masks with breakpoint line segment functions (à la Koenig and as explained by Rowe) using a line object to progress through the functions that describe the minimum and maximum of the function’s range.
The simplest way to communicate over the internet in Max is by sending Max messages as UDP packets. The udpsend and udpreceive objects make that very easy. Tell the udpsend object what IP address to send to and what virtual port number to use, and tell the udpreceive object on the other computer the same port number.
This program assumes that you have a folder of image files (jpg, etc.) that you want to show as a slideshow. This program also assumes that those images all have the same dimensions.
The program assumes images that are 320x240 pixels. If you want to use another size, you should change the dimensions of the jit.qt.movie objects and the size of the jit.window. Images that do not have a 4:3 aspect ratio will get distorted when shown fullscreen, unless some adjustments are made.
This patch uses jit.lcd to draw white text on a black background, uses that monochrome image as the color and alpha channels, colorizes the text using jit.scalebias, and then does an alphablend of the text with a movie.
This patch demonstrates a method of storing and recalling sound in RAM using the buffer~ object and the various objects that can access a buffer.
This patch shows a slight improvement on the basic way of recording and playing back a sound file, fading the sound in and out quickly when recording in order to avoid clicks.
This patch shows the basics of how to record and play back a sound file.