SWEN-340

MIDI Parsing by Hand

Overview

This homework assignment is to give you experience parcing MIDI track event messages.

Setup

Given the following MIDI messages:

   0x3B 0x80 0x27 0x00
   0x83 0x18 0x91 0x54 0x64
   0xC5 0x92 0x74 0xE3 0x74 0x12
   0x90 0x82 0x93 0x64 0xD3 0x89

In a text file named hw7.txt, answer the following questions for each message.

What is the message:

  • Delay
  • Message Type
  • Channel
  • Values (determined by message type - include the value(s) name)

Example

For the message:

   0x00 0x80 0x40 0x00

the expected responses would be

  • Delay: 0
  • Type: Note Off Event
  • Channel: 0
  • Key: 64
  • Velocity: 0
Submission

Submit your solution by pushing the hw7.txtfile to the course repo by the deadline.

Grading

No special requirements.