MIDI mode merged into UART library

midi-uart

The next Bus Pirate firmware release merges MIDI into the UART library. MIDI is just a specific serial protocol over a UART at 31250bps, 8/N/1. The latest nightly build adds option “10) 31250 (MIDI)” to the UART speed options. This also applies all the recent UART mode fixes to MIDI without duplicating code.

If you’ve used or plan to use MIDI on the Bus Pirate, we’d like to hear from you below the fold. As far as we know, MIDI mode has never been used.

There’s two reasons MIDI had its own library. The first is a historical artifact of the old user prompt that didn’t accept input longer than 1 number. There were already 9 UART speed options (1-9), so we couldn’t add a 10th. The better reason is that we wanted a clean workspace to integrate MIDI-centric macros and functions, but it’s never been used so it’s just wasting program space.

Join the Conversation

1 Comment

  1. Have not tried it yet, but I have bought the connectors, planning to make an adapter card. Have a planned project to implement some kind of synth/noise generator on av avr, and it will be nice to be able to check the midi traffic while developing. Will report in the forums when I’ve had time to use it.

Leave a comment

Leave a Reply to Andreas Cancel reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.