1
1
mirror of https://github.com/wader/fq.git synced 2024-12-01 19:12:34 +03:00
fq/format/midi/testdata/keys.fqtest
2024-08-25 20:46:42 -07:00

229 lines
22 KiB
Plaintext

$ ./fq -d midi d key-signatures.mid
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: key-signatures.mid (midi)
| | | header{}:
| | | header[0:5]:
0x000|4d 54 68 64 |MThd | [0]: "MThd"
0x000| 00 00 00 06 | .... | [1]: 6
0x000| 00 00 | .. | [2]: 0
0x000| 00 01 | .. | [3]: 1
0x000| 01 e0 | .. | [4]: 480
| | | tracks[0:1]:
| | | [0]{}: track
0x000| 4d 54| MT| tag: "MTrk"
0x010|72 6b |rk |
0x010| 00 00 00 f5 | .... | length: 245
| | | events[0:34]:
| | | [0]{}: TrackName
| | | time{}:
0x010| 00 | . | delta: 0
| | | tick: 0
0x010| ff 03 | .. | event: "track name" (65283)
0x010| 0e 4b 65 79 20 53 69| .Key Si| name: "Key Signatures"
0x020|67 6e 61 74 75 72 65 73 |gnatures |
| | | [1]{}: KeySignature
| | | time{}:
0x020| 00 | . | delta: 0
| | | tick: 0
0x020| ff 59 | .Y | event: "key signature" (65369)
0x020| 02 00 00 | ... | key: "C major" (0)
| | | [2]{}: KeySignature
| | | time{}:
0x020| 8f 00| ..| delta: 1920
| | | tick: 0
0x030|ff 59 |.Y | event: "key signature" (65369)
0x030| 02 01 00 | ... | key: "G major" (256)
| | | [3]{}: KeySignature
| | | time{}:
0x030| 8f 00 | .. | delta: 1920
| | | tick: 1920
0x030| ff 59 | .Y | event: "key signature" (65369)
0x030| 02 02 00 | ... | key: "D major" (512)
| | | [4]{}: KeySignature
| | | time{}:
0x030| 8f 00 | .. | delta: 1920
| | | tick: 3840
0x030| ff 59| .Y| event: "key signature" (65369)
0x040|02 03 00 |... | key: "A major" (768)
| | | [5]{}: KeySignature
| | | time{}:
0x040| 8f 00 | .. | delta: 1920
| | | tick: 5760
0x040| ff 59 | .Y | event: "key signature" (65369)
0x040| 02 04 00 | ... | key: "E major" (1024)
| | | [6]{}: KeySignature
| | | time{}:
0x040| 8f 00 | .. | delta: 1920
| | | tick: 7680
0x040| ff 59 | .Y | event: "key signature" (65369)
0x040| 02 05| ..| key: "B major" (1280)
0x050|00 |. |
| | | [7]{}: KeySignature
| | | time{}:
0x050| 8f 00 | .. | delta: 1920
| | | tick: 9600
0x050| ff 59 | .Y | event: "key signature" (65369)
0x050| 02 06 00 | ... | key: "F♯ major" (1536)
| | | [8]{}: KeySignature
| | | time{}:
0x050| 8f 00 | .. | delta: 1920
| | | tick: 11520
0x050| ff 59 | .Y | event: "key signature" (65369)
0x050| 02 07 00 | ... | key: "C♯ major" (1792)
| | | [9]{}: KeySignature
| | | time{}:
0x050| 8f| .| delta: 1920
0x060|00 |. |
| | | tick: 13440
0x060| ff 59 | .Y | event: "key signature" (65369)
0x060| 02 00 00 | ... | key: "C major" (0)
| | | [10]{}: KeySignature
| | | time{}:
0x060| 8f 00 | .. | delta: 1920
| | | tick: 15360
0x060| ff 59 | .Y | event: "key signature" (65369)
0x060| 02 ff 00 | ... | key: "F major" (65280)
| | | [11]{}: KeySignature
| | | time{}:
0x060| 8f 00 | .. | delta: 1920
| | | tick: 17280
0x060| ff| .| event: "key signature" (65369)
0x070|59 |Y |
0x070| 02 fe 00 | ... | key: "B♭ major" (65024)
| | | [12]{}: KeySignature
| | | time{}:
0x070| 8f 00 | .. | delta: 1920
| | | tick: 19200
0x070| ff 59 | .Y | event: "key signature" (65369)
0x070| 02 fd 00 | ... | key: "E♭ major" (64768)
| | | [13]{}: KeySignature
| | | time{}:
0x070| 8f 00 | .. | delta: 1920
| | | tick: 21120
0x070| ff 59 | .Y | event: "key signature" (65369)
0x070| 02| .| key: "A♭ major" (64512)
0x080|fc 00 |.. |
| | | [14]{}: KeySignature
| | | time{}:
0x080| 8f 00 | .. | delta: 1920
| | | tick: 23040
0x080| ff 59 | .Y | event: "key signature" (65369)
0x080| 02 fb 00 | ... | key: "D♭ major" (64256)
| | | [15]{}: KeySignature
| | | time{}:
0x080| 8f 00 | .. | delta: 1920
| | | tick: 24960
0x080| ff 59 | .Y | event: "key signature" (65369)
0x080| 02 fa 00| ...| key: "G♭ major" (64000)
| | | [16]{}: KeySignature
| | | time{}:
0x090|8f 00 |.. | delta: 1920
| | | tick: 26880
0x090| ff 59 | .Y | event: "key signature" (65369)
0x090| 02 f9 00 | ... | key: "C♭ major" (63744)
| | | [17]{}: KeySignature
| | | time{}:
0x090| 8f 00 | .. | delta: 1920
| | | tick: 28800
0x090| ff 59 | .Y | event: "key signature" (65369)
0x090| 02 00 01 | ... | key: "A minor" (1)
| | | [18]{}: KeySignature
| | | time{}:
0x090| 8f 00| ..| delta: 1920
| | | tick: 30720
0x0a0|ff 59 |.Y | event: "key signature" (65369)
0x0a0| 02 01 01 | ... | key: "E minor" (257)
| | | [19]{}: KeySignature
| | | time{}:
0x0a0| 8f 00 | .. | delta: 1920
| | | tick: 32640
0x0a0| ff 59 | .Y | event: "key signature" (65369)
0x0a0| 02 02 01 | ... | key: "B minor" (513)
| | | [20]{}: KeySignature
| | | time{}:
0x0a0| 8f 00 | .. | delta: 1920
| | | tick: 34560
0x0a0| ff 59| .Y| event: "key signature" (65369)
0x0b0|02 03 01 |... | key: "F♯ minor" (769)
| | | [21]{}: KeySignature
| | | time{}:
0x0b0| 8f 00 | .. | delta: 1920
| | | tick: 36480
0x0b0| ff 59 | .Y | event: "key signature" (65369)
0x0b0| 02 04 01 | ... | key: "C♯ minor" (1025)
| | | [22]{}: KeySignature
| | | time{}:
0x0b0| 8f 00 | .. | delta: 1920
| | | tick: 38400
0x0b0| ff 59 | .Y | event: "key signature" (65369)
0x0b0| 02 05| ..| key: "G♯ minor" (1281)
0x0c0|01 |. |
| | | [23]{}: KeySignature
| | | time{}:
0x0c0| 8f 00 | .. | delta: 1920
| | | tick: 40320
0x0c0| ff 59 | .Y | event: "key signature" (65369)
0x0c0| 02 06 01 | ... | key: "D♯ minor" (1537)
| | | [24]{}: KeySignature
| | | time{}:
0x0c0| 8f 00 | .. | delta: 1920
| | | tick: 42240
0x0c0| ff 59 | .Y | event: "key signature" (65369)
0x0c0| 02 07 01 | ... | key: "A♯ minor" (1793)
| | | [25]{}: KeySignature
| | | time{}:
0x0c0| 8f| .| delta: 1920
0x0d0|00 |. |
| | | tick: 44160
0x0d0| ff 59 | .Y | event: "key signature" (65369)
0x0d0| 02 00 01 | ... | key: "A minor" (1)
| | | [26]{}: KeySignature
| | | time{}:
0x0d0| 8f 00 | .. | delta: 1920
| | | tick: 46080
0x0d0| ff 59 | .Y | event: "key signature" (65369)
0x0d0| 02 ff 01 | ... | key: "D minor" (65281)
| | | [27]{}: KeySignature
| | | time{}:
0x0d0| 9e 00 | .. | delta: 3840
| | | tick: 48000
0x0d0| ff| .| event: "key signature" (65369)
0x0e0|59 |Y |
0x0e0| 02 fe 01 | ... | key: "G minor" (65025)
| | | [28]{}: KeySignature
| | | time{}:
0x0e0| 8f 00 | .. | delta: 1920
| | | tick: 51840
0x0e0| ff 59 | .Y | event: "key signature" (65369)
0x0e0| 02 fd 01 | ... | key: "C minor" (64769)
| | | [29]{}: KeySignature
| | | time{}:
0x0e0| 8f 00 | .. | delta: 1920
| | | tick: 53760
0x0e0| ff 59 | .Y | event: "key signature" (65369)
0x0e0| 02| .| key: "F minor" (64513)
0x0f0|fc 01 |.. |
| | | [30]{}: KeySignature
| | | time{}:
0x0f0| 8f 00 | .. | delta: 1920
| | | tick: 55680
0x0f0| ff 59 | .Y | event: "key signature" (65369)
0x0f0| 02 fb 01 | ... | key: "B♭ minor" (64257)
| | | [31]{}: KeySignature
| | | time{}:
0x0f0| 8f 00 | .. | delta: 1920
| | | tick: 57600
0x0f0| ff 59 | .Y | event: "key signature" (65369)
0x0f0| 02 fa 01| ...| key: "E♭ minor" (64001)
| | | [32]{}: KeySignature
| | | time{}:
0x100|8f 00 |.. | delta: 1920
| | | tick: 59520
0x100| ff 59 | .Y | event: "key signature" (65369)
0x100| 02 f9 01 | ... | key: "A♭ minor" (63745)
| | | [33]{}: EndOfTrack
| | | time{}:
0x100| 00 | . | delta: 0
| | | tick: 61440
0x100| ff 2f | ./ | event: "end of track" (65327)
0x100| 00| | .| | length: 0