summaryrefslogtreecommitdiffstats
path: root/libraries/aubio/man/aubio.1
blob: 7076e42229b7cfeac7c1885e95be762bbbbaae49 (plain)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
.\" Text automatically generated by txt2man
.TH AUBIO 1 "22 July 2023" "aubio 0.4.9" "aubio User's manual"
.SH NAME
\fBaubio \fP- a command line tool to extract information from sound files
\fB
.SH SYNOPSIS
.nf
.fam C

\fBaubio\fP [\fB-h\fP] [\fB-V\fP] <command> \.\.\.

.fam T
.fi
.fam T
.fi
.SH COMMANDS

The general syntax is "\fBaubio\fP <command> <soundfile> [options]". The following
commands are available:
.TP
.B
onset
get onset times
.TP
.B
pitch
extract fundamental frequency
.TP
.B
beat
get locations of beats
.TP
.B
tempo
get overall tempo in bpm
.TP
.B
notes
get midi-like notes
.TP
.B
mfcc
extract mel-frequency cepstrum coefficients
.TP
.B
melbands
extract mel-frequency energies per band
.PP
For a list of available commands, use "\fBaubio\fP \fB-h\fP". For more info about each
command, use "\fBaubio\fP <command> \fB--help\fP".
.SH GENERAL OPTIONS

These options can be used before any command has been specified.
.TP
.B
\fB-h\fP, \fB--help\fP
show help message and exit
.TP
.B
\fB-V\fP, \fB--version\fP
show version
.SH COMMON OPTIONS

The following options can be used with all commands:
.TP
.B
<source_uri>, \fB-i\fP <source_uri>, \fB--input\fP <source_uri>
input sound file to
analyse (required)
.TP
.B
\fB-r\fP <freq>, \fB--samplerate\fP <freq>
samplerate at which the file should be
represented (default: 0, e.g. samplerate of the input sound)
.TP
.B
\fB-H\fP <size>, \fB--hopsize\fP <size>
overlap size, number of samples between two
consecutive analysis (default: 256)
.TP
.B
\fB-B\fP <size>, \fB--bufsize\fP <size>
buffer size, number of samples used for each
analysis, (e.g. FFT length, default: 512)
.TP
.B
\fB-h\fP, \fB--help\fP
show help message and exit
.TP
.B
\fB-T\fP format, \fB--time-format\fP format
select time values output format (samples,
ms, seconds) (default: seconds)
.TP
.B
\fB-v\fP, \fB--verbose\fP
be verbose (increment verbosity by 1, default: 1)
.TP
.B
\fB-q\fP, \fB--quiet\fP
be quiet (set verbosity to 0)
.SH ONSET

The following additional options can be used with the "onset" subcommand.
.TP
.B
\fB-m\fP <method>, \fB--method\fP <method>
onset novelty function
<default|energy|hfc|complex|phase|specdiff|kl|mkl|specflux> (default:
default)
.TP
.B
\fB-t\fP <threshold>, \fB--threshold\fP <threshold>
threshold (default: unset)
.TP
.B
\fB-s\fP <value>, \fB--silence\fP <value>
silence threshold, in dB (default: \fB-70\fP)
.TP
.B
\fB-M\fP <value>, \fB--minioi\fP <value>
minimum Inter-Onset Interval (default: 12ms)
.SH PITCH

The following additional options can be used with the "pitch" subcommand.
.TP
.B
\fB-m\fP <method>, \fB--method\fP <method>
pitch detection method
<default|yinfft|yin|mcomb|fcomb|schmitt> (default: default, e.g. yinfft)
.TP
.B
\fB-t\fP <threshold>, \fB--threshold\fP <threshold>
tolerance (default: unset)
.TP
.B
\fB-s\fP <value>, \fB--silence\fP <value>
silence threshold, in dB (default: \fB-70\fP)
.PP
The default buffer size for the beat algorithm is 2048. The default hop size
is 256.
.SH BEAT

The "beat" command accepts all common options and no additional options.
.PP
The default buffer size for the beat algorithm is 1024. The default hop size
is 512.
.SH TEMPO

The "tempo" command accepts all common options and no additional options.
.PP
The default buffer size for the beat algorithm is 1024. The default hop size
is 512.
.SH NOTES

The following additional options can be used with the "notes" subcommand.
.TP
.B
\fB-s\fP <value>, \fB--silence\fP <value>
silence threshold, in dB (default: \fB-70\fP)
.TP
.B
\fB-d\fP <value>, \fB--release-drop\fP <value>
release drop level, in dB. If the level
drops more than this amount since the last note started, the note will be
turned off (default: 10).
.SH MFCC

The "mfcc" command accepts all common options and no additional options.
.SH MELBANDS

The "melbands" command accepts all common options and no additional options.
.SH EXAMPLES

Extract onsets using a minimum inter-onset interval of 30ms:
.PP
.nf
.fam C
    aubio onset /path/to/input_file -M 30ms

.fam T
.fi
Extract pitch with method "mcomb" and a silence threshold of \fB-90dB\fP:
.PP
.nf
.fam C
    aubio pitch /path/to/input_file -m mcomb -s -90.0

.fam T
.fi
Extract MFCC using the standard Slaney implementation:
.PP
.nf
.fam C
    aubio mfcc /path/to/input_file -r 44100


.fam T
.fi
.SH SEE ALSO

\fBaubiocut\fP(1)
.SH AUTHOR

This manual page was written by Paul Brossier <piem@aubio.org>. Permission is
granted to copy, distribute and/or modify this document under the terms of
the GNU General Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version.