DOKK / manpages / debian 12 / aubio-tools / aubio.1.en
AUBIO(1) aubio User's manual AUBIO(1)

aubio - a command line tool to extract information from sound files

aubio [-h] [-V] <command> ...

The general syntax is "aubio <command> <soundfile> [options]". The following commands are available:

get onset times
extract fundamental frequency
get locations of beats
get overall tempo in bpm
get midi-like notes
extract mel-frequency cepstrum coefficients
extract mel-frequency energies per band

For a list of available commands, use "aubio -h". For more info about each command, use "aubio <command> --help".

These options can be used before any command has been specified.

show help message and exit
show version

The following options can be used with all commands:

<source_uri>, -i <source_uri>, --input <source_uri>
input sound file to analyse (required)
samplerate at which the file should be represented (default: 0, e.g. samplerate of the input sound)
overlap size, number of samples between two consecutive analysis (default: 256)
buffer size, number of samples used for each analysis, (e.g. FFT length, default: 512)
show help message and exit
select time values output format (samples, ms, seconds) (default: seconds)
be verbose (increment verbosity by 1, default: 1)
be quiet (set verbosity to 0)

The following additional options can be used with the "onset" subcommand.

onset novelty function <default|energy|hfc|complex|phase|specdiff|kl|mkl|specflux> (default: default)
threshold (default: unset)
silence threshold, in dB (default: -70)
minimum Inter-Onset Interval (default: 12ms)

The following additional options can be used with the "pitch" subcommand.

pitch detection method <default|yinfft|yin|mcomb|fcomb|schmitt> (default: default, e.g. yinfft)
tolerance (default: unset)
silence threshold, in dB (default: -70)

The default buffer size for the beat algorithm is 2048. The default hop size is 256.

The "beat" command accepts all common options and no additional options.

The default buffer size for the beat algorithm is 1024. The default hop size is 512.

The "tempo" command accepts all common options and no additional options.

The default buffer size for the beat algorithm is 1024. The default hop size is 512.

The following additional options can be used with the "notes" subcommand.

silence threshold, in dB (default: -70)
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).

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

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

Extract onsets using a minimum inter-onset interval of 30ms:


aubio onset /path/to/input_file -M 30ms
Extract pitch with method "mcomb" and a silence threshold of -90dB:


aubio pitch /path/to/input_file -m mcomb -s -90.0
Extract MFCC using the standard Slaney implementation:


aubio mfcc /path/to/input_file -r 44100

aubiocut(1)

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.

30 January 2023 aubio 0.4.9