[8d0b707] | 1 | <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ |
---|
| 2 | |
---|
| 3 | <!-- Process this file with docbook-to-man to generate an nroff manual |
---|
| 4 | page: `docbook-to-man manpage.sgml > manpage.1'. You may view |
---|
| 5 | the manual page with: `docbook-to-man manpage.sgml | nroff -man | |
---|
| 6 | less'. A typical entry in a Makefile or Makefile.am is: |
---|
| 7 | |
---|
| 8 | manpage.1: manpage.sgml |
---|
| 9 | docbook-to-man $< > $@ |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | The docbook-to-man binary is found in the docbook-to-man package. |
---|
| 13 | Please remember that if you create the nroff version in one of the |
---|
| 14 | debian/rules file targets (such as build), you will need to include |
---|
| 15 | docbook-to-man in your Build-Depends control field. |
---|
| 16 | |
---|
| 17 | --> |
---|
| 18 | |
---|
| 19 | <!-- Fill in your name for FIRSTNAME and SURNAME. --> |
---|
| 20 | <!ENTITY dhfirstname "<firstname>Paul</firstname>"> |
---|
| 21 | <!ENTITY dhsurname "<surname>Brossier</surname>"> |
---|
| 22 | <!-- Please adjust the date whenever revising the manpage. --> |
---|
| 23 | <!ENTITY dhdate "<date>December 1, 2004</date>"> |
---|
| 24 | <!-- SECTION should be 1-8, maybe w/ subsection other parameters are |
---|
| 25 | allowed: see man(7), man(1). --> |
---|
| 26 | <!ENTITY dhsection "<manvolnum>1</manvolnum>"> |
---|
| 27 | <!ENTITY dhemail "<email>piem@altern.org</email>"> |
---|
| 28 | <!ENTITY dhusername "Paul Brossier"> |
---|
| 29 | <!ENTITY dhucpackage "<refentrytitle>AUBIOPITCH</refentrytitle>"> |
---|
| 30 | <!ENTITY dhpackage "aubiopitch"> |
---|
| 31 | |
---|
| 32 | <!ENTITY debian "<productname>Debian</productname>"> |
---|
| 33 | <!ENTITY gnu "<acronym>GNU</acronym>"> |
---|
| 34 | <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> |
---|
| 35 | ]> |
---|
| 36 | |
---|
| 37 | <refentry> |
---|
| 38 | <refentryinfo> |
---|
| 39 | <address> |
---|
| 40 | &dhemail; |
---|
| 41 | </address> |
---|
| 42 | <author> |
---|
| 43 | &dhfirstname; |
---|
| 44 | &dhsurname; |
---|
| 45 | </author> |
---|
| 46 | <copyright> |
---|
| 47 | <year>2003</year> |
---|
| 48 | <holder>&dhusername;</holder> |
---|
| 49 | </copyright> |
---|
| 50 | &dhdate; |
---|
| 51 | </refentryinfo> |
---|
| 52 | <refmeta> |
---|
| 53 | &dhucpackage; |
---|
| 54 | |
---|
| 55 | &dhsection; |
---|
| 56 | </refmeta> |
---|
| 57 | <refnamediv> |
---|
| 58 | <refname>&dhpackage;</refname> |
---|
| 59 | |
---|
[beea3cf] | 60 | <refpurpose>a command line tool to extract pitch candidates from sound files.</refpurpose> |
---|
[8d0b707] | 61 | |
---|
| 62 | </refnamediv> |
---|
| 63 | <refsynopsisdiv> |
---|
| 64 | <cmdsynopsis> |
---|
| 65 | <command>&dhpackage; <parameter>[options] -i soundfile</parameter></command> |
---|
| 66 | </cmdsynopsis> |
---|
| 67 | </refsynopsisdiv> |
---|
| 68 | <refsect1> |
---|
| 69 | <title>DESCRIPTION</title> |
---|
| 70 | |
---|
| 71 | <para>This manual page documents briefly the <command>&dhpackage;</command> command.</para> |
---|
| 72 | |
---|
[beea3cf] | 73 | <para>The <emphasis>aubio</emphasis> library provides a small set of |
---|
| 74 | functions to extract events and objects from audio, from live streams or |
---|
| 75 | still files. Onsets are used to label the beginning of notes, pitches to |
---|
| 76 | label their height.</para> |
---|
| 77 | |
---|
| 78 | <para><command>&dhpackage;</command> attempts to extract fundamental |
---|
| 79 | frequency in sound files. When no pitch candidate is found, the output is |
---|
| 80 | 0. Five fundamental frequency extraction methods are available. Results can |
---|
| 81 | be printed in Hertz or in MIDI pitch.</para> |
---|
| 82 | |
---|
| 83 | <para>A plotting module is available via the Gnuplot Python package.</para> |
---|
[8d0b707] | 84 | |
---|
| 85 | </refsect1> |
---|
| 86 | <refsect1> |
---|
| 87 | <title>OPTIONS</title> |
---|
| 88 | |
---|
| 89 | <para>This program follows the usual GNU command line syntax, with long |
---|
| 90 | options starting with two dashes (`-'). A summary of options is included |
---|
| 91 | below.</para> |
---|
| 92 | |
---|
| 93 | <variablelist> |
---|
| 94 | <varlistentry> |
---|
| 95 | <term><option>-i</option> |
---|
| 96 | <option>--input filein</option></term> |
---|
| 97 | <listitem> |
---|
| 98 | <para>input sound file</para> |
---|
| 99 | </listitem> |
---|
| 100 | </varlistentry> |
---|
| 101 | <varlistentry> |
---|
| 102 | <term><option>-m</option> |
---|
| 103 | <option>--mode pitch_detection_mode</option></term> |
---|
| 104 | <listitem> |
---|
| 105 | <para>pitch detection mode [default=mcomb] mcomb|yin|fcomb|schmitt</para> |
---|
| 106 | </listitem> |
---|
| 107 | </varlistentry> |
---|
| 108 | <varlistentry> |
---|
| 109 | <term><option>-u</option> |
---|
| 110 | <option>--units unitmode</option></term> |
---|
| 111 | <listitem> |
---|
| 112 | <para>output pitch in units [default=Hz] freq|midi|cent|bin</para> |
---|
| 113 | </listitem> |
---|
| 114 | </varlistentry> |
---|
| 115 | <varlistentry> |
---|
| 116 | <term><option>-B</option> |
---|
| 117 | <option>--bufsize=BUFSIZE</option></term> |
---|
| 118 | <listitem> |
---|
| 119 | <para>buffer size [default=1024]</para> |
---|
| 120 | </listitem> |
---|
| 121 | </varlistentry> |
---|
| 122 | <varlistentry> |
---|
| 123 | <term><option>-H</option> |
---|
| 124 | <option>--hopsize=HOPSIZE</option></term> |
---|
| 125 | <listitem> |
---|
| 126 | <para>overlap size [default=512]</para> |
---|
| 127 | </listitem> |
---|
| 128 | </varlistentry> |
---|
| 129 | <varlistentry> |
---|
| 130 | <term><option>-t</option> |
---|
| 131 | <option>--threshold=THRESHOLD</option></term> |
---|
| 132 | <listitem> |
---|
| 133 | <para>pitch threshold (for yin) [default=0.1]</para> |
---|
| 134 | </listitem> |
---|
| 135 | </varlistentry> |
---|
| 136 | <varlistentry> |
---|
| 137 | <term><option>-s</option> |
---|
| 138 | <option>--silence=SILENCE</option></term> |
---|
| 139 | <listitem> |
---|
| 140 | <para>silence threshold [default=-70]</para> |
---|
| 141 | </listitem> |
---|
| 142 | </varlistentry> |
---|
| 143 | <varlistentry> |
---|
| 144 | <term><option>-D</option> |
---|
| 145 | <option>--delay=DELAY</option></term> |
---|
| 146 | <listitem> |
---|
[1281e5c] | 147 | <para>number of seconds to take back [default=0]</para> |
---|
[8d0b707] | 148 | </listitem> |
---|
| 149 | </varlistentry> |
---|
| 150 | <varlistentry> |
---|
[1281e5c] | 151 | <term><option>-S</option> |
---|
| 152 | <option>--smoothing=frames</option></term> |
---|
[8d0b707] | 153 | <listitem> |
---|
[1281e5c] | 154 | <para>temporal smoothing using a median filter of N frames [default=0]</para> |
---|
[8d0b707] | 155 | </listitem> |
---|
| 156 | </varlistentry> |
---|
| 157 | <varlistentry> |
---|
[1281e5c] | 158 | <term><option>-M</option> |
---|
| 159 | <option>--pitchmax=max</option></term> |
---|
[8d0b707] | 160 | <listitem> |
---|
[1281e5c] | 161 | <para>maximum pitch values to look for (Hz) [default=20000]</para> |
---|
| 162 | </listitem> |
---|
| 163 | </varlistentry> |
---|
| 164 | <varlistentry> |
---|
| 165 | <term><option>-l</option> |
---|
| 166 | <option>--pitchmin=min</option></term> |
---|
| 167 | <listitem> |
---|
| 168 | <para>minimum pitch values to look for (Hz) [default=20]</para> |
---|
[8d0b707] | 169 | </listitem> |
---|
| 170 | </varlistentry> |
---|
| 171 | <varlistentry> |
---|
| 172 | <term><option>-n</option> |
---|
| 173 | <option>--note</option></term> |
---|
| 174 | <listitem> |
---|
| 175 | <para>NOT IMPLEMENTED output notes</para> |
---|
| 176 | </listitem> |
---|
| 177 | </varlistentry> |
---|
| 178 | <varlistentry> |
---|
[beea3cf] | 179 | <term><option>-q</option> |
---|
| 180 | <option>--quiet</option></term> |
---|
| 181 | <listitem> |
---|
| 182 | <para>be quiet</para> |
---|
| 183 | </listitem> |
---|
| 184 | </varlistentry> |
---|
| 185 | <varlistentry> |
---|
| 186 | <term><option>-h</option> |
---|
| 187 | <option>--help</option></term> |
---|
| 188 | <listitem> |
---|
| 189 | <para>Show a summary of options.</para> |
---|
| 190 | </listitem> |
---|
| 191 | </varlistentry> |
---|
| 192 | <varlistentry> |
---|
| 193 | <term><option>-v</option> |
---|
| 194 | <option>--verbose</option></term> |
---|
| 195 | <listitem> |
---|
| 196 | <para>make lots of noise [default]</para> |
---|
| 197 | </listitem> |
---|
| 198 | </varlistentry> |
---|
| 199 | </variablelist> |
---|
| 200 | |
---|
| 201 | <refsect2> |
---|
| 202 | <title>Plotting options</title> |
---|
| 203 | |
---|
| 204 | <para>When the Python interface to Gnuplot is installed, the following |
---|
| 205 | additional options are available.</para> |
---|
| 206 | |
---|
| 207 | <variablelist> |
---|
| 208 | <varlistentry> |
---|
[8d0b707] | 209 | <term><option>-p</option> |
---|
| 210 | <option>--plot</option></term> |
---|
| 211 | <listitem> |
---|
[1281e5c] | 212 | <para>draw plot of the pitch track</para> |
---|
| 213 | </listitem> |
---|
| 214 | </varlistentry> |
---|
| 215 | <varlistentry> |
---|
| 216 | <term><option>-T</option> |
---|
| 217 | <option>--plottruth</option></term> |
---|
| 218 | <listitem> |
---|
| 219 | <para>draw plot of the ground truth pitch track</para> |
---|
[8d0b707] | 220 | </listitem> |
---|
| 221 | </varlistentry> |
---|
| 222 | <varlistentry> |
---|
[beea3cf] | 223 | <term><option>-x</option> |
---|
| 224 | <option>--xsize=SIZE</option></term> |
---|
[8d0b707] | 225 | <listitem> |
---|
[beea3cf] | 226 | <para>define horizontal plot size [default=1.]</para> |
---|
[8d0b707] | 227 | </listitem> |
---|
| 228 | </varlistentry> |
---|
| 229 | <varlistentry> |
---|
[beea3cf] | 230 | <term><option>-y</option> |
---|
| 231 | <option>--ysize=SIZE</option></term> |
---|
[8d0b707] | 232 | <listitem> |
---|
[beea3cf] | 233 | <para>define vertical plot size [default=1.]</para> |
---|
[8d0b707] | 234 | </listitem> |
---|
| 235 | </varlistentry> |
---|
| 236 | <varlistentry> |
---|
[beea3cf] | 237 | <term><option>-O</option> |
---|
| 238 | <option>--outplot=OUTPLOT</option></term> |
---|
[8d0b707] | 239 | <listitem> |
---|
[beea3cf] | 240 | <para>save plot to output.{ps,eps,png,svg} instead of displaying it</para> |
---|
[8d0b707] | 241 | </listitem> |
---|
| 242 | </varlistentry> |
---|
[beea3cf] | 243 | </variablelist> |
---|
| 244 | </refsect2> |
---|
| 245 | |
---|
| 246 | </refsect1> |
---|
| 247 | <refsect1> |
---|
| 248 | <title>BUGS</title> |
---|
[8d0b707] | 249 | |
---|
[beea3cf] | 250 | <para>For now the program has only been tested on audio signals sampled at |
---|
| 251 | 44.1 kHz.</para> |
---|
| 252 | |
---|
| 253 | </refsect1> |
---|
[8d0b707] | 254 | |
---|
| 255 | <refsect1> |
---|
| 256 | <title>SEE ALSO</title> |
---|
| 257 | |
---|
| 258 | <para> |
---|
| 259 | <command>aubioonset</command>(1) |
---|
| 260 | <command>aubiotrack</command>(1) |
---|
[beea3cf] | 261 | <command>aubionotes</command>(1) |
---|
| 262 | <command>aubiocut</command>(1) |
---|
[8d0b707] | 263 | </para> |
---|
| 264 | |
---|
| 265 | </refsect1> |
---|
| 266 | |
---|
| 267 | <refsect1> |
---|
| 268 | <title>AUTHOR</title> |
---|
| 269 | |
---|
| 270 | <para>This manual page was written by &dhusername; (&dhemail;). Permission |
---|
| 271 | is granted to copy, distribute and/or modify this document under the terms |
---|
| 272 | of the &gnu; General Public License, Version 2 any later version published |
---|
| 273 | by the Free Software Foundation.</para> |
---|
| 274 | |
---|
| 275 | <para>On Debian systems, the complete text of the GNU General Public |
---|
| 276 | License can be found in /usr/share/common-licenses/GPL.</para> |
---|
| 277 | |
---|
| 278 | </refsect1> |
---|
| 279 | </refentry> |
---|
| 280 | |
---|
| 281 | <!-- Keep this comment at the end of the file |
---|
| 282 | Local variables: |
---|
| 283 | mode: sgml |
---|
| 284 | sgml-omittag:t |
---|
| 285 | sgml-shorttag:t |
---|
| 286 | sgml-minimize-attributes:nil |
---|
| 287 | sgml-always-quote-attributes:t |
---|
| 288 | sgml-indent-step:2 |
---|
| 289 | sgml-indent-data:t |
---|
| 290 | sgml-parent-document:nil |
---|
| 291 | sgml-default-dtd-file:nil |
---|
| 292 | sgml-exposed-tags:nil |
---|
| 293 | sgml-local-catalogs:nil |
---|
| 294 | sgml-local-ecat-files:nil |
---|
| 295 | End: |
---|
| 296 | --> |
---|
| 297 | |
---|
| 298 | |
---|