Lookup table demo using table
This example shows a way to use the table object as a “lookup table” to play either a major or minor scale via the noteout object.
This example shows a way to use the table object as a “lookup table” to play either a major or minor scale via the noteout object.
This example shows different methods for using the select object.
This patch uses a jit.matrix to move a line across the screen by first using the setall message to set all the cells of the jit.matrix to 255 which causes all pixels in the display window to be set to white. Next the counter object sets a cell of the jit.matrix determined by the counter object to 0 which causes the corresponding column of pixels in the display window to turn black.
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 composes a melody in Minimal style, playing periodically-varying diatonic melodic loops of different lengths. A 16-stage sequence of velocity values is stored in one table, and a 32-stage sequence of pitch values is stored in another table.
This patch shows several of the most basic and useful Max objects.
A metro object (a scheduler of timed, repeated triggering messages) to trigger a counter (which keeps track of, and reports how many events it has received), and then uses the numbers from the counter to play notes on a MIDI synthesizer.
This example shows a way to divide your list into three-item groups with zl.group, then put each of those values into one of the three planes of jit.matrix.
Here is a workaround for instantly changing the time interval of a qlim object without waiting for the current cycle to end.
To output matrix values to a number box, use metro 1000 to bang a counter object, and use that output as the matrix coordinate for the getcell message. Please note that the third outlet of counter does not send out a bang unless you tell it to (with a carrybang message). It sends out a 1 when the counter reaches its maximum, and a 0 on the next output. This causes a double trigger.
This example demonstrates how to dynamically alter probability.