You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i really dont know how to fix it but it only occurs with OpenAIEngine,
with other engines it works fine
error:
"Exception in thread Thread-1 (_process_buffer):
Traceback (most recent call last):
File "C:\Users\Jstyw\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Users\Jstyw\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Jstyw\AppData\Local\Programs\Python\Python311\Lib\site-packages\RealtimeTTS\stream_player.py", line 395, in _process_buffer
self._play_chunk(chunk)
File "C:\Users\Jstyw\AppData\Local\Programs\Python\Python311\Lib\site-packages\RealtimeTTS\stream_player.py", line 322, in play_chunk
sample_width = self.audio_stream.pyaudio_instance.get_sample_size(self.audio_stream.config.format)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jstyw\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyaudio_init.py", line 616, in get_sample_size
return pa.get_sample_size(format)
^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: ('Sample format not supported', -9994)"
The text was updated successfully, but these errors were encountered:
i really dont know how to fix it but it only occurs with OpenAIEngine,
with other engines it works fine
error:
"Exception in thread Thread-1 (_process_buffer):
Traceback (most recent call last):
File "C:\Users\Jstyw\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Users\Jstyw\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Jstyw\AppData\Local\Programs\Python\Python311\Lib\site-packages\RealtimeTTS\stream_player.py", line 395, in _process_buffer
self._play_chunk(chunk)
File "C:\Users\Jstyw\AppData\Local\Programs\Python\Python311\Lib\site-packages\RealtimeTTS\stream_player.py", line 322, in play_chunk
sample_width = self.audio_stream.pyaudio_instance.get_sample_size(self.audio_stream.config.format)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jstyw\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyaudio_init.py", line 616, in get_sample_size
return pa.get_sample_size(format)
^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: ('Sample format not supported', -9994)"
The text was updated successfully, but these errors were encountered: