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.
To achieve delays that are quantized to a named transport, use a combination of pipe (delay numbers by the desired amount), translate (to set the pipe to the desired delay time), zl group (hold onto numbers as they come out of the pipe) and metro (following a particular named transport and quantized to the time unit you want).
This patch demonstrates a simple video file player with simple controls.
This patch demonstrates a simple way to play a video file.
This example demonstrates how to retrieve the timescale and duration values associated with a movie file.
This example demonstrates how to harmonize a single MIDI note with multiple pitches.
To slow the flow of OSC messages, store the most recent value for each parameter using the combine object, but only send it out as an OSC message at the desired rate.
The examples above show two different ways that you can trigger sound files while keeping in sync with a particular beat when the durations of the sound files are not perfect multiples of the beat duration, hence triggering the next sound file at the ending point of the current sound file results in the next sound file being started off the beat.
This example shows how to run a function at event rate.
This example shows a super simple tap tempo implementation. The patch alters the transport tempo based on the rate at which you tap the “t” key. This method simply takes the average of the most recent three time intervals between the most recent four taps. So once you tap four times, it will set the transport tempo to your tempo, and if you keep tapping it responds to your changes but takes a couple beats to move gradually to your new tempo.