snd.xs() are the same value

26 views
Skip to first unread message

Kaijun Wu

unread,
Jul 2, 2024, 8:03:30 AM7/2/24
to Parselmouth
Hello Yannick,

Thank you very much.

I try to run the examples you gave. For the file of "the_north_wind_and_the_sun.wav"I cannot have the correct signal but as the picture in attachement.
I check snd.xs() it equals to only one value
1.png2.png

yannick...@gmail.com

unread,
Jul 2, 2024, 8:06:26 AM7/2/24
to Parselmouth
Are you using NumPy 2? If so, downgrade to the last NumPy < 2, I'm afraid: https://github.com/YannickJadoul/Parselmouth/issues/125

I haven't really had time to look into this yet, but I might release a small patch version soon, which pins NumPy < 2 during installation.

Kind regards
Yannick

Kaijun Wu

unread,
Jul 17, 2024, 6:50:05 AM7/17/24
to Parselmouth
Yes exactly. Thanks a lot

yannick...@gmail.com

unread,
Jul 17, 2024, 7:53:04 AM7/17/24
to Parselmouth
I am working on a fix for this. I hope that in the next week, I can release Parselmouth 0.4.4, compatible with NumPy 2!

Kind regards
Yannick

yannick...@gmail.com

unread,
Jul 30, 2024, 1:11:52 PM7/30/24
to Parselmouth
I just released Parselmouth 0.4.4! If you update Parselmouth, it should now be compatible with NumPy 2 and work as intended. (If that's not the case, do let me know, please!)

Kind regards
Yannick
Reply all
Reply to author
Forward
0 new messages