The follow object can record MIDI data or simple sequences of numbers.
The follow object can take a file name argument (to load that file) or a read text message.
Once the follow object has a sequence of data, it can "follow" a performer through the sequence and output an appropriate value and index number out its outlets.
The "following" process is started by sending a follow text message to the object. An optional argument can be used to start from an arbitrary index within the sequence.
Every time an input pitch (or number) matches the next value in the sequence, follow sends the index out its left outlet. In this way, one can know where in a score a performer is and trigger appropriate actions based on that.
The funbuff object stores (x, y) pairs of numbers. An input x-value causes the corresponding y-value to be output.
The follow object does not exist in either Pd or Pd-extended.
The mtr object can be used to record and playback up to 32 tracks of numbers, lists, or symbols.
The number of tracks is specified as an argument to the mtr object.
The mtr object responds to start, play, record, mute, and unmute messages, each of which can have an integer argument specifying a particular track. If no argument is given, the message is applied to all tracks. Or these messages can be sent directly to a particular track inlet.
The next message causes the next message in each track to be output the corresponding track outlet. In addition, a two-item list is output from the leftmost outlet indicating the track number and event delta time for each track.
The mtr object does appear to exist in Pd-extended.
The detonate object provides multi-track sequencing and following functionality.
The detonate object responds to a variety of messages, including start, startat, next, stop, record, follow, ...
The start message puts detonate into "play" mode and next messages output the event data to outlets 2 - 8. If another subsequent event exists, a delta time value will be output from the leftmost outlet.
After receiving a record message, all previous data is erased. Also, detonate cannot "overdub" tracks.
In "follow" mode, incoming notes are compared to the event list and matches are sent out outlets 2 - 8.
A standard MIDI file can be loaded into a detonate object using the read message.
The detonate object does not exist in either Pd or Pd-extended.