mirror of
https://github.com/wader/fq.git
synced 2024-11-29 04:10:01 +03:00
9c7f7f961a
- Renamed 'tracks' section to 'content' (cf. https://github.com/wader/fq/pull/1004#discussion_r1746651234) - Removed 'validation only' errors (cf. https://github.com/wader/fq/pull/1004#issuecomment-2333464662) - Decoded MThd divisions field with SMPTE timecode
50 lines
4.8 KiB
Plaintext
50 lines
4.8 KiB
Plaintext
$ fq -d midi dv midi/format-1.mid
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: midi/format-1.mid (midi) 0x0-0x45 (69)
|
|
| | | header{}: 0x0-0xe (14)
|
|
0x00|4d 54 68 64 |MThd | tag: "MThd" 0x0-0x4 (4)
|
|
0x00| 00 00 00 06 | .... | length: 6 0x4-0x8 (4)
|
|
0x00| 00 01 | .. | format: 1 0x8-0xa (2)
|
|
0x00| 00 02 | .. | tracks: 2 0xa-0xc (2)
|
|
| | | division{}: 0xc-0xe (2)
|
|
0x00| 01 e0 | .. | ppqn: 480 0xc-0xe (2)
|
|
| | | content[0:2]: 0xe-0x45 (55)
|
|
| | | [0]{}: track 0xe-0x26 (24)
|
|
0x00| 4d 54| MT| tag: "MTrk" 0xe-0x12 (4)
|
|
0x10|72 6b |rk |
|
|
0x10| 00 00 00 10 | .... | length: 16 0x12-0x16 (4)
|
|
| | | events[0:2]: 0x16-0x26 (16)
|
|
| | | [0]{}: meta_event 0x16-0x22 (12)
|
|
| | | time{}: 0x16-0x17 (1)
|
|
0x10| 00 | . | delta: 0 0x16-0x17 (1)
|
|
| | | tick: 0
|
|
0x10| ff | . | status: 255 0x17-0x18 (1)
|
|
0x10| 03 | . | event: "track_name" (3) 0x18-0x19 (1)
|
|
0x10| 08 46 6f 72 6d 61 74| .Format| track_name: "Format 1" 0x19-0x22 (9)
|
|
0x20|20 31 | 1 |
|
|
| | | [1]{}: meta_event 0x22-0x26 (4)
|
|
| | | time{}: 0x22-0x23 (1)
|
|
0x20| 00 | . | delta: 0 0x22-0x23 (1)
|
|
| | | tick: 0
|
|
0x20| ff | . | status: 255 0x23-0x24 (1)
|
|
0x20| 2f | / | event: "end_of_track" (47) 0x24-0x25 (1)
|
|
0x20| 00 | . | length: 0 0x25-0x26 (1)
|
|
| | | [1]{}: track 0x26-0x45 (31)
|
|
0x20| 4d 54 72 6b | MTrk | tag: "MTrk" 0x26-0x2a (4)
|
|
0x20| 00 00 00 17 | .... | length: 23 0x2a-0x2e (4)
|
|
| | | events[0:2]: 0x2e-0x45 (23)
|
|
| | | [0]{}: meta_event 0x2e-0x41 (19)
|
|
| | | time{}: 0x2e-0x2f (1)
|
|
0x20| 00 | . | delta: 0 0x2e-0x2f (1)
|
|
| | | tick: 0
|
|
0x20| ff| .| status: 255 0x2f-0x30 (1)
|
|
0x30|03 |. | event: "track_name" (3) 0x30-0x31 (1)
|
|
0x30| 0f 41 63 6f 75 73 74 69 63 20 47 75 69 74 61| .Acoustic Guita| track_name: "Acoustic Guitar" 0x31-0x41 (16)
|
|
0x40|72 |r |
|
|
| | | [1]{}: meta_event 0x41-0x45 (4)
|
|
| | | time{}: 0x41-0x42 (1)
|
|
0x40| 00 | . | delta: 0 0x41-0x42 (1)
|
|
| | | tick: 0
|
|
0x40| ff | . | status: 255 0x42-0x43 (1)
|
|
0x40| 2f | / | event: "end_of_track" (47) 0x43-0x44 (1)
|
|
0x40| 00| | .| | length: 0 0x44-0x45 (1)
|