aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Delmar Davis <don@suspectdevices.com>2013-09-27 20:38:29 -0700
committerDonald Delmar Davis <don@suspectdevices.com>2013-09-27 20:38:29 -0700
commit27b6f3f047dbcf684c61839e67d9d7a6d646d31d (patch)
tree550bff1f240d7c299daf7fedb87e2c1999817fd2
parentd4d5a319ec2051dd3f8e455a8395ca9b42fd806f (diff)
spell check...
-rw-r--r--README.md21
1 files changed, 6 insertions, 15 deletions
diff --git a/README.md b/README.md
index c662cb8..ac336ba 100644
--- a/README.md
+++ b/README.md
@@ -1,16 +1,9 @@
-The idea here is to create a lufa based midi framework for use on the stock arduino.
-The goal is twofold 1) to isolate the lower level usb functions from the actual programs
-and 2) to create a minimal framework for identifying resetting and loading code onto
-midi devices.
+The idea here is to create a lufa based midi framework for use on the stock arduino. The goal is twofold 1) to isolate the lower level usb functions from the actual programs and 2) to create a minimal framework for identifying resetting and loading code onto midi devices.
-The majority of the usb-midi specification is in simgle 4 byte events or packets.
-The exception to this are sysex messages which are arbitrary in length.
+The majority of the usb-midi specification is in single 4 byte events or packets. The exception to this are sysex messages which are arbitrary in length.
-Because of this the two streams are split out between packets and sysex data. Some of the USB susbsystems are
-interupt driven. (maple midi zb) and some like lufa are polling based. The data interface must accomidate this.
-I am trying to arrive at some glue where the upper layers can provide hooks for the maintainance tasks and
-simply provide an interface like this.
+Because of this the two streams are split out between packets and sysex data. Some of the USB subsystems are interrupt driven. (maple midi zb) and some like lufa are polling based. The data interface must accommodate this. I am trying to arrive at some glue where the lower layers can provide hooks for the maintainance tasks and simply provide an interface like this.
bool MidiEventAvaliable ([interface])
void GetMidiEvent ([interface])
@@ -19,13 +12,11 @@ simply provide an interface like this.
void GetSysex ([interface])
void SendSysex (uint8_t *messege, [interface])
-The remaining details should be as hidden and interchangable as possible.
+The remaining details should be as hidden and interchangeable as possible.
-A minimal sysex handler called by either the maintaince tasks or by GetMidiEvent should handle at a minimum the
-universal sysex id request and response and a (mma) vender specific sysex to jump to a bootloader. This should be
-expanded to identify the capabilities, architecture, and code loader method, and perhaps a subset of common midi
-settings (channel,mode etc.)
+A minimal sysex handler called by either the maintainence tasks or by GetMidiEvent should handle at a minimum the universal sysex id request and response and a (mma) vender specific sysex to jump to a bootloader. This should beexpanded to identify the capabilities, architecture, and code loader method, and perhaps a subset of common midi settings (channel,mode etc.)
+
This handler should also buffer sysex's that are not directed at the target or that the handler does not deal with.