<div dir="ltr">Hi Paul<div><br></div><div>It seems that <a href="http://stackoverflow.com/users/1715716/gauthier-boaglio" style="font-size:13px;margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(74,107,130);text-decoration:none;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:17px;white-space:nowrap">Gauthier Boaglio</a>'s answer here <a href="http://stackoverflow.com/questions/16737260/how-to-tell-distutils-to-use-gcc">http://stackoverflow.com/questions/16737260/how-to-tell-distutils-to-use-gcc</a> allows to use gcc for <span style="font-family:arial,sans-serif;font-size:13px">"python setup.py build"</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">However then the tests cannot find "aubio" module, so I'm not sure it built correctly, or which aubio file I should use...</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">My "python/build/</span><font face="arial, sans-serif">lib.win32-2.7" </font><span style="font-family:arial,sans-serif;font-size:13px">folder contains 3 files: __init__.py , _aubio.pyd</span><span style="font-family:arial,sans-serif"> , and midiconv.py</span></div>
<div><span style="font-family:arial,sans-serif">Is that correct ?</span></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Thanks</font></div><div><font face="arial, sans-serif"><br>
</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif"><br></font></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div class="gmail_extra">
<br clear="all"><div><span>-- <br></span>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<br>Aymeric ZILS - Audio Research
<br>Phone: (+33)1-75-430-451
<br>
<br>VOXLER
<br>8 passage Brûlon, bât A, 3ème étage
<br>75012 Paris
<br><a href="http://www.voxler.fr/" target="_blank">http://www.voxler.fr</a>
<br>Phone: (+33)1-4704-0041
<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<br>
<br>This email may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this email in
error) please notify the sender immediately and destroy this email. Any
unauthorised copying, disclosure or distribution of the material in this
email is strictly forbidden. <br></div>
<br><br><div class="gmail_quote">2014/1/8 Aymeric Voxler <span dir="ltr"><<a href="mailto:aymeric.voxler@gmail.com" target="_blank">aymeric.voxler@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi<div>I still don't know how to force "<span style="font-family:arial,sans-serif;font-size:13px">python setup.py build</span>" to use gcc</div><div>I'll keep you informed if I find a solution</div>
<div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="im"><span>-- <br></span>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<br>Aymeric ZILS - Audio Research
<br>Phone: <a href="tel:%28%2B33%291-75-430-451" value="+33175430451" target="_blank">(+33)1-75-430-451</a>
<br>
<br>VOXLER
<br>8 passage Brûlon, bât A, 3ème étage
<br>75012 Paris
<br><a href="http://www.voxler.fr/" target="_blank">http://www.voxler.fr</a>
<br></div>Phone: <a href="tel:%28%2B33%291-4704-0041" value="+33147040041" target="_blank">(+33)1-4704-0041</a>
<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<br><div class="im">
<br>This email may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this email in
error) please notify the sender immediately and destroy this email. Any
unauthorised copying, disclosure or distribution of the material in this
email is strictly forbidden. <br></div></div>
<br><br><div class="gmail_quote"><div><div class="h5">2014/1/4 Emilio Molina Martínez <span dir="ltr"><<a href="mailto:emilio.mol.mar@gmail.com" target="_blank">emilio.mol.mar@gmail.com</a>></span><br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<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/" target="_blank">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><div>Traceback (most recent call last):</div></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><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>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>>> 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>
</div></div><br></div></div><div class="im">_______________________________________________<br>
aubio-user mailing list<br>
<a href="mailto:aubio-user@aubio.org" target="_blank">aubio-user@aubio.org</a><br>
<a href="https://lists.aubio.org/listinfo/aubio-user" target="_blank">https://lists.aubio.org/listinfo/aubio-user</a><br></div></blockquote></div><br></div>
</blockquote></div><br></div>