1
1
mirror of https://github.com/wader/fq.git synced 2024-12-01 19:12:34 +03:00
fq/format/midi/testdata/tempo.fqtest
twystd a7d0cde9f6 midi: cleaned up and simplied event decoding logic
- delineated NoteOn and NoteOff events
- simplified MIDI event decoding with function map
- decoded MIDI event and channel as nibbles
- reworked system exclusive event decoding
- fixed peekEvent to correctly decode end of file events
2024-09-01 16:41:38 -07:00

5 lines
133 B
Plaintext

$ fq -d midi '.. | select(.event=="tempo")?.tempo' midi/test.mid
exitcode: 2
stderr:
error: midi/test.mid: no such file or directory