The MTP runs in high-speed mode to handle the high volume of motion and musical data being routed through the MIDI stream. A Macintosh Centris 650 is running the Juggling Jukebox program, which was developed using Opcode's MAX package for interactive, MIDI-based applications. Each song is divided into 'phrases' , each of which has its own set of routines for generating the appropriate musical responses to the juggler's motions. Each phrase routine also contains the logic for detecting when it is time to move to the next phrase. Arm motion data can be routed as needed through a range detector and a slope detector.
Algorithmic techniques vary widely across routines.
Routines were also developed to track tempo from ball catches, and rhythms or harmonic elaborations then unfolded algorithmically within the given tempo. In order to handle ball drops , routines had to be designed so that they could be interrupted and restarted without malfunction. Output A light display representing three jugging balls is an integrated part of the Juggling Jukebox logo on the vending enclosure. While the jukebox is waiting for someone to make a selection, it draws attention by flashing the lights in a variety of patterns and tempos. MAX generates the patterns, sending MIDI commands to a Rolls Patchwork RP93 set of MIDI-controlled relays to switch the lights.