# Day 2 = MIDI

Read:

* [MIDI Chapter in Introduction to Computer Music](https://cmtext.indiana.edu/MIDI/chapter3_MIDI.php)
  * note: "All MIDI codes are two hex digits. Look at how much easier it is to to recognize the MIDI codes in the hex column than in the decimal column. Because a single hex digit ranges from 0 to 15 (0-F hex), every four bit binary number can be represented by a single hex digit." ([source](https://people.carleton.edu/~jellinge/m208w14/pdf/02MIDIBasics_doc.pdf))

Watch:

* [The Martian Hexadecimal Scene](https://www.youtube.com/watch?v=k-GH3mbvUro)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://benjohansen.gitbook.io/musictech/2023_spring/projects/day-2-midi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
