I'm testing whether realtime works when I open my obs since I can hear my mic there, but when I clicked Start audio conversion, it crashes I got an error on my terminal:
Traceback (most recent call last):
File "/.../RVC/realtime_gui.py", line 1021, in <module>
gui = GUI()
^^^^^
File "/.../RVC/realtime_gui.py", line 81, in __init__
self.launcher()
File "/.../RVC/realtime_gui.py", line 414, in launcher
self.event_handler()
File "/.../RVC/realtime_gui.py", line 448, in event_handler
self.start_vc()
File "/.../RVC/realtime_gui.py", line 682, in start_vc
self.start_stream()
File "/.../RVC/realtime_gui.py", line 767, in start_stream
self.stream = sd.Stream(
^^^^^^^^^^
File "/.../RVC/.venv/lib/python3.12/site-packages/sounddevice.py", line 1843, in __init__
_StreamBase.__init__(self, kind='duplex', wrap_callback='array',
File "/.../RVC/.venv/lib/python3.12/site-packages/sounddevice.py", line 915, in __init__
_check(_lib.Pa_OpenStream(self._ptr, iparameters, oparameters,
File "/.../RVC/.venv/lib/python3.12/site-packages/sounddevice.py", line 2839, in _check
raise PortAudioError(errormsg, err)
sounddevice.PortAudioError: Error opening Stream: Device unavailable [PaErrorCode -9985]
This happens when I set my input to "USB 2.0..." because that's what my mic is connected to. It also happens when I set my output to headphones.
I'm testing whether realtime works when I open my obs since I can hear my mic there, but when I clicked Start audio conversion, it crashes I got an error on my terminal:
This happens when I set my input to "USB 2.0..." because that's what my mic is connected to. It also happens when I set my output to headphones.