<html>
<HEAD>
<TITLE>MidiMon Module</TITLE>
</HEAD>
<BODY BGCOLOR="#AAFFFF" TEXT="#000000" LINK="#3333AA" VLINK="#6666FF"> 

<H2>
<A NAME="MidiMon">MidiMon</A>
</H2>
This is a 'transfer' element that turns MusicWeaver MIDI events
(and some other packets) into
text lines that can be displayed by 'StreamView' (or processed by
other modules) in the StreamWeaver suite.
It also gives output for System Exclusive sequences. Tempo Changes,
other Midifile MetaEvents, Chords, and Weaver 'DIRECTOR' packets.

<h4>
Output Format:
</h4>
Each line for a MIDI event shows the timestamp of the event (in msec) followed,
except for System Messages, by the channel (1..16).
The rest of the line is a description of the event as appropriate:
<br><tt>
&nbsp;&nbsp;&nbsp;<i>Time (msec)</i>:   <i>channel</i>  [<i>event-type</i>] <i>event-data</i>
</tt><br>
<P>
System Exclusive sequences are shown as:
<br><tt>
&nbsp;&nbsp;&nbsp;<i>Time (msec)</i>:  SysEx size <i>n</i> bytes [first="<i">hex</i>(<i>dec</i>) last="<i">hex</i>(<i>dec</i>) ]
</tt><br>
<BR>
Tempo Events (from MidiFile or Metronome):
<br><tt>
&nbsp;&nbsp;&nbsp;<i>Time (msec)</i>:  Tempo Change to <i>beats-per-min</i> BPM = <i>interval</i> secs/beat
</tt><br>
<BR>
Chords (from KeyTrack) (no time value):
<br><tt>
&nbsp;&nbsp;&nbsp;<i>Chord-name</i> root <i>note</i>
</tt><br>
<BR>
Meta Events (from MidiFile) are shown as:
<br><tt>
&nbsp;&nbsp;&nbsp;<i>Time (msec)</i>:  Meta -- type="<i">hex-code</i> size="<i">n</i>
</tt><br>
<BR>
Director Events are shown as one of:
<br><tt>
&nbsp;&nbsp;&nbsp;DIRECTOR: Switch bits=" <i">bit-pattern</i> (hex)<br>
&nbsp;&nbsp;&nbsp;DIRECTOR: Control <i>type</i>  index <i>index-number</i>   value=" <i">integer</i>
</tt><br>
where <i>type</i> is '1' for the alternative form of Switch events, or
'2' for Parameter events.
<BR>
<h4>
Inputs
</h4>
<UL Type="none">
<LI> <B>Input</B> -- MIDI (and/or Director) events to be monitored
</UL>
<h4>
Outputs
</h4>
<UL Type="none">
<LI> <B>Output</B> -- Text lines suitable for StreamWeaver
<LI> <B>Input</B> -- Pass-through of monitored events
</UL>
<P>
<BR>
<h4>
Control Panel
</h4>
None.
<P>
<BR>
For more information, see
<A HREF="../../Documentation/Newer_MIDI.html#MidiMon">MidiMon</A>
in the 'Newer_MIDI' documentation
<BR>


</body>
</html>
