New version of parse

Download from the URL http://www.timara.oberlin.edu/GaryLeeNelson

I originally wrote parse as a component of a system for recording MIDI data
into a coll object.  I used the index of lines in the coll as a time stamp.
A typical entry might be:

            1250, note 67 72 1500 4 note 36 84 500 2;

To get these into the coll I need two messages:

            1250 merge note 67 72 1500 4  (key, velocity, duration, channel)
            1250 merge note 36 84 500 2

Stepping through the coll with a counter outputs the messages at the
appropriate time in milliseconds.  Different tempi and other timing
variations (rubato, etc.) can be achieved by varying the speed of the
counter.

When the messages emerge from the coll they must be separated.  This is the
job of parse. parse searches for words, gathers up the numbers that follow
and outputs them as a 쿾arsed?list of messages.  The help file illustrates
the process.

I have not used the MIDI recording thing for quite a while but parse has
found a new life. I use it to record and sequence message that control
Jitter objects.

This version is for OSX only but I included the source.  If anyone ports it
to PC, let me know and I’ll add it to my archive.

Current users of parse should not notice any difference. The two changes are
to permit longer messages and to fix a small bug that prevented parse from
attaching to Jitter objects. (Thanks, Jeremy B.)

Cheers,
Gary Lee Nelson
Oberlin College
www.timara.oberlin.edu/GaryLeeNelson

Leave a Comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.