040: Adding MIDI

Now that we've got two processors firing, we can expand our UI without worrying so much about timing.  The first thing we'll do is replace the frequency pot with NOTE ON pitch information from a MIDI controller.

There are two MIDI grove boards, one for a standard 5-pin DIN connector, and one for a 1/8" TRS connector.  They are both positioned and connected the same way:







Note that most of the following examples will not use MIDI, because not everyone has access to a MIDI source.  But the above code can provide a template for you to add MIDI to the subsequent examples.




Copyright © 2024 The President and Fellows of Harvard College * Accessibility * Support * Request Access * Terms of Use