diff options
author | Chris Dreher <chrisdreher@hotmail.com> | 2016-08-19 10:26:02 -0700 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2016-08-23 11:47:54 +0200 |
commit | a18419365c4cdf369a9700bc60b38c7b12f67345 (patch) | |
tree | 0ab4eb3ff5a9d3cc6cc37ddb25eda734a0414c1a /uart/midi/artifically_generated/README | |
parent | 86f8acafaf5791cdddd9ede239ab3e4f37b02d9d (diff) | |
download | sigrok-dumps-a18419365c4cdf369a9700bc60b38c7b12f67345.tar.gz sigrok-dumps-a18419365c4cdf369a9700bc60b38c7b12f67345.zip |
Add some more MIDI dumps.
Diffstat (limited to 'uart/midi/artifically_generated/README')
-rw-r--r-- | uart/midi/artifically_generated/README | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/uart/midi/artifically_generated/README b/uart/midi/artifically_generated/README new file mode 100644 index 0000000..c2976ca --- /dev/null +++ b/uart/midi/artifically_generated/README @@ -0,0 +1,43 @@ +------------------------------------------------------------------------------- +Artifically Generated Data +------------------------------------------------------------------------------- + +This data was generated by hand based off of various specifications: + + - "The Complete MIDI 1.0 Detailed Specification" version 96.1 + - "General MIDI System Level 1" revision 4 + - "General MIDI 2" version 1.2a + + +Logic analyzer setup +-------------------- + +Not applicable. + + +Data +---- + +The data was initially created as CSV files with one column composed of only +1s and 0s of UART data. These CSV files were then imported into sigrok's GUI, +PulseView. When importing the CSV files, the samplerate was set to 100000 +(i.e. 100kHz). Each byte value was visually verified for correctness. +The data was then resaved as *.sr files. + +Since MIDI communicates at 31250 bits/sec in 8N1 format, each byte of UART +data used 37 rows of data in the CSV file when using a sampling rate of +100kHz. Listed from top to bottom, the rows in the CSV for each byte were: + + 1. Three rows of "1" as padding before the bits + 2. Three rows of "0" as the start bit + 3. Three rows of the data bytes bit0 (lsb) + 4. Three rows of the data bytes bit1 + 5. Three rows of the data bytes bit2 + 6. Four rows of the data bytes bit3 + 7. Three rows of the data bytes bit4 + 8. Three rows of the data bytes bit5 + 9. Three rows of the data bytes bit6 + 10. Three rows of the data bytes bit7 (msb) + 11. Three rows of "1" as the stop bit + 12. Three rows of "1" as padding after the bits + |