[aubio-user] Using aubio 0.4.0 from python (windows)

Paul Brossier piem at piem.org
Fri Jan 3 02:42:52 CET 2014


Hi all!

back online after a few days on the road. great to see some activity on
the list.

I will have very little access to the network for the next two weeks, so
please accept apologies if I reply to emails with some delay.

On 01/01/2014 15:52, Emilio Molina Martínez wrote:
> And here the attached log file I mentioned. :)
>
>
> 2014/1/1 Emilio Molina Martínez <emilio.mol.mar at gmail.com
> <mailto:emilio.mol.mar at gmail.com>>
>
> Hi and happy new year!,
>
> Great! now "configure" and "build" finished succesfully also for me
> (except for "test-delnull.exe", which crashes).

Excellent. test-delnull.exe is supposed to crash.

> I also installed the python binding with "python setup.py build", and
> it did it successfully I think.

Great, which version of python do you use? how did you convince it to
use gcc?

> Unfortunately, I still have problems at running the python demos and
>  some python tests (run_all_tests crashed at some point, so I run
> them independently). Specifically, I have problem with the following
>  python tests scripts: "test_specdesc.py", which directly crashes,
> and "test_filter.py", "test_filterbank_mel.py", "test_peakpicker.py"
> and "test_scale.py" that reported some problems (attached .txt
> file).

these are not crashes, but errors are produced by aubio. peakpicker and
scale are not in the python modules any more, these tests should be removed.

try running python run_all_tests -v

> Moreover, when running the demos with a a 44100Hz mono 16-bit WAV
> file of 134KB called test.wav, I have this type of problem (I didn't
>  try all demos though):
>
> e.g., "(...)\aubio\python\demos>python demo_pitch .py test.wav 44100
>  AUBIO ERROR: failed creating aubio source with test.wav Traceback
> (most recent call last): File "demo_pitch.py", line 19, in <module>
> s = source(filename, samplerate, hop_s) StandardError: error
> creating object"
>
> How could I fix this problem?

you need to recompile aubio with libsndfile, and optionnaly libav,
installed.

happy new year to all!

Paul



More information about the aubio-user mailing list