]>
Commit | Line | Data |
---|---|---|
a1841936 CD |
1 | ------------------------------------------------------------------------------- |
2 | Artifically Generated Data | |
3 | ------------------------------------------------------------------------------- | |
4 | ||
5 | This data was generated by hand based off of various specifications: | |
6 | ||
7 | - "The Complete MIDI 1.0 Detailed Specification" version 96.1 | |
8 | - "General MIDI System Level 1" revision 4 | |
9 | - "General MIDI 2" version 1.2a | |
10 | ||
11 | ||
12 | Logic analyzer setup | |
13 | -------------------- | |
14 | ||
15 | Not applicable. | |
16 | ||
17 | ||
18 | Data | |
19 | ---- | |
20 | ||
21 | The data was initially created as CSV files with one column composed of only | |
22 | 1s and 0s of UART data. These CSV files were then imported into sigrok's GUI, | |
23 | PulseView. When importing the CSV files, the samplerate was set to 100000 | |
24 | (i.e. 100kHz). Each byte value was visually verified for correctness. | |
25 | The data was then resaved as *.sr files. | |
26 | ||
27 | Since MIDI communicates at 31250 bits/sec in 8N1 format, each byte of UART | |
28 | data used 37 rows of data in the CSV file when using a sampling rate of | |
29 | 100kHz. Listed from top to bottom, the rows in the CSV for each byte were: | |
30 | ||
31 | 1. Three rows of "1" as padding before the bits | |
32 | 2. Three rows of "0" as the start bit | |
33 | 3. Three rows of the data bytes bit0 (lsb) | |
34 | 4. Three rows of the data bytes bit1 | |
35 | 5. Three rows of the data bytes bit2 | |
36 | 6. Four rows of the data bytes bit3 | |
37 | 7. Three rows of the data bytes bit4 | |
38 | 8. Three rows of the data bytes bit5 | |
39 | 9. Three rows of the data bytes bit6 | |
40 | 10. Three rows of the data bytes bit7 (msb) | |
41 | 11. Three rows of "1" as the stop bit | |
42 | 12. Three rows of "1" as padding after the bits | |
43 |