A class library for opening, parsing, and saving MIDI files.
BinaryWriterEx.WriteUInt32VLBE Method
Writes a four-byte unsigned integer to the current stream in compressed (7-bit variable length) format
and advances the stream position by the appropriate number of bytes.