$ fq -d midi 'grep_by(.event=="NoteOn" or .event=="NoteOff") | [.time.tick, .note] | join(" ")' test.mid