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
{{ message }}
This repository has been archived by the owner on May 1, 2023. It is now read-only.
[2023-01-07 02:32:33,394] cli.get_wshiper:225 DEBUG -> WhisperConfig: model_name='tiny' device='cpu' language='en' fp16=True
[2023-01-07 02:32:33,795] transcriber._set_dtype:35 INFO -> Using FP32 because FP16 is not supported on CPU
Using cache found in /home/kris/.cache/torch/hub/snakers4_silero-vad_master
[2023-01-07 02:32:34,701] cli.get_context:239 DEBUG -> Context: protocol_version=6003 timestamp=0.0 buffer_tokens=[] buffer_mel=None nosoeech_skip_count=None temperatures=[0.0, 0.2, 0.4, 0.6, 0.8, 1.0] patience=None compression_ratio_threshold=2.4 logprob_threshold=-1.0 no_captions_threshold=0.6 best_of=5 beam_size=5 no_speech_threshold=0.6 buffer_threshold=0.5 vad_threshold=0.5 max_nospeech_skip=16 mel_frame_min_num=3000 data_type='float32'
[2023-01-07 02:32:34,701] cli.transcribe_from_mic:56 INFO -> Ready to transcribe
Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2050
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2721
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2845
Traceback (most recent call last):
File "/home/kris/.local/bin/whispering", line 8, in <module>
sys.exit(main())
File "/home/kris/.local/lib/python3.10/site-packages/whispering/cli.py", line 343, in main
for text in transcribe_from_mic(
File "/home/kris/.local/lib/python3.10/site-packages/whispering/cli.py", line 57, in transcribe_from_mic
with sd.InputStream(
File "/home/kris/.local/lib/python3.10/site-packages/sounddevice.py", line 1421, in __init__
_StreamBase.__init__(self, kind='input', wrap_callback='array',
File "/home/kris/.local/lib/python3.10/site-packages/sounddevice.py", line 898, in __init__
_check(_lib.Pa_OpenStream(self._ptr, iparameters, oparameters,
File "/home/kris/.local/lib/python3.10/site-packages/sounddevice.py", line 2747, in _check
raise PortAudioError(errormsg, err)
sounddevice.PortAudioError: Error opening InputStream: Invalid sample rate [PaErrorCode -9997]
I tried adding another sample rate to ~/.asoundrc to mic(i hate alsa config though and this shouldnt be neccessary in the first place), but it didnt work. Not sure i am doing the right thing...
The text was updated successfully, but these errors were encountered:
I tried adding another sample rate to ~/.asoundrc to mic(i hate alsa config though and this shouldnt be neccessary in the first place), but it didnt work. Not sure i am doing the right thing...
The text was updated successfully, but these errors were encountered: