MusicWeaver 'Extras'

Monitoring MIDI events

This distribution of the MusiceWeaver provides a -- perhaps somewhat crude -- way of examining the contents of single MIDI events on a MusicWeaver path. The modules involved don't quite fit into the same category as the others, so are described here. (The MidiMon module is not new, but has not been distributed before. It has proved rather useful, despite its unfinished state, so it seemed worth including.)

The approach is to generate a text line from each MIDI event that can be passed to elements that handle text, such as the 'StreamView' from the StreamWeaver suite. As you may not have installed the rest of the StreamWeaver. StreamView itself is included in this package. If you want to do other things (such as writing the text to a file) you can install the whole StreamWeaver suite, but see the Installation notes below.

MidiMon

For each MIDI event that arrives at this multiconnector's input, it outputs a text packet briefly descibing the event. This must be passed on to an element that can handle text, such as 'StreamView'. (No other MusicWeaver modules are aware of this kind of data.)

There is one input -- the MIDI stream. The first of the two outputs is the resulting text packets, the other is a pass-through of the MIDI.

The output line shows the event time in milliseconds, the message type code, the channel, and then the possible one or two data bytes as appropriate. The last item on the line is a text version of the message type.

It also handles System Exclusive sequences, but gives only a brief sketch, in a different format from events. The first items is again the time, but this is followed by 'SysEx size' and the (decimal) number of bytes in the sequence. The first and last bytes only of the sequence are then listed, in hexadecimal and then decimal. Obviously this is not much use for any detailed understanding of the sequence -- it is really only intended to indicate that such a sequence has occurred. [Yes, a true SysEx monitor would be very useful... Patience!]


StreamView

[You will find this in the StreamWeaver subfolder, not with the other MusicWeaver modules.]
Most of the StreamView's capabilities are to do with entering and sending text to other StreamWeaver elements. For displaying the output of MidiMon, all you have to do is connect the output of the MidiMon element to its input, and open the StreamView's panel. All incoming text will be displayed.

Look to the StreamWeaver documentation itself for the rest of the features. (To avoid confusion, this module is identical to the one in StreamWeaver 1.3. There is therefore no online help available yet.)


Installing StreamWeaver

If you want the complete StreamWeaver suite -- most likely abailable from the same place you found the MusicWeaver --, you can put it all into this same Weaver parent folder. However beware that, at the time of writing, the StreamWeaver has not yet been updated with the new Weaver v3.0. If you simply unpack it over this MusicWeaver distribution, you'll go back to the old Weaver!

There are a number of solutions. Perhaps a bit clumsily, but definitely the simplest, you can simply unpack Streamweaver 1.3 into the right place and then restore Weaver 3.0 (and a lot of other stuff) by unpacking MusicWeaver 1.3 again. Alternatively you can unpack StreamWeaver somewhere else, and drag the bits you want into their correct places in the Weaver home folder. Finally, f you are familiar with the command options of unzip, you can extract just the relevant pieces directly into the Weaver folder.