-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmidi-json.1
77 lines (77 loc) · 1.67 KB
/
midi-json.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
'\" t
.TH MIDI-JSON 1 "4 JUL 2014"
.UC 4
.SH NAME
midi-json \- translate MIDI file to a json array of MIDI events
.SH SYNOPSIS
.B midi-json
[
.B \-u
.B \-v
] [
.I infile
[
.I outfile
] ]
.SH DESCRIPTION
.B midi-json
reads a standard MIDI file and decodes it into a
json array of events, each event with type, track and time
parameters. This script was adapted from midiscsv by John Walker
and preserves all data within the MIDIFILE
information in the MIDI file.
.B midi-json
.SH OPTIONS
.TP 10
.B \-u
Print how-to-call information.
.TP
.B \-v
Print verbose debugging information on standard
error. The MIDI file header is dumped, along
with the length of each track in the file.
.SH FILES
If no
.I infile
is specified or
.I infile
is
.RB `` \- '',
.B midi-json
reads its input from standard input; if no
.I outfile
is given or
.I outfile
is
.RB `` \- '',
CSV output is written to standard output. The input and
output are processed in a strictly serial manner; consequently
.B midi-json
may be used in pipelines without restrictions.
.SH BUGS
.PP
.B midi-json
assumes its input is a well-formed standard MIDI file;
while some error checking is performed, gross errors in
the input file may cause
.B midi-json
to crash.
.PP
Please report problems to
.BR [email protected] .
.SH "SEE ALSO"
.PD
.BR midi-json (5)
.ne 10
.SH AUTHOR
.ce 2
Pube Douchevitz
http://www.spermwhale.info/
John Walker
http://www.fourmilab.ch/
.PP
This software is in the public domain.
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
without any conditions or restrictions. This software is provided ``as
is'' without express or implied warranty.