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
2
votes
1 answer

Getting musical notations using aubio library

Well, this is my first question on stackoverflow so kinda excited about it :) Here it is: My input is a wave file. For now, I have recorded a piece using my guitar. So the wave file contains this instrumental recording. What I want to do is, get the…
Sarju
  • 31
  • 7
1
vote
0 answers

How can i find the energy of custom list of frames in librosa?

i am trying to find the energy of list of frames. And I want to classify them into four criteria. For example "weak, normal, strong, too strong" and make a mixed array like normal_frames_array = [ 6, 34, 52, 71, 88, 107, 125, 143, 161, 198,…
Zekeriya Akgül
  • 308
  • 4
  • 14
1
vote
0 answers

Rhythm detection with python

i want to detect the rhythm of the given music or sound with python. And then print the rhythm time points to a file for using in my unity game. I've made some progress on this, but it's still not where I want it. It's missing some of notes. Here is…
Zekeriya Akgül
  • 308
  • 4
  • 14
1
vote
0 answers

aubio.notes works incorrectly (Python)

I need to recognize notes from melody, so I used this demo code: #! /usr/bin/env python import sys from aubio import source, notes if len(sys.argv) < 2: print("Usage: %s [samplerate]" % sys.argv[0]) sys.exit(1) filename =…
FlintCQ
  • 27
  • 1
1
vote
2 answers

Can aubio be used to detect rhythm-only segments?

Does aubio have a way to detect sections of a piece of audio that lack tonal elements -- rhythm only? I tested a piece of music that has 16 seconds of rhythm at the start, but all the aubiopitch and aubionotes algorithms seemed to detect tonality…
1
vote
2 answers

Determine fundamental frequency of voice recordings

I am using the command line tool aubiopitch to analyze voice recordings. My goal is to determine the fundamental frequency of the voice recorded. I know, of course, that the frequency varies – that's why I want to calculate an "average" in Hz over a…
Armin Hierstetter
  • 1,078
  • 2
  • 12
  • 27
1
vote
2 answers

TypeError: '>' not supported between instances of 'numpy.ndarray' and 'str'

Basic rundown of what I want the program to do: Aubio prints the frequency (pitch) and volume (volume) from what's being input from the microphone I want to iterate over the dictionary, and based on which frequency is output, print the color…
Richard Wenzel
  • 65
  • 1
  • 2
  • 5
1
vote
1 answer

I am trying to find the pitch using aubio, but I can't read in the audioData directly as float32

Is there a way I can cast all the values as float32 per CHUNK of data? I tried this way it doesn't give me an error but then aubio isn't able to recognize any pitch. Also I can't cast directly as float32 or it becomes too sensitive for FFT I am…
Kshekar
  • 11
  • 1
1
vote
0 answers

aubiocut command-line tool splitting the file but export a corrupted files, any suggestions?

I have this command: aubiocut -i file.mp3 -c -b -o Output it is splitting the file on beats basis alright, but the output files is not playing except the firs file here is a sample file The desired result I'm expecting is to split the audio file…
Ahmed.H
  • 46
  • 4
1
vote
1 answer

How to use aubio to get frequency of each tone in a series of tones in python

I found some example code for getting pitch using aubio, but I'm not sure what to change to get it to display the pitch in second increments: import sys from aubio import source, pitch, freqtomidi if len(sys.argv) < 2: print "Usage: %s…
Chris
  • 155
  • 1
  • 9
1
vote
1 answer

Pd-Aubio "Couldn't create aubioonset"

I'm having issues trying to get Pd-extended to work with Aubio. I have already tried the tutorial from https://aubio.org/pd-aubio/installation I'm installing it on my Mac and this has been taking forever. I followed the tutorial completely and it's…
user3561871
  • 125
  • 1
  • 10
1
vote
1 answer

How can I make a library framework available in Xcode 6 on OS X 10.10?

I had this working on OS X 10.9. I've imported a library framework (aubio) to the 10.10 SDK folder: / Applications ▸ Xcode.app ▸ Contents ▸ Developer ▸ Platforms ▸ MacOSX.platform ▸ Developer ▸ SDKs ▸ MacOSX10.10.sdk ▸ System ▸ Library ▸…
Adamski
  • 3,585
  • 5
  • 42
  • 78
1
vote
1 answer

run aubiopitch continuously on a file descriptor

I'd like to use aubiopitch to continuously output the frequency of a signal coming from an input source. Since aubiopitch likes to have its input be a file, not a stream, I tried using process substitution: $ aubiopitch -i <(sox -q -d -t wav -) I'd…
whereswalden
  • 4,819
  • 3
  • 27
  • 41
1
vote
1 answer

How to slice/tag an Audio file during a gap or pause in speech? Aubio?

I'm wondering if you can help advise if aubio (or any other similar services) are right for our business. Sadly I'm not a developer or sound engineer so please forgive my ignorance... but any feedback would be much appreciated! Currently we take a…
1
vote
1 answer

How to run AuBio (an Open Source C program) on Visual Studio Express

I am trying to get an open source software called AuBio ( Source ) to run on Visual studio express but I am having a lot of problems getting it to build. What I've Done: I opened a new C/C++ solution on VS Express then copied all the header files in…
KillaKem
  • 995
  • 1
  • 13
  • 29