OnWorks favicon

aubiopitch - Online in the Cloud

Run aubiopitch in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command aubiopitch that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



aubiopitch - a command line tool to extract musical pitch


aubiopitch source
aubiopitch [[-i] source] [-o sink]
[-r rate] [-B win] [-H hop]
[-p method] [-u unit] [-l thres]
[-s sil] [-f]
[-v] [-h] [-j]


aubiopitch attempts to detect the pitch, the perceived height of a musical note.

When started with an input source (-i/--input), the detected pitch are printed on the
console, prefixed by a timestamp in seconds. If no pitch candidate is found, the output is

When started without an input source, or with the jack option (-j/--jack), aubiopitch
starts in jack mode.


This program follows the usual GNU command line syntax, with long options starting with
two dashes (--). A summary of options is included below.

-i, --input source
Run analysis on this audio file. Most uncompressed and compressed are supported,
depending on how aubio was built.

-o, --output sink
Save results in this file. The file will be created on the model of the input file.
The detected frequency is played at the detected loudness.

-r, --samplerate rate
Fetch the input source, resampled at the given sampling rate. The rate should be
specified in Hertz as an integer. If 0, the sampling rate of the original source
will be used. Defaults to 0.

-B, --bufsize win
The size of the buffer to analyze, that is the length of the window used for
spectral and temporal computations. Defaults to 2048.

-H, --hopsize hop
The number of samples between two consecutive analysis. Defaults to 256.

-p, --pitch method
The pitch detection method to use. See PITCH METHODS below. Defaults to 'default'.

-u, --pitch-unit unit
The unit to be used to print frequencies. Possible values include midi, bin, cent,
and Hz. Defaults to 'Hz'.

-l, --pitch-tolerance thres
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.

-s, --silence sil
Set the silence threshold, in dB, under which the onset will not be detected. A
value of -20.0 would eliminate most onsets but the loudest ones. A value of -90.0
would select all onsets. Defaults to -90.0.

-m, --mix-input
Mix source signal to the output signal before writing to sink.

-f, --force-overwrite
Overwrite output file if it already exists.

-j, --jack
Use Jack input/output. You will need a Jack connection controller to feed aubio
some signal and listen to its output.

-h, --help
Print a short help message and exit.

-v, --verbose
Be verbose.


Available methods are:

use the default method

Currently, the default method is set to yinfft.

Schmitt trigger

This pitch extraction method implements a Schmitt trigger to estimate the period of a
signal. It is computationally very inexpensive, but also very sensitive to noise.

fcomb a fast harmonic comb filter

This pitch extraction method implements a fast harmonic comb filter to determine the
fundamental frequency of a harmonic sound.

mcomb multiple-comb filter

This fundamental frequency estimation algorithm implements spectral flattening, multi-comb
filtering and peak histogramming.

Spectral auto-correlation function

yin YIN algorithm

This algorithm was developped by A. de Cheveigne and H. Kawahara and was first published

De Cheveigné, A., Kawahara, H. (2002) "YIN, a fundamental frequency estimator for speech
and music", J. Acoust. Soc. Am. 111, 1917-1930.

yinfft Yinfft algorithm

This algorithm was derived from the YIN algorithm. In this implementation, a Fourier
transform is used to compute a tapered square difference function, which allows spectral
weighting. Because the difference function is tapered, the selection of the period is

Paul Brossier, Automatic annotation of musical audio for interactive systems, Chapter 3,
Pitch Analysis, PhD thesis, Centre for Digital music, Queen Mary University of London,
London, UK, 2006.

Use aubiopitch online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    Download OpenPDF - Fork of iText
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    Download D3.js
  • 6
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    It ha...
    Download Shadowsocks
  • 7
    GLPI Themes
    GLPI Themes
    Download release at
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • More »

Linux commands