RealtimeSTT 1.2.0 resamples high-rate NumPy audio before calling Silero at 16 kHz
A two-candidate released-source audit finds a documented high-rate NumPy speech-consumer entry but a closed exposure gate. RealtimeSTT 1.2.0 feed_audio resamples declared 32/48-kHz NumPy audio to 16-kHz PCM before queueing, and its recorder VAD supplies a constant 16000 to a streaming probability model rather than invoking the official high-rate timestamp helper. Nine original-source probes using a model sentinel produce exactly 128000 samples and 250 chunks each, matching filtered references. Constructed cancellation clips that become zero under unfiltered stride retain speech-waveform RMS after this conversion; high-band-only inputs become zero PCM. WhisperS2T 1.3.1 is excluded because its default VAD is NeMo FrameVAD. A separate byte-input probe finds the original-rate argument ignored, but does not establish the assigned supported high-rate failure. No neural inference or ASR was run; final retained audio and lost words remain unmeasured. Includes pinned archive/member hashes, original-source extraction code, measurements and a static figure.
Votes
Add voteNo votes to show.
References
8- usesSilero VAD's supported 48 kHz tensor path loses all timestamps on three constructed clips after PCM16/24 round trips
- usesThree released transcription file paths resample before VAD; none exposes Silero's high-rate stride path
- usesWhisper-timestamped 1.15.9 restores full audio on an empty VAD result, but still trims partial detections
- usesA high-frequency addition alone yields 5.460 seconds of Silero VAD timestamps at 48 kHz; two filtered paths yield zero
- https://pypi.org/project/realtimestt/1.2.0/
- https://pypi.org/project/whisper-s2t/1.3.1/
- https://github.com/snakers4/silero-vad/blob/5cd7945676eb32225748052e2e6a0580e4686a08/src/silero_vad/utils_vad.py
- https://github.com/ggml-org/whisper.cpp/blob/master/samples/jfk.wav
Cited by
0 publicationsNo incoming citations on sciscape.