Skip to content

Commit

Permalink
better warmup
Browse files Browse the repository at this point in the history
  • Loading branch information
KoljaB committed Feb 15, 2025
2 parents efec23a + 13a6e1e commit d04d677
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ https://github.com/user-attachments/assets/797e6552-27cd-41b1-a7f3-e5cbc72094f5

### Updates

Latest Version: v0.3.94
Latest Version: v0.3.95

See [release history](https://github.com/KoljaB/RealtimeSTT/releases).

Expand Down
1 change: 1 addition & 0 deletions RealtimeSTT/audio_recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1276,6 +1276,7 @@ def wakeup(self):
self.listen_start = time.time()

def abort(self):
state = self.state
self.start_recording_on_voice_activity = False
self.stop_recording_on_voice_deactivity = False
self.interrupt_stop_event.set()
Expand Down
Binary file added RealtimeSTT/warmup_audio.wav
Binary file not shown.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ scipy==1.15.1
openwakeword>=0.4.0
websockets==14.2
websocket-client==1.8.0
numpy<2.0.0
numpy<2.0.0
soundfile==0.13.1
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setuptools.setup(
name="RealtimeSTT",
version="0.3.94",
version="0.3.95",
author="Kolja Beigel",
author_email="kolja.beigel@web.de",
description="A fast Voice Activity Detection and Transcription System",
Expand All @@ -25,6 +25,8 @@
python_requires='>=3.6',
install_requires=requirements,
keywords="real-time, audio, transcription, speech-to-text, voice-activity-detection, VAD, real-time-transcription, ambient-noise-detection, microphone-input, faster_whisper, speech-recognition, voice-assistants, audio-processing, buffered-transcription, pyaudio, ambient-noise-level, voice-deactivity",
package_data={"RealtimeSTT": ["warmup_audio.wav"]},
include_package_data=True,
entry_points={
'console_scripts': [
'stt-server=RealtimeSTT_server.stt_server:main',
Expand Down

0 comments on commit d04d677

Please # to comment.