Hi Virginie,

Wow, you're really starting to dig it in ;). ir2dsp was a contribution from
Pierre-Amaury Grumiaux that he did as part of an internship. I cc'ed him to
this thread as he might have some ideas.

Cheers,

Romain

On Sun, Jan 13, 2019 at 2:14 PM Virginie YK <virginie...@gmail.com> wrote:

> Hi
>
> I'm trying to use ir2dsp although I don't know Python at all.
> Anyway, I could finally install it on my PC. Now, in the Windows command
> line, I type :
> python ir2dsp.py test.wav test_model.dsp -20 100
>
> where test.wav is a short file supposed to be a kind of Impusionnal
> Response, test_model.dsp is the resulting model file ; -20 ("Minimum value
> of peaks in dB (between -infinity and 0)" and 100 Hz (Minimum distance
> between two peaks in Hertz).
>
> The result is the following message :
>
> C:\Users\User\AppData\Roaming\Python\Python37\site-packages\scipy\io\wavfile.py:273:
> *WavFileWarning: Chunk (non-data) not understood, skipping it.*
>   WavFileWarning)
> Traceback (most recent call last):
>
>
> *  File "ir2dsp.py", line 32, in <module>    x = x/max(x)ValueError: The
> truth value of an array with more than one element is ambiguous. Use
> a.any() or a.all()*
>
> Is it a bug or are there any condition on the input file (the wave file)
> that I don't know ? I chose a very short and easy input file of 345 Ko.
>
> In fact, I can't use ir2dsp ........ could you help me please ?
>
> Thanks
> Virginie
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>


-- 

Romain Michon
+33 (0)7 67 39 72 40http://grame.fr/~michon
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to