tlecomte / friture

Real-time audio visualizations (spectrum, spectrogram, etc.)

Home Page:http://friture.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Error] Crash at start program.

linzyjx opened this issue · comments

When I install and start Program, it crashed!
Version:Friture 0.51

Windows 11 23H2 22631.3880
OS Language:Simplified Chinese

Traceback (most recent call last):
  File "main.py", line 6, in <module>
  File "friture\analyzer.py", line 418, in main
  File "friture\analyzer.py", line 117, in __init__
  File "friture\audiobackend.py", line 64, in AudioBackend
  File "friture\audiobackend.py", line 83, in __init__
  File "friture\audiobackend.py", line 205, in get_input_devices
  File "sounddevice.py", line 564, in query_devices
  File "sounddevice.py", line 564, in <genexpr>
  File "sounddevice.py", line 578, in query_devices
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 6: invalid continuation byte

friture.log.txt

Hello @linzyjx, sorry about that issue.
It looks like Friture was not able to process the name of your audio device. Could you please share how it's named ? I think you can see that in the Windows device manager. Thanks!

Sounds related to spatialaudio/python-sounddevice#72 and spatialaudio/python-sounddevice#490 and spatialaudio/python-sounddevice#511
Possibly fixed by spatialaudio/python-sounddevice#512 but maybe not.
In either case, this sounds like a bug in python-sounddevice code. Or a bug in Friture in case Friture ships an outdated version of the dependency.