<div dir="ltr">Hi!<div><br></div><div>I tried to install libsndfile and libav, and I recompiled it successfully but it still has the same problems (I am not able to run demo_pitch.py with test.wav). Just in case it was a matter of path settings, I tried to copy all .DLL to the aubio folder, but it didn't improve.</div>
<div><br></div><div>Regarding my python version, it is the last Anaconda distribution (<a href="https://store.continuum.io/cshop/anaconda/">https://store.continuum.io/cshop/anaconda/</a>), which includes python 2.7, and I didn't configure anything, just typed "python setup.py build" in ./python folder... Could it be something related to the mingw python package included in Anaconda?</div>
<div><br></div><div><br></div><div>Finally, I compiled successfully the last update of aubio in the develop branch (the one including RIFF wav files compatibility), but when running "python setup.py build" I got this errors:</div>
<div><br></div><div><div>"C:\Users\emilio\Anaconda\InstaladoresPython\aubio-develop\aubio-develop\python>p</div><div>ython setup.py build</div><div>Traceback (most recent call last):</div><div> File "setup.py", line 32, in <module></div>
<div> generated_object_files = generate_object_files(output_path)</div><div> File "C:\Users\emilio\Anaconda\InstaladoresPython\aubio-develop\aubio-develop\</div><div>python\lib\generator.py", line 149, in generate_object_files</div>
<div> s += gen_do(do_methods[0], short_name)</div><div> File "C:\Users\emilio\Anaconda\InstaladoresPython\aubio-develop\aubio-develop\</div><div>python\lib\gen_pyobject.py", line 374, in gen_do</div><div> outputvecs, outputcreate, returnval = gen_do_output_params(outputparams, nam</div>
<div>e)</div><div> File "C:\Users\emilio\Anaconda\InstaladoresPython\aubio-develop\aubio-develop\</div><div>python\lib\gen_pyobject.py", line 327, in gen_do_output_params</div><div> 'length': defaultsizes[name].pop(0) }</div>
<div>KeyError: 'source_wavread'"</div></div><div><br></div><div><br></div><div>Any other hint? :) Thanks a lot!</div><div><br></div><div>Greetings,</div><div>Emilio.</div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">2014/1/4 Paul Brossier <span dir="ltr"><<a href="mailto:piem@piem.org" target="_blank">piem@piem.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 01/02/2014 09:42 PM, Paul Brossier wrote:<br>
> On 01/01/2014 15:52, Emilio Molina Martínez wrote:<br>
</div><div class="im">>> e.g., "(...)\aubio\python\demos>python demo_pitch .py test.wav<br>
>> 44100 AUBIO ERROR: failed creating aubio source with test.wav<br>
>> Traceback (most recent call last): File "demo_pitch.py", line 19,<br>
>> in <module> s = source(filename, samplerate, hop_s) StandardError:<br>
>> error creating object"<br>
>><br>
>> How could I fix this problem?<br>
><br>
> you need to recompile aubio with libsndfile, and optionnaly libav,<br>
> installed.<br>
<br>
</div>Hi all,<br>
<br>
I just pushed a source_wavread object to the develop branch, so you<br>
should be able to read basic RIFF wav files even when building without<br>
libav or libsndfile.<br>
<br>
let me know how it works!<br>
<br>
cheers, Paul<br>
<br>
</blockquote></div><br></div>