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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
62 views

Error installing Aubio with Python/pip on Windows

Problem I ran pip install aubio, here are the errors: Collecting aubio Downloading aubio-0.4.9.tar.gz (479 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 479.0/479.0 kB 4.3 MB/s eta 0:00:00 ...
The world depends on me's user avatar
0 votes
0 answers
68 views

Raspberry Pi: "Unable to import Numpy umath from aubio module (error -1)"

I'm getting the error messages: Unable to import Numpy array from aubio module (error -1) Unable to import Numpy umath from aubio module (error -1) Segmentation fault I've started a completely new ...
Alarming_Patterns's user avatar
0 votes
0 answers
86 views

legacy-install-failure while downloading Aubio Python

I'm trying to import aubio and i get the same error every time. I tried already; pip install aubio, I tried downloading it and importing it trough a file, I tried to make it with venv, I tried other ...
user avatar
0 votes
1 answer
44 views

How can I make the code stop running after it has detected a certain tone after a set period of time?

I am using the PyAudio and aubio libraries to read the tone coming in from a tone generator (Motorola Code Synthesizer II) which is plugged in to my computer via an Audio Jack usb port.(7.1 Channel ...
Elijah Ball's user avatar
0 votes
1 answer
997 views

Can't install aubio library for python

I've had this problem for hours, and still can't fix it. I've tried almost everything. I've tried using both python 3.10 and 3.8 and here is the error I usually get: Collecting aubio Downloading ...
mhmmdfrmn's user avatar
0 votes
0 answers
216 views

How would I retrieve the pitch and loudness from other samples of the microphone?

Heres the existing code, I already have. though it only retrieves one loudness and pitch value from the microphone import aubio import numpy as num import pyaudio import sys import requests ...
Lavacat's user avatar
  • 11
2 votes
1 answer
869 views

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 ...
Varun Ahuja's user avatar
0 votes
1 answer
694 views

PyQt5 app - using timer to run a function with a loop makes it "freeze up"

I am trying to create a GUI for a terminal app I created that listens to your microphone to determine which note you are playing on Guitar. I want to use PyQt5 and it is the first time I am using it (...
bende's user avatar
  • 183
0 votes
1 answer
289 views

How to get the average pitch of a .wav file without using Aubio?

So, I am working on a program to compare the average pitch's of different .wav files. I had found a solution and it worked on repl.it using aubio, but for some reason every time I do pip install aubio ...
Thecustomcoder2325's user avatar
0 votes
1 answer
1k views

How to produce same mfcc result as librosa using aubio?

I am trying to calculate Mfcc feature in C++. And I found Aubio (https://github.com/aubio/aubio) but I cannot produce same result as Librosa of Python (this is important). Librosa code: X, ...
server iot's user avatar
1 vote
0 answers
155 views

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 = [ ...
Zekeriya Akgül's user avatar
1 vote
0 answers
4k views

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 ...
Zekeriya Akgül's user avatar
1 vote
0 answers
206 views

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 <filename> [...
FlintCQ's user avatar
  • 27
1 vote
2 answers
99 views

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 ...
gregory michael travis's user avatar
0 votes
0 answers
435 views

What is the function of buffer size and hop size in aubio library for python?

I'm working with the aubio library for sound analysis. Basically to detect onset of beats. aubio.onset() takes 4 arguments, 2 of which are buffer size and hop size. I'm trying to figure how changing ...
Yash Bhutada's user avatar
2 votes
0 answers
145 views

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 ...
Armin Hierstetter's user avatar
1 vote
2 answers
278 views

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 ...
Armin Hierstetter's user avatar
0 votes
0 answers
851 views

Detecting Specific Sounds (Frequencies) with Python

I want to record sound of a machine and want to detect if its present in another sound file that I record. I am able to record the sound of the machine and the sound file that I want to detect its ...
Yansı Cengiz's user avatar
7 votes
1 answer
7k views

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 ...
sher222's user avatar
  • 135
2 votes
0 answers
277 views

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 ...
Sami's user avatar
  • 21
1 vote
2 answers
55k views

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 ...
Richard Wenzel's user avatar
1 vote
1 answer
279 views

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 ...
Kshekar's user avatar
  • 11
2 votes
1 answer
173 views

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 ...
EStt's user avatar
  • 41
0 votes
1 answer
967 views

Installing aubio Python 3.6.3

I'm trying to pip install aubio package to Python on 64-bit windows 10. The problem seems to be that I can't build the wheel. I get a dialogue box saying "the program can't start because mspdb140....
RB14's user avatar
  • 1
1 vote
0 answers
91 views

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 ...
Ahmed.H's user avatar
  • 46
0 votes
1 answer
127 views

blending 2 phase vocoder frames together

I'm trying to make an effect where I freeze the sound using a phase vocoder. I do this by storing the spectral frame (magnitude and phase) and also the phase difference between the previous frame and ...
mazbox's user avatar
  • 613
3 votes
2 answers
5k views

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's user avatar
  • 31
0 votes
1 answer
615 views

Use of aubio.note() in python?

I'm trying to use aubio to find the notes in a recording. Whenever I call aubio.notes with aubio.notes(filename), the python shell crashes (windows dialogue: pythonw.exe has stopped working). The only ...
cat40's user avatar
  • 318
3 votes
1 answer
1k views

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 ...
cat40's user avatar
  • 318
5 votes
1 answer
2k views

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) ...
desperado's user avatar
  • 213
0 votes
1 answer
2k views

Python: Extracting pitch using Aubio

I want to use the aubio module to extract pitch using python 3.5. However, the documentation is difficult to comprehend. In example I have a numpy array: import numpy import math sample_rate=44100 ...
Dole's user avatar
  • 339
11 votes
0 answers
997 views

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 ...
Brian Ogden's user avatar
  • 18.5k
1 vote
1 answer
2k views

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 ...
Chris's user avatar
  • 155
1 vote
1 answer
239 views

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 ...
user3561871's user avatar
2 votes
0 answers
419 views

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 ...
Karup's user avatar
  • 2,024
0 votes
2 answers
504 views

Xcode 7 error "dyld: Library not loaded"

I'm using the aubio audio library in my iOS app. Its been compiling fine in Xcode 6.3. Since updating to Xcode 7 i've been trying to debug this error that occurs on device on app startup. I'm using ...
Adamski's user avatar
  • 3,585
1 vote
1 answer
586 views

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 ▸ ...
Adamski's user avatar
  • 3,585
1 vote
1 answer
1k views

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 ...
whereswalden's user avatar
  • 4,829
1 vote
1 answer
289 views

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 ...
Thomas Carter's user avatar
0 votes
1 answer
2k views

Audio visualizer on led matrix

My need is to play an audio file and have its contents on a 8x8 matrix in equalizer aspect as done in Piccolo quite like spectrum analyzer adapted for BeagleBone or RaspberryPI. This doesn't need the ...
dlewin's user avatar
  • 1,673
0 votes
1 answer
775 views

Aubio 0.4.0 Python Windows Installed but failing when creating aubio source

So I managed to get aubio 0.4.0 installed so that it imports into python without errors however I haven't figured out how to pass files to be analyzed. Here's the steps I've done to install aubio 0....
Simon Warwick's user avatar
4 votes
1 answer
401 views

How to convert human voice to musical note in Android? [closed]

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 ...
Ranjithkumar's user avatar
8 votes
4 answers
2k views

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 ...
Protocole's user avatar
  • 1,733
0 votes
1 answer
253 views

Musical Notations using Aubio in Xcode

I am trying to make a program for basic monophonic note transciption using aubio, for my high school class. I am trying to run an example code in Xcode and I get these errors: Apple Mach-O Linker(Id)...
Marisa's user avatar
  • 13
0 votes
1 answer
919 views

Installing latest version of aubio for python

I installed aubio 0.40 from github. Installation seemed fine. But the tests fail. .aubio-master/python/tests/run_all_test File ".aubio-master/tests/run_all_tests", line 24, in <module> ...
Ada Xu's user avatar
  • 953
1 vote
1 answer
578 views

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++ ...
KillaKem's user avatar
  • 1,005
2 votes
1 answer
2k views

Getting musical notations using aubio library [closed]

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 ...
Sarju's user avatar
  • 31
1 vote
1 answer
832 views

Android Visualizer behavior

I'm trying to use a C library (Aubio) to perform beat detection on some music playing from a MediaPlayer in Android. To capture the raw audio data, I'm using a Visualizer, which sends a byte buffer at ...
F.X.'s user avatar
  • 6,859
6 votes
1 answer
2k views

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 ...
Gan's user avatar
  • 1,349
0 votes
3 answers
659 views

aubio python bindings in os x lion

when i install aubio via macports (with the python variant), i cannot import the python aubio modules: Python 2.5.6 (r256:88840, Sep 19 2011, 21:07:27) [GCC 4.2.1 (Based on Apple Inc. build 5658) (...
prozessor13's user avatar