summaryrefslogtreecommitdiffstats
path: root/libraries/aubio/man/aubionotes.1
blob: 88c93620b2ca922dd09f2fbcf0bd5904f6662160 (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
.\" Text automatically generated by txt2man
.TH AUBIONOTES 1 "22 July 2023" "aubio 0.4.9" "aubio User's manual"
.SH NAME
\fBaubionotes \fP- a command line tool to extract musical notes
\fB
.SH SYNOPSIS
.nf
.fam C

\fBaubionotes\fP \fIsource\fP
\fBaubionotes\fP [[\fB-i\fP] \fIsource\fP]
           [\fB-r\fP \fIrate\fP] [\fB-B\fP \fIwin\fP] [\fB-H\fP \fIhop\fP]
           [\fB-O\fP \fImethod\fP] [\fB-t\fP \fIthres\fP] [\fB-d\fP \fIdrop\fP]
           [\fB-p\fP \fImethod\fP] [\fB-u\fP \fIunit\fP] [\fB-l\fP \fIthres\fP]
           [\fB-T\fP \fItime-format\fP]
           [\fB-s\fP \fIsil\fP]
           [\fB-j\fP] [\fB-v\fP] [\fB-h\fP]

.fam T
.fi
.fam T
.fi
.SH DESCRIPTION

\fBaubionotes\fP attempts to detect notes by looking for note onsets and pitches.
Consecutive events are segmented using onset detection, while a fundamental
frequency extraction algorithm determines their pitch.
.PP
When started with an input \fIsource\fP (\fB-i\fP/\fB--input\fP), the detected notes are
printed on standard output, in seconds and midi note number.
.PP
When started without an input \fIsource\fP, or with the jack option (\fB-j\fP/\fB--jack\fP),
\fBaubionotes\fP starts in jack mode.
.SH OPTIONS

This program follows the usual GNU command line syntax, with long options
starting with two dashes (--). A summary of options is included below.
.TP
.B
\fB-i\fP, \fB--input\fP \fIsource\fP
Run analysis on this audio file. Most uncompressed and
compressed are supported, depending on how aubio was built.
.TP
.B
\fB-r\fP, \fB--samplerate\fP \fIrate\fP
Fetch the input \fIsource\fP, resampled at the given
sampling \fIrate\fP. The \fIrate\fP should be specified in Hertz as an integer. If 0,
the sampling \fIrate\fP of the original \fIsource\fP will be used. Defaults to 0.
.TP
.B
\fB-B\fP, \fB--bufsize\fP \fIwin\fP
The size of the buffer to analyze, that is the length
of the window used for spectral and temporal computations. Defaults to 512.
.TP
.B
\fB-H\fP, \fB--hopsize\fP \fIhop\fP
The number of samples between two consecutive analysis.
Defaults to 256.
.TP
.B
\fB-O\fP, \fB--onset\fP \fImethod\fP
The onset detection \fImethod\fP to use. See ONSET METHODS
below. Defaults to 'default'.
.TP
.B
\fB-t\fP, \fB--onset-threshold\fP \fIthres\fP
Set the threshold value for the onset peak
picking. Typical values are typically within 0.001 and 0.900. Defaults to
0.1. Lower threshold values imply more onsets detected. Try 0.5 in case of
over-detections. Defaults to 0.3.
.TP
.B
\fB-M\fP, \fB--minioi\fP value
Set the minimum inter-onset interval, in seconds, the
shortest interval between two consecutive notes. Defaults to 0.030
.TP
.B
\fB-p\fP, \fB--pitch\fP \fImethod\fP
The pitch detection \fImethod\fP to use. See PITCH METHODS
below. Defaults to 'default'.
.TP
.B
\fB-u\fP, \fB--pitch\fP-\fIunit\fP \fIunit\fP
The \fIunit\fP to be used to print frequencies. Possible
values include midi, bin, cent, and Hz. Defaults to 'Hz'.
.TP
.B
\fB-l\fP, \fB--pitch-tolerance\fP \fIthres\fP
Set the tolerance for the pitch detection
algorithm. Typical values range between 0.2 and 0.9. Pitch candidates found
with a confidence less than this threshold will not be selected. The higher
the threshold, the more confidence in the candidates. Defaults to unset.
.TP
.B
\fB-s\fP, \fB--silence\fP \fIsil\fP
Set the silence threshold, in dB, under which the pitch
will not be detected. A value of \fB-20.0\fP would eliminate most onsets but the
loudest ones. A value of \fB-90.0\fP would select all onsets. Defaults to \fB-90.0\fP.
.TP
.B
\fB-d\fP, \fB--release\fP-\fIdrop\fP
Set the release \fIdrop\fP threshold, in dB. If the level drops
more than this amount since the last note started, the note will be turned
off. Defaults to 10.
.TP
.B
\fB-T\fP, \fB--timeformat\fP format
Set time format (samples, ms, seconds). Defaults to
seconds.
.TP
.B
\fB-j\fP, \fB--jack\fP
Use Jack input/output. You will need a Jack connection
controller to feed aubio some signal and listen to its output.
.TP
.B
\fB-h\fP, \fB--help\fP
Print a short help message and exit.
.TP
.B
\fB-v\fP, \fB--verbose\fP
Be verbose.
.SH ONSET METHODS

Available methods: default, energy, hfc, complex, phase, specdiff, kl, mkl,
specflux.
.PP
See \fBaubioonset\fP(1) for details about these methods.
.SH PITCH METHODS

Available methods: default, schmitt, fcomb, mcomb, specacf, yin, yinfft,
yinfast.
.PP
See \fBaubiopitch\fP(1) for details about these methods.
.SH SEE ALSO

\fBaubioonset\fP(1),
\fBaubiopitch\fP(1),
\fBaubiotrack\fP(1),
\fBaubioquiet\fP(1),
\fBaubiomfcc\fP(1),
and
\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.