tlecomte / friture

Real-time audio visualizations (spectrum, spectrogram, etc.)
http://friture.org
GNU General Public License v3.0
935 stars 161 forks source link

[Error] Crash at start program. #283

Open linzyjx opened 3 months ago

linzyjx commented 3 months ago

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

tlecomte commented 3 months ago

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!

denilsonsa commented 1 month ago

Sounds related to https://github.com/spatialaudio/python-sounddevice/issues/72 and https://github.com/spatialaudio/python-sounddevice/issues/490 and https://github.com/spatialaudio/python-sounddevice/issues/511 Possibly fixed by https://github.com/spatialaudio/python-sounddevice/pull/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.