A Sequence number event (from the Midi File 1.0 specification). This event cannot be sent to external Midi devices.
![]()
typeSeqNum events have 1 field :
0- Sequence number form 0 to 65535 (2-bytes field)
Creates a Sequence Number event and returns a pointer to the event or NIL if there is no more memory space.
MidiEvPtr SeqNum( long date, short num, short port)
{
MidiEvPtr e;
if ( e = MidiNewEv( typeSeqNum) ) /* Allocate a new event. Check not NIL */
{
Date(e) = date; /* These information are common to all */
Port(e) = port; /* kind of events */
MidiSetField(e,0,num); /* the sequence number field */
}
return e;
}