Long term function
This patch uses metro and counter to automate a scale with crescendo by referencing a table object containing patterns of pitch and velocity MIDI values.
This patch uses metro and counter to automate a scale with crescendo by referencing a table object containing patterns of pitch and velocity MIDI values.
This patch shows a simple way to automate the loading of movies in a jit.qt.window.
This patch shows how to create a linear crescendo using MIDI velocity.
This patch shows a simple use of a transport-governed metronome to trigger events at a constant rate. The metro object that has the argument '4n' will be governed by the transport because its interval is specified in a tempo-relative, music-based "note values" format. (Just for the sake of comparison, the patch includes another metro that is unaffected by the transport because its interval is specified in milliseconds.) The transport-governed metro will only run when the transport is on.
This patch uses a counter to send out MIDI pitch and velocity values using makenote and noteout. Once the counter reaches 12 a 0 message is sent to the toggle attached to the metro stopping it.
This patch will choose a new 1 second segment of a video to play every second.
This patch will play random cosine tones within the range of two octaves above middle C.
This example demonstrates accelerando by playing 7-note scale (diatonic) over five octaves while increasing the velocity from soft to loud (20 to 125), and also the rate from 2 to 22 notes per second.
This program triggers a sound repeatedly, and changes the sound's playback rate with each repetition. The sound file is so short that there's really no need to turn it off with a 0, so we just start it with a 1. The playback rate is calculated so as to cause a random transposition from -12 to +12 equal-tempered semitones, using the twelfth root of 2; the number of semitones (x) of transposition is determined by setting the rate to "2 to the x/12 power". You can put the patch into Presentation mode, which will present a cleaner user interface.
This patch shows how to switch between which of three different video files is being displayed on jit.window.