Coder Social home page Coder Social logo

aubio / aubio Goto Github PK

View Code? Open in Web Editor NEW
3.2K 3.2K 370.0 11.53 MB

a library for audio and music analysis

Home Page: https://aubio.org

License: GNU General Public License v3.0

C 73.29% Python 25.44% Makefile 0.61% Shell 0.66%
analysis annotation audio beat c extraction mfcc music onset pitch python sound tempo-tracking

aubio's Introduction

aubio

CircleCI build status Azure Pipelines Appveyor build status Pypi Downloads Conda Downloads

Documentation DOI Commits since last release

aubio is a library to label music and sounds. It listens to audio signals and attempts to detect events. For instance, when a drum is hit, at which frequency is a note, or at what tempo is a rhythmic melody.

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.

aubio provide several algorithms and routines, including:

  • several onset detection methods
  • different pitch detection methods
  • tempo tracking and beat detection
  • MFCC (mel-frequency cepstrum coefficients)
  • FFT and phase vocoder
  • up/down-sampling
  • digital filters (low pass, high pass, and more)
  • spectral filtering
  • transient/steady-state separation
  • sound file read and write access
  • various mathematics utilities for music applications

The name aubio comes from audio with a typo: some errors are likely to be found in the results.

Python module

A python module for aubio is provided. For more information on how to use it, please see the file python/README.md and the manual .

Tools

The python module comes with the following command line tools:

  • aubio extracts informations from sound files
  • aubiocut slices sound files at onset or beat timestamps

Additional command line tools are included along with the library:

  • aubioonset outputs the time stamp of detected note onsets
  • aubiopitch attempts to identify a fundamental frequency, or pitch, for each frame of the input sound
  • aubiomfcc computes Mel-frequency Cepstrum Coefficients
  • aubiotrack outputs the time stamp of detected beats
  • aubionotes emits midi-like notes, with an onset, a pitch, and a duration
  • aubioquiet extracts quiet and loud regions

Documentation

The latest version of the documentation can be found at:

https://aubio.org/documentation

Build Instructions

aubio compiles on Linux, Mac OS X, Windows, Cygwin, and iOS.

To compile aubio, you should be able to simply run:

make

To compile the python module:

./setup.py build

See the manual for more information about installing aubio.

Citation

Please use the DOI link above to cite this release in your publications. For more information, see also the about page in aubio manual.

Homepage

The home page of this project can be found at: https://aubio.org/

License

aubio is free software: you can redistribute it and/or modify it 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.

Contributing

Patches are welcome: please fork the latest git repository and create a feature branch. Submitted requests should pass all continuous integration tests.

aubio's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aubio's Issues

No conda build for OS X?

When trying to install aubio through conda:
conda install --channel https://conda.anaconda.org/piem aubio
I get this error.
Error: Package missing in current osx-64 channels: - aubio
It looks like conda only has Linux builds. Would making an OS X package for conda be a trivial task?

[iOS8] fix kAudioFormatFlagsCanonical deprecation warning

Trying to compile for iOS8 I updated wscript to SDKVER="8.0"
but I still get compile errors.

[26/49] c: src/spectral/fft.c -> build/src/spectral/fft.c.1.o
../src/io/audio_unit.c:236:30: warning: 'kAudioFormatFlagsCanonical' is deprecated: The concept of canonical formats is deprecated [-Wdeprecated-declarations]
audioFormat.mFormatFlags = kAudioFormatFlagsCanonical;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudioTypes.h:558:5: note: 'kAudioFormatFlagsCanonical' has been explicitly marked deprecated here

warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: src/libaubio.a will be fat and ar(1) will not be able to operate on it
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: armv7 file: src/libaubio.a(sink_sndfile.c.1.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: armv7 file: src/libaubio.a(source_avcodec.c.1.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: armv7 file: src/libaubio.a(source_sndfile.c.1.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: armv7s file: src/libaubio.a(sink_sndfile.c.1.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: armv7s file: src/libaubio.a(source_avcodec.c.1.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: armv7s file: src/libaubio.a(source_sndfile.c.1.o) has no symbols

sudo ./waf install --destdir ./dist-ios
Reports successful but in Xcode:
Undefined symbols for architecture armv7:
"_aubio_pitchdetection", referenced from:

I didn't try in iOS7 and haven't got that SDK any longer so not sure what to expect. Should it work?

Is pkg-config required?
Checking for program pkg-config : not found

Many thanks!

cross compiling aubio dependencies

@tiennth asked:

how to build aubio for iOS with avcodec enable, using script file "scripts/build_apple_frameworks"?

and, more generally, how to cross-compile aubio with ffmpeg / libav / libsndfile external libraries?

dyld: Library not loaded

I’ve been trying to debug a crash on launch on device (iOS) which seems to be coming from aubio:

dyld: Library not loaded: /usr/local/lib/libaubio.4.dylib
  Referenced from: /var/mobile/Applications/CCFF68BA-4186-421E-A07E-D5482B654D98/MyApp.app/MyApp
  Reason: image not found

This has been happening since I updated to Xcode 7. I am also using Swift in my project. I’ve updated to aubio 0.4.2. I'm using the iOS Universal framework download.

If I set aubio as an optional framework it loads the rest of the app but then crashes on new_aubio_pitch()

feature request: obtaining yin aperiodicity estimate

Hi list,

I'm currently doing some experiments requiring to use yin aperiodicity estimate.

While this estimate is computed within aubio's implementation, I did not found a way to obtain this estimate from the command line programs.

While I did a VERY FAST AND DIRTY patch in order to obtain this information (pitch method returning aperiodicity instead of pitch), I believe a clean integration of this feature may benefits to other researchers, and could be integrated as an option in the aubiopitch program.

Would you consider adding such option in a near future?

I may propose some help if you think this would be useful for a significant amount of aubio users.

Regards,

WIP: Ruby bindings

This isn't really an issue or a feature request as such, but I've just spent the evening hacking together a Ruby binding of sorts using the ffi gem - https://gist.github.com/xavriley/68ce8a7f1b79d6737ac8c78d65c852ed

I've adapted the node-aubio test to extract onsets into a Ruby array as a proof of concept, with the sample output attached to the gist. I'm hoping we can make use of this in Sonic Pi in the not too distant future.

Anyway, I need to polish this up and release it as a gem but I thought I'd declare it's existence over here for two reasons:

a) in case anyone finds it useful
b) to make me finish it!

Any questions/comments/suggestions welcome...

Yaapt

Hi there,

Just wondering - do you have any plans to add the 'YAAPT' pitch tracking algorithm to the list for Aubio?

I think it may have been published after your thesis was written, and may be more robust than yinfft (i can't really substantiate that claim though - just a guess - another hunch is that they may be similar!). I've got a long way with yinfft, but it isn't quite right, so i've been looking around at what else is out there.

Thanks for sharing Aubio.

dyld: Library not loaded

I’ve been trying to debug a crash on launch on device (iOS) which seems to be coming from aubio:

dyld: Library not loaded: /usr/local/lib/libaubio.4.dylib
Referenced from: /var/mobile/Applications/CCFF68BA-4186-421E-A07E-D5482B654D98/MyApp.app/MyApp
Reason: image not found

This has been happening since I updated to Xcode 7. I am also using Swift in my project. I’ve updated to aubio 0.4.2. I'm using the iOS Universal framework download.

If I set aubio as an optional framework it loads the rest of the app but then crashes on new_aubio_pitch()

converting audio data from audio driver to aubio format

Hi guys, I'm using aubio library to detect some audio features, in particularly I'm using aubio_onsets to detect onsets of an audio stream coming from a microphone (with ALSA library). Now I've necessity to put in a fvec_t a windowed part of the stream audio, but I don't know which format aubio_onset use to analize audio. Currently I put in the fvec_t data in signed 16bit format (with opportune cast from short to float) but the aubio_onsets_do function return value 4 (when it should be return 0 or a value included from 1 to 2) and I don't understand why. Can you help me to find where is the problem??

Thank's.

Help required using Aubio in Swift iOS project

Hi,
I'm new to both iOS(swift) and to aubio. I just want to implement a simple functionality of pitch detection in my app, by passing an audio file to aubio, and have it return the pitch value in Hz with timestamp. While I've been able to do this with the command line using 'aubiopitch', I've no idea how to do it in iOS(swift). Right now I've included the aubio framework inside my app and included the Accelerate framework, and created a bridging header to include the header files.
Can somebody please help me out with a basic implementation of the above said functionality?

Python ImportError

After installing (via homebrew and compiling from source), I get an ImportError when trying to import the aubio module:

ImportError: dlopen(/Library/Python/2.7/site-packages/aubio/_aubio.so, 2): Symbol not found: _aubio_filter_set_a_weighting
  Referenced from: /Library/Python/2.7/site-packages/aubio/_aubio.so
  Expected in: flat namespace
 in /Library/Python/2.7/site-packages/aubio/_aubio.so

Cannot use tempo silence feature from Python

I'm trying to write an example/audiotrack clone using python bindings but I cannot use the silence threshold feature.

It seems that :

  • aubio_tempo_set_silence() sets a parameter that is never used.
  • aubio_silence_detection() is not binded in Python

[win] python module fails linking with msvc

hi all,

I created a branch sandbox to play a bit with appveyor. I could fix all compilation errors and most warnings, but I still couldn't figure out how to link the python module.

I also need a proper way to detect the location of the msvc compiler. Right now, it is hardcoded, which should be fixed.

Anyone out there with some windows wizardry able to help?

cheers, Paul

Python: ImportError: libaubio.so.4: cannot open shared object file: No such file or directory

Building the python aubio from git (7fc5ba2) doesn't seem to work for me, on Ubuntu 13.04:

(~/dev/aubio/python) % python setup.py build
running build
running build_py
running build_ext
running build_scripts

(~/dev/aubio/python) % sudo python setup.py install
running install
running build
running build_py
running build_ext
running build_scripts
running install_lib
creating /usr/local/lib/python2.7/dist-packages/aubio
copying build/lib.linux-x86_64-2.7/aubio/_aubio.so -> /usr/local/lib/python2.7/dist-packages/aubio
copying build/lib.linux-x86_64-2.7/aubio/midiconv.py -> /usr/local/lib/python2.7/dist-packages/aubio
copying build/lib.linux-x86_64-2.7/aubio/__init__.py -> /usr/local/lib/python2.7/dist-packages/aubio
byte-compiling /usr/local/lib/python2.7/dist-packages/aubio/midiconv.py to midiconv.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/aubio/__init__.py to __init__.pyc
running install_scripts
changing mode of /usr/local/bin/aubiocut to 775
running install_egg_info
Writing /usr/local/lib/python2.7/dist-packages/aubio-0.4.0alpha.egg-info

(~/dev/aubio/python) % ls /usr/local/lib/python2.7/dist-packages/aubio
_aubio.so*  __init__.py  __init__.pyc  midiconv.py  midiconv.pyc

Then opening a new terminal window:

(~) % python
Python 2.7.4 (default, Sep 26 2013, 03:20:26) 
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import aubio
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/aubio/__init__.py", line 4, in <module>
    from _aubio import *
ImportError: libaubio.so.4: cannot open shared object file: No such file or directory
>>> 

Aubio on Pypy?

Hi,
It looks liike waf build works on pypy, the python bindings themselves do not build because of the error below, I wonder how possible it is to get this working with pypy?

I guess at worst it could be reimplementing using cffi, on the other hand it might just be tweaking the bindings a bit ..

$ ./setup.py build
running build
running build_py
running build_ext
building 'aubio._aubio' extension
cc -O2 -fPIC -Wimplicit -DUSE_LOCAL_AUBIO=1 -Iext -I/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include -Igen -I../src -I../build/src -I/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include -c ext/aubiomodule.c -o build/temp.linux-x86_64-2.7/ext/aubiomodule.o
ext/aubiomodule.c: In function ‘init_aubio’:
ext/aubiomodule.c:215:3: warning: implicit declaration of function ‘_import_array’ [-Wimplicit-function-declaration]
   err = _import_array ();
   ^
cc -O2 -fPIC -Wimplicit -DUSE_LOCAL_AUBIO=1 -Iext -I/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include -Igen -I../src -I../build/src -I/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include -c ext/aubioproxy.c -o build/temp.linux-x86_64-2.7/ext/aubioproxy.o
cc -O2 -fPIC -Wimplicit -DUSE_LOCAL_AUBIO=1 -Iext -I/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include -Igen -I../src -I../build/src -I/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include -c ext/ufuncs.c -o build/temp.linux-x86_64-2.7/ext/ufuncs.o
In file included from /usr/include/numpy/ufuncobject.h:4:0,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/npy_math.h: In function ‘__npy_inff’:
/usr/include/numpy/npy_math.h:26:17: error: unknown type name ‘npy_uint32’
     const union { npy_uint32 __i; float __f;} __bint = {0x7f800000UL};
                 ^
/usr/include/numpy/npy_math.h: In function ‘__npy_nanf’:
/usr/include/numpy/npy_math.h:32:17: error: unknown type name ‘npy_uint32’
     const union { npy_uint32 __i; float __f;} __bint = {0x7fc00000UL};
                 ^
/usr/include/numpy/npy_math.h: In function ‘__npy_pzerof’:
/usr/include/numpy/npy_math.h:38:17: error: unknown type name ‘npy_uint32’
     const union { npy_uint32 __i; float __f;} __bint = {0x00000000UL};
                 ^
/usr/include/numpy/npy_math.h: In function ‘__npy_nzerof’:
/usr/include/numpy/npy_math.h:44:17: error: unknown type name ‘npy_uint32’
     const union { npy_uint32 __i; float __f;} __bint = {0x80000000UL};
                 ^
In file included from ext/aubio-types.h:18:0,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ufuncobject.h: At top level:
/usr/include/numpy/ufuncobject.h:29:17: error: unknown type name ‘NpyAuxData’
                 NpyAuxData *innerloopdata);
                 ^
/usr/include/numpy/ufuncobject.h:41:17: error: unknown type name ‘NpyAuxData’
                 NpyAuxData *innerloopdata);
                 ^
/usr/include/numpy/ufuncobject.h:73:33: error: unknown type name ‘NPY_CASTING’
                                 NPY_CASTING casting,
                                 ^
/usr/include/numpy/ufuncobject.h:118:29: error: unknown type name ‘PyUFunc_StridedInnerLoopFunc’
                             PyUFunc_StridedInnerLoopFunc **out_innerloop,
                             ^
/usr/include/numpy/ufuncobject.h:119:29: error: unknown type name ‘NpyAuxData’
                             NpyAuxData **out_innerloopdata,
                             ^
/usr/include/numpy/ufuncobject.h:127:29: error: unknown type name ‘PyUFunc_MaskedStridedInnerLoopFunc’
                             PyUFunc_MaskedStridedInnerLoopFunc **out_innerloop,
                             ^
/usr/include/numpy/ufuncobject.h:128:29: error: unknown type name ‘NpyAuxData’
                             NpyAuxData **out_innerloopdata,
                             ^
/usr/include/numpy/ufuncobject.h:197:9: error: unknown type name ‘PyUFunc_TypeResolutionFunc’
         PyUFunc_TypeResolutionFunc *type_resolver;
         ^
/usr/include/numpy/ufuncobject.h:210:9: error: unknown type name ‘PyUFunc_InnerLoopSelectionFunc’
         PyUFunc_InnerLoopSelectionFunc *inner_loop_selector;
         ^
/usr/include/numpy/ufuncobject.h:214:9: error: unknown type name ‘PyUFunc_MaskedInnerLoopSelectionFunc’
         PyUFunc_MaskedInnerLoopSelectionFunc *masked_inner_loop_selector;
         ^
/usr/include/numpy/ufuncobject.h:221:9: error: unknown type name ‘npy_uint32’
         npy_uint32 *op_flags;
         ^
/usr/include/numpy/ufuncobject.h:228:9: error: unknown type name ‘npy_uint32’
         npy_uint32 iter_flags;
         ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:59:6: error: nested redefinition of ‘enum NPY_TYPES’
 enum NPY_TYPES {    NPY_BOOL=0,
      ^
/usr/include/numpy/ndarraytypes.h:59:6: error: redeclaration of ‘enum NPY_TYPES’
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:50:6: note: originally defined here
 enum NPY_TYPES {    NPY_BOOL=0,
      ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:59:21: error: redeclaration of enumerator ‘NPY_BOOL’
 enum NPY_TYPES {    NPY_BOOL=0,
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:50:21: note: previous definition of ‘NPY_BOOL’ was here
 enum NPY_TYPES {    NPY_BOOL=0,
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:60:21: error: redeclaration of enumerator ‘NPY_BYTE’
                     NPY_BYTE, NPY_UBYTE,
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:51:21: note: previous definition of ‘NPY_BYTE’ was here
                     NPY_BYTE, NPY_UBYTE,
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:60:31: error: redeclaration of enumerator ‘NPY_UBYTE’
                     NPY_BYTE, NPY_UBYTE,
                               ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:51:31: note: previous definition of ‘NPY_UBYTE’ was here
                     NPY_BYTE, NPY_UBYTE,
                               ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:61:21: error: redeclaration of enumerator ‘NPY_SHORT’
                     NPY_SHORT, NPY_USHORT,
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:52:21: note: previous definition of ‘NPY_SHORT’ was here
                     NPY_SHORT, NPY_USHORT,
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:61:32: error: redeclaration of enumerator ‘NPY_USHORT’
                     NPY_SHORT, NPY_USHORT,
                                ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:52:32: note: previous definition of ‘NPY_USHORT’ was here
                     NPY_SHORT, NPY_USHORT,
                                ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:62:21: error: redeclaration of enumerator ‘NPY_INT’
                     NPY_INT, NPY_UINT,
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:53:21: note: previous definition of ‘NPY_INT’ was here
                     NPY_INT, NPY_UINT,
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:62:30: error: redeclaration of enumerator ‘NPY_UINT’
                     NPY_INT, NPY_UINT,
                              ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:53:30: note: previous definition of ‘NPY_UINT’ was here
                     NPY_INT, NPY_UINT,
                              ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:63:21: error: redeclaration of enumerator ‘NPY_LONG’
                     NPY_LONG, NPY_ULONG,
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:54:21: note: previous definition of ‘NPY_LONG’ was here
                     NPY_LONG, NPY_ULONG,
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:63:31: error: redeclaration of enumerator ‘NPY_ULONG’
                     NPY_LONG, NPY_ULONG,
                               ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:54:31: note: previous definition of ‘NPY_ULONG’ was here
                     NPY_LONG, NPY_ULONG,
                               ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:64:21: error: redeclaration of enumerator ‘NPY_LONGLONG’
                     NPY_LONGLONG, NPY_ULONGLONG,
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:55:21: note: previous definition of ‘NPY_LONGLONG’ was here
                     NPY_LONGLONG, NPY_ULONGLONG,
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:64:35: error: redeclaration of enumerator ‘NPY_ULONGLONG’
                     NPY_LONGLONG, NPY_ULONGLONG,
                                   ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:55:35: note: previous definition of ‘NPY_ULONGLONG’ was here
                     NPY_LONGLONG, NPY_ULONGLONG,
                                   ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:65:21: error: redeclaration of enumerator ‘NPY_FLOAT’
                     NPY_FLOAT, NPY_DOUBLE, NPY_LONGDOUBLE,
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:56:21: note: previous definition of ‘NPY_FLOAT’ was here
                     NPY_FLOAT, NPY_DOUBLE, NPY_LONGDOUBLE,
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:65:32: error: redeclaration of enumerator ‘NPY_DOUBLE’
                     NPY_FLOAT, NPY_DOUBLE, NPY_LONGDOUBLE,
                                ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:56:32: note: previous definition of ‘NPY_DOUBLE’ was here
                     NPY_FLOAT, NPY_DOUBLE, NPY_LONGDOUBLE,
                                ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:65:44: error: redeclaration of enumerator ‘NPY_LONGDOUBLE’
                     NPY_FLOAT, NPY_DOUBLE, NPY_LONGDOUBLE,
                                            ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:56:44: note: previous definition of ‘NPY_LONGDOUBLE’ was here
                     NPY_FLOAT, NPY_DOUBLE, NPY_LONGDOUBLE,
                                            ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:66:21: error: redeclaration of enumerator ‘NPY_CFLOAT’
                     NPY_CFLOAT, NPY_CDOUBLE, NPY_CLONGDOUBLE,
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:57:21: note: previous definition of ‘NPY_CFLOAT’ was here
                     NPY_CFLOAT, NPY_CDOUBLE, NPY_CLONGDOUBLE,
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:66:33: error: redeclaration of enumerator ‘NPY_CDOUBLE’
                     NPY_CFLOAT, NPY_CDOUBLE, NPY_CLONGDOUBLE,
                                 ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:57:33: note: previous definition of ‘NPY_CDOUBLE’ was here
                     NPY_CFLOAT, NPY_CDOUBLE, NPY_CLONGDOUBLE,
                                 ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:66:46: error: redeclaration of enumerator ‘NPY_CLONGDOUBLE’
                     NPY_CFLOAT, NPY_CDOUBLE, NPY_CLONGDOUBLE,
                                              ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:57:46: note: previous definition of ‘NPY_CLONGDOUBLE’ was here
                     NPY_CFLOAT, NPY_CDOUBLE, NPY_CLONGDOUBLE,
                                              ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:67:21: error: redeclaration of enumerator ‘NPY_OBJECT’
                     NPY_OBJECT=17,
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:58:21: note: previous definition of ‘NPY_OBJECT’ was here
                     NPY_OBJECT=17,
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:68:21: error: redeclaration of enumerator ‘NPY_STRING’
                     NPY_STRING, NPY_UNICODE,
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:59:21: note: previous definition of ‘NPY_STRING’ was here
                     NPY_STRING, NPY_UNICODE,
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:68:33: error: redeclaration of enumerator ‘NPY_UNICODE’
                     NPY_STRING, NPY_UNICODE,
                                 ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:59:33: note: previous definition of ‘NPY_UNICODE’ was here
                     NPY_STRING, NPY_UNICODE,
                                 ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:69:21: error: redeclaration of enumerator ‘NPY_VOID’
                     NPY_VOID,
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:60:21: note: previous definition of ‘NPY_VOID’ was here
                     NPY_VOID,
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:74:21: error: redeclaration of enumerator ‘NPY_DATETIME’
                     NPY_DATETIME, NPY_TIMEDELTA, NPY_HALF,
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:65:21: note: previous definition of ‘NPY_DATETIME’ was here
                     NPY_DATETIME, NPY_TIMEDELTA, NPY_HALF,
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:74:35: error: redeclaration of enumerator ‘NPY_TIMEDELTA’
                     NPY_DATETIME, NPY_TIMEDELTA, NPY_HALF,
                                   ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:65:35: note: previous definition of ‘NPY_TIMEDELTA’ was here
                     NPY_DATETIME, NPY_TIMEDELTA, NPY_HALF,
                                   ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:74:50: error: redeclaration of enumerator ‘NPY_HALF’
                     NPY_DATETIME, NPY_TIMEDELTA, NPY_HALF,
                                                  ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:65:50: note: previous definition of ‘NPY_HALF’ was here
                     NPY_DATETIME, NPY_TIMEDELTA, NPY_HALF,
                                                  ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:76:21: error: redeclaration of enumerator ‘NPY_NTYPES’
                     NPY_NTYPES,
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:67:21: note: previous definition of ‘NPY_NTYPES’ was here
                     NPY_NTYPES,
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:77:21: error: redeclaration of enumerator ‘NPY_NOTYPE’
                     NPY_NOTYPE,
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:68:21: note: previous definition of ‘NPY_NOTYPE’ was here
                     NPY_NOTYPE,
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:78:21: error: redeclaration of enumerator ‘NPY_CHAR’
                     NPY_CHAR,      /* special flag */
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:69:21: note: previous definition of ‘NPY_CHAR’ was here
                     NPY_CHAR,      /* special flag */
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:79:21: error: redeclaration of enumerator ‘NPY_USERDEF’
                     NPY_USERDEF=256,  /* leave room for characters */
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:70:21: note: previous definition of ‘NPY_USERDEF’ was here
                     NPY_USERDEF=256,  /* leave room for characters */
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:82:21: error: redeclaration of enumerator ‘NPY_NTYPES_ABI_COMPATIBLE’
                     NPY_NTYPES_ABI_COMPATIBLE=21
                     ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:73:21: note: previous definition of ‘NPY_NTYPES_ABI_COMPATIBLE’ was here
                     NPY_NTYPES_ABI_COMPATIBLE=21
                     ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:423:3: error: conflicting types for ‘PyArray_Dims’
 } PyArray_Dims;
   ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:45:3: note: previous declaration of ‘PyArray_Dims’ was here
 } PyArray_Dims;
   ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:21:23: error: conflicting types for ‘PyObject’
 #define PyArray_Descr PyObject
                       ^
In file included from /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/Python.h:86:0,
                 from ext/aubio-types.h:1,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/object.h:35:3: note: previous declaration of ‘PyObject’ was here
 } PyObject;
   ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:20:23: error: conflicting types for ‘PyObject’
 #define PyArrayObject PyObject
                       ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:21:23: note: previous declaration of ‘PyObject’ was here
 #define PyArray_Descr PyObject
                       ^
In file included from /usr/include/numpy/ndarrayobject.h:17:0,
                 from /usr/include/numpy/arrayobject.h:4,
                 from /usr/include/numpy/ufuncobject.h:231,
                 from ext/aubio-types.h:18,
                 from ext/ufuncs.c:2:
/usr/include/numpy/ndarraytypes.h:738:9: error: unknown type name ‘npy_int32’
         npy_int32 month, day, hour, min, sec, us, ps, as;
         ^
/usr/include/numpy/ndarraytypes.h:744:9: error: unknown type name ‘npy_int32’
         npy_int32 sec, us, ps, as;
         ^
In file included from /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/Python.h:81:0,
                 from ext/aubio-types.h:1,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:46:23: error: conflicting types for ‘_PyPyArray_NDIM’
 #define _PyArray_NDIM _PyPyArray_NDIM
                       ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:46:23: note: previous declaration of ‘_PyPyArray_NDIM’ was here
 #define _PyArray_NDIM _PyPyArray_NDIM
                       ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:506:17: note: in expansion of macro ‘_PyArray_NDIM’
 PyAPI_FUNC(int) _PyArray_NDIM(PyObject *arg0);
                 ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:158:23: error: conflicting types for ‘_PyPyArray_DATA’
 #define _PyArray_DATA _PyPyArray_DATA
                       ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:158:23: note: previous declaration of ‘_PyPyArray_DATA’ was here
 #define _PyArray_DATA _PyPyArray_DATA
                       ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:498:20: note: in expansion of macro ‘_PyArray_DATA’
 PyAPI_FUNC(void *) _PyArray_DATA(PyObject *arg0);
                    ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:188:30: error: expected identifier or ‘(’ before ‘char’
 #define PyArray_BYTES(arr) ((char *)PyArray_DATA(arr))
                              ^
In file included from /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/Python.h:81:0,
                 from ext/aubio-types.h:1,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:158:23: error: expected ‘)’ before ‘_PyPyArray_DATA’
 #define _PyArray_DATA _PyPyArray_DATA
                       ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:475:22: error: conflicting types for ‘_PyPyArray_DIM’
 #define _PyArray_DIM _PyPyArray_DIM
                      ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:475:22: note: previous declaration of ‘_PyPyArray_DIM’ was here
 #define _PyArray_DIM _PyPyArray_DIM
                      ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:499:24: note: in expansion of macro ‘_PyArray_DIM’
 PyAPI_FUNC(Py_ssize_t) _PyArray_DIM(PyObject *arg0, Py_ssize_t arg1);
                        ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:233:25: error: conflicting types for ‘_PyPyArray_STRIDE’
 #define _PyArray_STRIDE _PyPyArray_STRIDE
                         ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:233:25: note: previous declaration of ‘_PyPyArray_STRIDE’ was here
 #define _PyArray_STRIDE _PyPyArray_STRIDE
                         ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:509:24: note: in expansion of macro ‘_PyArray_STRIDE’
 PyAPI_FUNC(Py_ssize_t) _PyArray_STRIDE(PyObject *arg0, Py_ssize_t arg1);
                        ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:239:24: error: conflicting types for ‘_PyPyArray_FLAGS’
 #define _PyArray_FLAGS _PyPyArray_FLAGS
                        ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:239:24: note: previous declaration of ‘_PyPyArray_FLAGS’ was here
 #define _PyArray_FLAGS _PyPyArray_FLAGS
                        ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:501:17: note: in expansion of macro ‘_PyArray_FLAGS’
 PyAPI_FUNC(int) _PyArray_FLAGS(PyObject *arg0);
                 ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:265:27: error: conflicting types for ‘_PyPyArray_ITEMSIZE’
 #define _PyArray_ITEMSIZE _PyPyArray_ITEMSIZE
                           ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:265:27: note: previous declaration of ‘_PyPyArray_ITEMSIZE’ was here
 #define _PyArray_ITEMSIZE _PyPyArray_ITEMSIZE
                           ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:504:17: note: in expansion of macro ‘_PyArray_ITEMSIZE’
 PyAPI_FUNC(int) _PyArray_ITEMSIZE(PyObject *arg0);
                 ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:299:23: error: conflicting types for ‘_PyPyArray_TYPE’
 #define _PyArray_TYPE _PyPyArray_TYPE
                       ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:299:23: note: previous declaration of ‘_PyPyArray_TYPE’ was here
 #define _PyArray_TYPE _PyPyArray_TYPE
                       ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:513:17: note: in expansion of macro ‘_PyArray_TYPE’
 PyAPI_FUNC(int) _PyArray_TYPE(PyObject *arg0);
                 ^
In file included from ext/aubio-types.h:14:0,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/numpy/arrayobject.h:147:54: error: expected ‘)’ before ‘&’ token
 #define PyArray_CHKFLAGS(m, flags) (PyArray_FLAGS(m) & (flags))
                                                      ^
In file included from /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/Python.h:81:0,
                 from ext/aubio-types.h:1,
                 from ext/ufuncs.c:2:
/usr/include/numpy/__ufunc_api.h: In function ‘_import_umath’:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:410:31: warning: initialization from incompatible pointer type [enabled by default]
 #define PyImport_ImportModule PyPyImport_ImportModule
                               ^
ext/ufuncs.c: In function ‘add_ufuncs’:
ext/ufuncs.c:95:3: warning: passing argument 1 of ‘PyPyModule_GetDict’ from incompatible pointer type [enabled by default]
   dict = PyModule_GetDict(m);
   ^
In file included from /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/Python.h:81:0,
                 from ext/aubio-types.h:1,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:473:26: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyObject *’
 #define PyModule_GetDict PyPyModule_GetDict
                          ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:243:24: note: in expansion of macro ‘PyModule_GetDict’
 PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *arg0);
                        ^
ext/ufuncs.c:95:8: warning: assignment from incompatible pointer type [enabled by default]
   dict = PyModule_GetDict(m);
        ^
ext/ufuncs.c:99:3: warning: passing argument 1 of ‘PyPyDict_SetItemString’ from incompatible pointer type [enabled by default]
   PyDict_SetItemString(dict, "unwrap2pi", f);
   ^
In file included from /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/Python.h:81:0,
                 from ext/aubio-types.h:1,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:220:30: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyObject *’
 #define PyDict_SetItemString PyPyDict_SetItemString
                              ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:91:17: note: in expansion of macro ‘PyDict_SetItemString’
 PyAPI_FUNC(int) PyDict_SetItemString(PyObject *arg0, const char *arg1, PyObject *arg2);
                 ^
ext/ufuncs.c:99:3: warning: passing argument 3 of ‘PyPyDict_SetItemString’ from incompatible pointer type [enabled by default]
   PyDict_SetItemString(dict, "unwrap2pi", f);
   ^
In file included from /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/Python.h:81:0,
                 from ext/aubio-types.h:1,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:220:30: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyObject *’
 #define PyDict_SetItemString PyPyDict_SetItemString
                              ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:91:17: note: in expansion of macro ‘PyDict_SetItemString’
 PyAPI_FUNC(int) PyDict_SetItemString(PyObject *arg0, const char *arg1, PyObject *arg2);
                 ^
ext/ufuncs.c:100:3: warning: passing argument 1 of ‘PyPy_DecRef’ from incompatible pointer type [enabled by default]
   Py_DECREF(f);
   ^
In file included from /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/Python.h:81:0,
                 from ext/aubio-types.h:1,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:274:19: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyObject *’
 #define Py_DecRef PyPy_DecRef
                   ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:472:18: note: in expansion of macro ‘Py_DecRef’
 PyAPI_FUNC(void) Py_DecRef(PyObject *arg0);
                  ^
ext/ufuncs.c:106:3: warning: passing argument 1 of ‘PyPyDict_SetItemString’ from incompatible pointer type [enabled by default]
   PyDict_SetItemString(dict, "freqtomidi", g);
   ^
In file included from /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/Python.h:81:0,
                 from ext/aubio-types.h:1,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:220:30: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyObject *’
 #define PyDict_SetItemString PyPyDict_SetItemString
                              ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:91:17: note: in expansion of macro ‘PyDict_SetItemString’
 PyAPI_FUNC(int) PyDict_SetItemString(PyObject *arg0, const char *arg1, PyObject *arg2);
                 ^
ext/ufuncs.c:106:3: warning: passing argument 3 of ‘PyPyDict_SetItemString’ from incompatible pointer type [enabled by default]
   PyDict_SetItemString(dict, "freqtomidi", g);
   ^
In file included from /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/Python.h:81:0,
                 from ext/aubio-types.h:1,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:220:30: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyObject *’
 #define PyDict_SetItemString PyPyDict_SetItemString
                              ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:91:17: note: in expansion of macro ‘PyDict_SetItemString’
 PyAPI_FUNC(int) PyDict_SetItemString(PyObject *arg0, const char *arg1, PyObject *arg2);
                 ^
ext/ufuncs.c:107:3: warning: passing argument 1 of ‘PyPy_DecRef’ from incompatible pointer type [enabled by default]
   Py_DECREF(g);
   ^
In file included from /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/Python.h:81:0,
                 from ext/aubio-types.h:1,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:274:19: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyObject *’
 #define Py_DecRef PyPy_DecRef
                   ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:472:18: note: in expansion of macro ‘Py_DecRef’
 PyAPI_FUNC(void) Py_DecRef(PyObject *arg0);
                  ^
ext/ufuncs.c:113:3: warning: passing argument 1 of ‘PyPyDict_SetItemString’ from incompatible pointer type [enabled by default]
   PyDict_SetItemString(dict, "miditofreq", h);
   ^
In file included from /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/Python.h:81:0,
                 from ext/aubio-types.h:1,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:220:30: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyObject *’
 #define PyDict_SetItemString PyPyDict_SetItemString
                              ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:91:17: note: in expansion of macro ‘PyDict_SetItemString’
 PyAPI_FUNC(int) PyDict_SetItemString(PyObject *arg0, const char *arg1, PyObject *arg2);
                 ^
ext/ufuncs.c:113:3: warning: passing argument 3 of ‘PyPyDict_SetItemString’ from incompatible pointer type [enabled by default]
   PyDict_SetItemString(dict, "miditofreq", h);
   ^
In file included from /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/Python.h:81:0,
                 from ext/aubio-types.h:1,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:220:30: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyObject *’
 #define PyDict_SetItemString PyPyDict_SetItemString
                              ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:91:17: note: in expansion of macro ‘PyDict_SetItemString’
 PyAPI_FUNC(int) PyDict_SetItemString(PyObject *arg0, const char *arg1, PyObject *arg2);
                 ^
ext/ufuncs.c:114:3: warning: passing argument 1 of ‘PyPy_DecRef’ from incompatible pointer type [enabled by default]
   Py_DECREF(h);
   ^
In file included from /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/Python.h:81:0,
                 from ext/aubio-types.h:1,
                 from ext/ufuncs.c:2:
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_macros.h:274:19: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyObject *’
 #define Py_DecRef PyPy_DecRef
                   ^
/mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/include/pypy_decl.h:472:18: note: in expansion of macro ‘Py_DecRef’
 PyAPI_FUNC(void) Py_DecRef(PyObject *arg0);
                  ^
error: command 'cc' failed with exit status 1

improve aubionotes' performance

aubionotes currently works very poorly, even on very simple monophonic melodies. Are you aware of some settings that make it work decently, by chance?

Aubio ARMv7 / iOS

Possibile to build the Aubio library for ARMV7 chain on iOS platform ?

Aubionotes with Audacity

I'm not able to play the midi output with Audacity.
The aubionotes output is like

0.011610
0.435374
0.667574
67.000000 0.667574 1.497687
67.000000 1.497687 2.060771
67.000000 2.060771 2.124626
65.000000 2.124626 2.298775
67.000000 2.298775 2.374240
67.000000 2.374240 2.414875
67.000000 2.414875 2.461315
67.000000 2.461315 2.501950
67.000000 2.501950 2.548390

(...)

Error when using resampler: aubio was not compiled with libsamplerate

Hi,

I am using aubio in my Swift, so I compiled a framework using the build_apple_frameworks script.
Inside the application I tried to resample an audio file like this:

// Initialise the resampler
let resampler = new_aubio_resampler(ratio, 0)
// Convert [Float] to fvec
let inRecArray = new_fvec(UInt32(floatArray.count))
for(var i=0; i<floatArray.count; i++)
{
    fvec_set_sample(inRecArray, floatArray[i], UInt32(i))
}
// Calculate length of the output
let len = UInt32(ceil(Double(floatArray.count)*Double(ratio)))
// Initialise output vector
var outRecArray = new_fvec(len)
// Perform resampling
aubio_resampler_do(resampler, inRecArray, outRecArray)
// Print the result
fvec_print(outRecArray)

However I'm getting the following error:

aubio was not compiled with libsamplerate

Is there a way to pass options to the build_apple_frameworks script?
I've tried tweaking Line 243 in wscript to the following:
if (ctx.options.enable_samplerate == False):

But I still get the same error.

pitch detection for wind instruments

Hi,

As the title says, I'd like to make a good pitch detection for wind instruments (real-time detection). So I have to deal with finding the fundamental amongst many harmonics.
Could you please advise me on what methods to use?

Thank you very much.

StandardError: error creating object

I'm a new user and followed the installation procedures

http://aubio.org/download
http://aubio.org/installation

Then I got "Failed modules"

Python 2.7.5+ (/usr/bin/python2.7)
aubio._aubio
Generation of skeletons for the modules above will be tried again when the modules are updated or a new version of generator is available.

fixed with
updatedb
locate libaubio.so
pushd /usr/lib
ln -s /usr/local/lib/libaubio.so.4 .

I figured I'd test my installation with your script from

https://github.com/piem/aubio/blob/master/python/scripts/aubiocut but I get:

But I get this error

/usr/bin/python2.7 /home/dalem/PycharmProjects/elapsedbeats/aubiocut.py Fr-grenouille.ogg
Unable to import Numpy array from aubio module (error -1)
AUBIO ERROR: source_wavread: could not find RIFF header in Fr-grenouille.ogg
AUBIO ERROR: source: failed creating aubio source with Fr-grenouille.ogg at samplerate 0 with hop_size     256
Traceback (most recent call last):
  File "/home/dalem/PycharmProjects/elapsedbeats/aubiocut.py", line 152, in <module>
    s = source(source_file, samplerate, hopsize)
StandardError: error creating object

I wonder if you have any insight into how to get around this issue on:

root@QnD:/usr/lib# cat /etc/issue
Ubuntu 13.10 \n \l

Different tempo result for different sampling rates

Hi again @piem,

Can not determine if that's a bug or feature...I'm using the same script from #49, however, it gives various outputs for 44100 kHz wav file and 22050 one. If file is converted from stereo to mono, I have another (third) variant. Does it supposed to be so?

Forever loop while getting tempo on iPhone 5

Hello,

I got this issue while i was trying to get tempo value of a song.
I have tried to do this on arm64 devices like iPhone6, iPhone6+, it doesn't happen. It just appear in iPhone5, i guest it may be cpu arch problem, because iphone 5 is 32 bit CPU, while iPhone 6 and 6+ is 64 bit CPU.
I do some debugging and found cause of problem come from beattracking.c, this line:

phase = fvec_quadratic_peak_pos (bt->phout, maxindex);

Value of the phase variable after this calculation is nan.
Later, the beat value is calculated on phase value, so beat become nan too.
And here is the loop that can not break because beat + bp is always nan

  while (beat + bp < 0) {
    beat += bp;
  }

My question is: How to fix this problem?

Thanks,

audio driver for iOS

I managed to get a simple iOS app working and aubio was able to detect tempo from a new_aubio_source from a file.

Next step is to take input from the microphone instead of a source from a WAV file. Any hints on creating a new_aubio_source that takes data from the microphone stream? Use something like AudioFileStreamID? I can record using standard AVAudioRecorder to a file; but my use case needs to handle live audio stream.

In aubio, how can I process chunks of audio data as the microphone streams it the packets?

thanks in advance.

obj-c exemple with audio buffer input

Hi,

I'd like to use aubiopitch on iOS and I was wondering if there was an exemple somewhere about it. I'd like to feed accumulated frames to it. The data would come from a microphone live feed.
Thanks a lot!
Greg

Python compatibility problems (waf, python3)

aubio unpacks waflib from waf file. waf is known to produce waflib processed for current Python version. waflib is included into aubio distribution.

As a result, if Python version installed on the machine making aubio distribution differs from Python version on build machine, the waf can fail with Python syntax errors.

To be compatible with more Python versions on build machines, please include file "waf" as is instead of unpacking waflib from it.

aubio iOS FrameWork issue

I get this issuses when try to compile code using ios framework (Xcode 5.1, iOS 7.1)

Undefined symbols for architecture i386:
"_vDSP_maxv", referenced from:
_fvec_max in aubio(mathutils.c.1.o)
"_vDSP_maxvi", referenced from:
_fvec_max_elem in aubio(mathutils.c.1.o)
"_vDSP_minv", referenced from:
_fvec_min in aubio(mathutils.c.1.o)
_fvec_min_removal in aubio(mathutils.c.1.o)
"_vDSP_minvi", referenced from:
_fvec_min_elem in aubio(mathutils.c.1.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

What may be the reason?

Filterbank object - unclear how to use with other modules.

I'm currently stumped at how to get the filterbank object to work with the onset object.

As far as I can tell filterbank takes a spectrum and outputs a single sample for each filter but the onset object requires hop size number of samples...

I first thought to use the phase vocoder to generate the spectrum for input into the filterbank object - should I be doing it this way? It seems wrong though since the phase vocoder reduces hop size number of samples to one spectrum which then results in only one sample per filter (when hop size amount are required for the onset object). The onset object also does its own phase vocoding so it seems like this is a waste.

The only other way I can think of trying to use filterbank is to perform an fft on every single sample in the source and then piece together a buffer of hop size from each filter but it is painfully slow and as far as I can tell not working... making me think I'm doing this wrong somehow?

memory leak or no garbage collection?

Hi,

I'm trying to use aubio to calculate bpms for bunch of files in a row. After thorough investigation I've found out that problem is either in the depths of aubio module or in failing python garbage collection. Consider the following code (python 2.7, was taken from example):

from aubio import tempo, source
import time

# tempo detection delay, in samples
# default to 4 blocks delay to catch up with

# this emulates 10 files
for _ in xrange(0, 10):
    win_s = 512                 # fft size
    hop_s = win_s / 2        # hop size

    samplerate = 0
    s = source('test.wav', samplerate, hop_s)
    samplerate = s.samplerate
    o = tempo("default", win_s, hop_s, samplerate)

    # list of beats, in samples
    beats = []

    # total number of frames read
    total_frames = 0

   # actual leaking is inside loop
    while True:
        samples, read = s()
        is_beat = o(samples)
        if is_beat:
            this_beat = o.get_last_s()
            beats.append(this_beat)
        total_frames += read
        if read < hop_s: break

    print _
    time.sleep(3)

time.sleep(4)

I've added sleeps to make it handy for spotting on growing memory percentage. On my system (4G of ram), this script goes from 1.2% to 12%. As for python garbage collection, setting all used variables in loop and after it to None, deleting them and adding gc.collect() does not help, memory continue to grow.

document how to build aubio in a virtualenv

Is there a way to install aubio in virtualenv ?

Pretty much everyone uses virtualenv now .. but not really sure how to install the python libraries from the source so I can try and run it in one.

Build failed: task in 'test-source_avcodec' failed

Hi,

When building the latest aubio I get following error:

Build failed
-> task in 'test-source_avcodec' failed (exit status 1):
{task 139802123907024: cprogram test-source_avcodec.c.11.o -> test-source_avcodec}

Any ideas? Full log below.

Cheers,
Lucas

../aubio-0.4.1$ ./waf configure
Setting top to : /home/tracek/apps/aubio-0.4.1
Setting out to : /home/tracek/apps/aubio-0.4.1/build
Checking for 'gcc' (c compiler) : /usr/bin/gcc
Checking for header stdlib.h : yes
Checking for header stdio.h : yes
Checking for header math.h : yes
Checking for header string.h : yes
Checking for header limits.h : yes
Checking for C99 VA_ARGS macro : yes
Checking for FFT implementation : ooura
Checking for program pkg-config : /usr/bin/pkg-config
Checking for 'sndfile' >= 1.0.4 : yes
Checking for 'samplerate' >= 0.0.15 : yes
Checking for 'jack' : yes
Checking for 'libavcodec' >= 54.35.0 : yes
Checking for 'libavformat' >= 52.3.0 : yes
Checking for 'libavutil' >= 52.3.0 : yes
Checking for 'libavresample' >= 1.0.1 : not found
Checking for all libav libraries : not found
Checking for program txt2man : not found
Checking for program doxygen : /usr/bin/doxygen
'configure' finished successfully (0.384s)
../aubio-0.4.1$ ./waf build
Waf: Entering directory /home/tracek/apps/aubio-0.4.1/build' [ 53/216] cprogram: build/examples/aubiomfcc.c.2.o build/examples/utils.c.1.o build/examples/jackio.c.1.o -> build/examples/aubiomfcc [ 55/216] cprogram: build/examples/aubionotes.c.3.o build/examples/utils.c.1.o build/examples/jackio.c.1.o -> build/examples/aubionotes [ 57/216] cprogram: build/examples/aubioonset.c.4.o build/examples/utils.c.1.o build/examples/jackio.c.1.o -> build/examples/aubioonset [ 61/216] cprogram: build/examples/aubioquiet.c.6.o build/examples/utils.c.1.o build/examples/jackio.c.1.o -> build/examples/aubioquiet [132/216] cprogram: build/examples/aubiotrack.c.7.o build/examples/utils.c.1.o build/examples/jackio.c.1.o -> build/examples/aubiotrack [133/216] cprogram: build/tests/src/io/test-sink-multi.c.1.o -> build/tests/test-sink-multi [134/216] cprogram: build/tests/src/io/test-sink.c.2.o -> build/tests/test-sink [135/216] cprogram: build/tests/src/io/test-sink_apple_audio-multi.c.3.o -> build/tests/test-sink_apple_audio-multi [136/216] cprogram: build/tests/src/io/test-sink_apple_audio.c.4.o -> build/tests/test-sink_apple_audio [137/216] cprogram: build/tests/src/io/test-sink_sndfile-multi.c.5.o -> build/tests/test-sink_sndfile-multi [138/216] cprogram: build/tests/src/io/test-sink_sndfile.c.6.o -> build/tests/test-sink_sndfile [139/216] cprogram: build/tests/src/io/test-source.c.9.o -> build/tests/test-source [140/216] cprogram: build/tests/src/io/test-source_avcodec.c.11.o -> build/tests/test-source_avcodec [141/216] cprogram: build/tests/src/io/test-source_seek.c.13.o -> build/tests/test-source_seek [142/216] cprogram: build/tests/src/io/test-source_sndfile.c.14.o -> build/tests/test-source_sndfile [143/216] cprogram: build/tests/src/io/test-source_wavread.c.15.o -> build/tests/test-source_wavread tests/src/io/test-source_avcodec.c.11.o: In functionmain':
aubio-0.4.1/build/../tests/src/io/test-source_avcodec.c:36: undefined reference to new_aubio_source_avcodec' aubio-0.4.1/build/../tests/src/io/test-source_avcodec.c:41: undefined reference toaubio_source_avcodec_get_samplerate'
aubio-0.4.1/build/../tests/src/io/test-source_avcodec.c:44: undefined reference to aubio_source_avcodec_do' aubio-0.4.1/build/../tests/src/io/test-source_avcodec.c:53: undefined reference todel_aubio_source_avcodec'
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/home/tracek/apps/aubio-0.4.1/build'
Build failed
-> task in 'test-source_avcodec' failed (exit status 1):
{task 139802123907024: cprogram test-source_avcodec.c.11.o -> test-source_avcodec}
['/usr/bin/gcc', 'tests/src/io/test-source_avcodec.c.11.o', '-o', '/home/tracek/apps/aubio-0.4.1/build/tests/test-source_avcodec', '-Wl,-Bstatic', '-Lsrc', '-laubio', '-Wl,-Bdynamic', '-lm', '-lsamplerate', '-lsndfile', '-lavcodec', '-lavformat', '-lavutil']

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.