Questions tagged [aubio]

A tool designed for the extraction of annotations from audio signals. Its features include segmenting a sound file before each of its attacks, performing pitch detection, tapping the beat and producing midi streams from live audio.

From aubio.org:

What is aubio?

aubio is a tool designed for the extraction of annotations from audio signals. Its features include segmenting a sound file before each of its attacks, performing pitch detection, tapping the beat and producing midi streams from live audio.

Because these tasks are difficult, we thought it was important to gather them in a dedicated library. To increase the fun, we have made these algorithms work in a causal way, so as to be used in real time applications with as low delay as possible. Functions can be used offline in sound editors and software samplers, or online in audio effects and virtual instruments.

Features

aubio currently provides the following features:

  • digital filters
  • phase vocoder
  • onset detection (several methods)
  • pitch tracking (several methods)
  • beat and tempo tracking
  • mel frequency cepstrum coefficients (MFCC)
  • transient / steady-state separation

Implementation

aubio is written in C. The functions can be called from C++, and a wrapper has been written using SWIG. The python interface is already usable, and it would probably be a matter of seconds to add access to the other languages supported by SWIG (including perl, java and many more).

Currently, aubio depends on libsndfile, libsamplerate and FFTW. On Linux platforms, aubio can be built using JACK, and ALSA.

54 questions
11
votes
0 answers

Sampling audio in real time using Aubio without stopping recording audio AND video iPhone/iPad

Swift 2.2 Xcode 7.3 Aubio 0.4.3 (aubio-0.4.3~const.iosuniversal_framework) iOS 9.3 Target Test Device - iPad Air bufferSize: 2048 numSamplesInBuffer: 1024 Sample Rate: 44100 Caveats: I have intentionally left AVCaptureVideo code in my upcoming…
Brian Ogden
  • 18,439
  • 10
  • 97
  • 176
8
votes
4 answers

How to use aubio framework in iOS?

I am trying to detect beat, pitch, onset, and fast Fourier Transform (FFT) of audio file in iOS and I found that aubio provides these features and iOS framework also available. So far, I am using The Amazing Audio Engine to receive audio data in…
Protocole
  • 1,733
  • 11
  • 28
  • 42
7
votes
1 answer

Hop_Size meaning in aubio

I'm trying to use the aubio(https://aubio.org) library for pitch detection. I'm trying to use the API for C and one of the parameters of the new_aubio_pitch function is hop_size. What does hop_size mean and how do you choose one?
sher222
  • 135
  • 1
  • 8
6
votes
1 answer

Aubio for BPM tracking on Android

I am working on a android audio project which requires BPM tracking. I decided that writing my own would not be a good idea and after looking around, I found a few libraries that does BPM tracking such as aubio, vamp, echonest etc. Out of the lot…
Gan
  • 1,349
  • 2
  • 10
  • 27
5
votes
3 answers

Is aubio cross-compilable for iPhone/Android/ARM?

Anyone know of: A build of the Aubio library for iPhone/ARM processor? An intro-to-cross-compiling resource so I can try it myself?
buildsucceeded
  • 4,203
  • 4
  • 34
  • 72
5
votes
1 answer

Getting error code ('wht?') in ExtAudioFileOpenURL in Swift when using aubio to read file

I'm using aubio to analyse an audio file, but when I try to use the function new_aubio_source like this: let source = new_aubio_source(StringToUnsafeMutablePointerChar_t(url.absoluteString), 0, 512) I always get these errors. AUBIO ERROR:…
desperado
  • 213
  • 1
  • 11
4
votes
1 answer

How to convert human voice to musical note in Android?

I am trying to store analog data from Android mike to musical notes such as a4,b1.. I tried working with aubio.org . But its written in C. Is there any other open source for doing it. If aubio is the way to do it how can i do it.
Ranjithkumar
  • 697
  • 6
  • 16
3
votes
4 answers

How do I perform windowing on an incoming signal?

I'm using the Aubio library; I can't find this anywhere in the docs at aubio.org or on the internet. When doing processing (specifically pitch detection with aubio_pitch_detect in my case) does Aubio do anything to the incoming audio arrays in terms…
buildsucceeded
  • 4,203
  • 4
  • 34
  • 72
3
votes
2 answers

How to find the tempo of a .wav with aubio?

I'm looking to detect the tempo of an audio file in python 3.6, but I don't really understand the doc about aubio. Would someone please indicate how to extract the tempo with aubio or another library?
P G
  • 31
  • 1
  • 3
3
votes
1 answer

Analyze sound live with aubio?

Is there any way for the aubio library to analyze sound live? I can get it to analyze a saved audio file just fine, but it does not seem to want to work with microphone inputs. Documentation for the Python library seems just about non-existent. All…
cat40
  • 318
  • 1
  • 4
  • 13
2
votes
1 answer

Pitch / Note detection using Aubio or PyAudio

Problem: I am trying to write some code in python which will detect the pitch/note of the live feed from the microphone. So basically I will be playing a note on my guitar and my code has to check and tell me which note it is. Research: I have…
2
votes
0 answers

Determine fundamental frequency of speaking voice

I am trying to determine the perceived pitch of an audio sample (voice only, no background or music) to then identify the voice as bass, tenor, alto, mezzo-soprano, soprano. To do so, I use aubio which returns a list of timecodes and the respective…
Armin Hierstetter
  • 1,078
  • 2
  • 12
  • 27
2
votes
0 answers

How do I build/compile Aubio for Android?

Aubio is a tool, written in C, that analyzes sound files. It is compatible for android, ios and many more platforms. My Question: Is there a step by step guide on how to build aubio for android - or at least a list of all the tools needed (waf, ndk,…
Sami
  • 21
  • 1
2
votes
1 answer

Correct configuration of Aubio / Alsaaudio

I am trying to use aubio and python for a school project, here's the goal : detect when someone emit two sounds, each with a length of 2s, and with an interval between them of max 3s. The second one need to be higher than the first one. When these…
EStt
  • 41
  • 6
2
votes
0 answers

Get duration of each word in an audio file

Is it possible to get an approximate duration of each word in an audio file? The closest thing (for audio files from youtube videos) is to download the captions file as an srt. The srt will then have the duration for each sentence in the video. I…
Karup
  • 2,024
  • 3
  • 22
  • 48
1
2 3 4