RealTimeSTT 0.3.95__tar.gz → 0.3.97__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. {realtimestt-0.3.95 → realtimestt-0.3.97}/PKG-INFO +5 -3
  2. {realtimestt-0.3.95 → realtimestt-0.3.97}/README.md +4 -2
  3. {realtimestt-0.3.95 → realtimestt-0.3.97}/RealtimeSTT/audio_input.py +2 -2
  4. {realtimestt-0.3.95 → realtimestt-0.3.97}/RealtimeSTT/audio_recorder.py +1 -1
  5. {realtimestt-0.3.95 → realtimestt-0.3.97}/RealtimeSTT.egg-info/PKG-INFO +5 -3
  6. {realtimestt-0.3.95 → realtimestt-0.3.97}/setup.py +1 -1
  7. {realtimestt-0.3.95 → realtimestt-0.3.97}/LICENSE +0 -0
  8. {realtimestt-0.3.95 → realtimestt-0.3.97}/RealtimeSTT/__init__.py +0 -0
  9. {realtimestt-0.3.95 → realtimestt-0.3.97}/RealtimeSTT/audio_recorder_client.py +0 -0
  10. {realtimestt-0.3.95 → realtimestt-0.3.97}/RealtimeSTT/warmup_audio.wav +0 -0
  11. {realtimestt-0.3.95 → realtimestt-0.3.97}/RealtimeSTT.egg-info/SOURCES.txt +0 -0
  12. {realtimestt-0.3.95 → realtimestt-0.3.97}/RealtimeSTT.egg-info/dependency_links.txt +0 -0
  13. {realtimestt-0.3.95 → realtimestt-0.3.97}/RealtimeSTT.egg-info/entry_points.txt +0 -0
  14. {realtimestt-0.3.95 → realtimestt-0.3.97}/RealtimeSTT.egg-info/requires.txt +0 -0
  15. {realtimestt-0.3.95 → realtimestt-0.3.97}/RealtimeSTT.egg-info/top_level.txt +0 -0
  16. {realtimestt-0.3.95 → realtimestt-0.3.97}/RealtimeSTT_server/__init__.py +0 -0
  17. {realtimestt-0.3.95 → realtimestt-0.3.97}/RealtimeSTT_server/install_packages.py +0 -0
  18. {realtimestt-0.3.95 → realtimestt-0.3.97}/RealtimeSTT_server/stt_cli_client.py +0 -0
  19. {realtimestt-0.3.95 → realtimestt-0.3.97}/RealtimeSTT_server/stt_server.py +0 -0
  20. {realtimestt-0.3.95 → realtimestt-0.3.97}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: RealtimeSTT
3
- Version: 0.3.95
3
+ Version: 0.3.97
4
4
  Summary: A fast Voice Activity Detection and Transcription System
5
5
  Home-page: https://github.com/KoljaB/RealTimeSTT
6
6
  Author: Kolja Beigel
@@ -52,11 +52,13 @@ It's ideal for:
52
52
  - **Voice Assistants**
53
53
  - Applications requiring **fast and precise** speech-to-text conversion
54
54
 
55
- https://github.com/user-attachments/assets/797e6552-27cd-41b1-a7f3-e5cbc72094f5
55
+ https://github.com/user-attachments/assets/797e6552-27cd-41b1-a7f3-e5cbc72094f5
56
+
57
+ [CLI demo code (reproduces the video above)](tests/realtimestt_test.py)
56
58
 
57
59
  ### Updates
58
60
 
59
- Latest Version: v0.3.95
61
+ Latest Version: v0.3.97
60
62
 
61
63
  See [release history](https://github.com/KoljaB/RealtimeSTT/releases).
62
64
 
@@ -24,11 +24,13 @@ It's ideal for:
24
24
  - **Voice Assistants**
25
25
  - Applications requiring **fast and precise** speech-to-text conversion
26
26
 
27
- https://github.com/user-attachments/assets/797e6552-27cd-41b1-a7f3-e5cbc72094f5
27
+ https://github.com/user-attachments/assets/797e6552-27cd-41b1-a7f3-e5cbc72094f5
28
+
29
+ [CLI demo code (reproduces the video above)](tests/realtimestt_test.py)
28
30
 
29
31
  ### Updates
30
32
 
31
- Latest Version: v0.3.95
33
+ Latest Version: v0.3.97
32
34
 
33
35
  See [release history](https://github.com/KoljaB/RealtimeSTT/releases).
34
36
 
@@ -204,7 +204,7 @@ class AudioInput:
204
204
 
205
205
  def read_chunk(self):
206
206
  """Read a chunk of audio data"""
207
- return self.stream.read(self.CHUNK, exception_on_overflow=False)
207
+ return self.stream.read(self.chunk_size, exception_on_overflow=False)
208
208
 
209
209
  def cleanup(self):
210
210
  """Clean up audio resources"""
@@ -217,4 +217,4 @@ class AudioInput:
217
217
  self.audio_interface.terminate()
218
218
  self.audio_interface = None
219
219
  except Exception as e:
220
- print(f"Error cleaning up audio resources: {e}")
220
+ print(f"Error cleaning up audio resources: {e}")
@@ -1478,7 +1478,7 @@ class AudioToTextRecorder:
1478
1478
  porcupine_index = self.porcupine.process(pcm)
1479
1479
  if self.debug_mode:
1480
1480
  logging.info(f"wake words porcupine_index: {porcupine_index}")
1481
- return self.porcupine.process(pcm)
1481
+ return porcupine_index
1482
1482
 
1483
1483
  elif self.wakeword_backend in {'oww', 'openwakeword', 'openwakewords'}:
1484
1484
  pcm = np.frombuffer(data, dtype=np.int16)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: RealtimeSTT
3
- Version: 0.3.95
3
+ Version: 0.3.97
4
4
  Summary: A fast Voice Activity Detection and Transcription System
5
5
  Home-page: https://github.com/KoljaB/RealTimeSTT
6
6
  Author: Kolja Beigel
@@ -52,11 +52,13 @@ It's ideal for:
52
52
  - **Voice Assistants**
53
53
  - Applications requiring **fast and precise** speech-to-text conversion
54
54
 
55
- https://github.com/user-attachments/assets/797e6552-27cd-41b1-a7f3-e5cbc72094f5
55
+ https://github.com/user-attachments/assets/797e6552-27cd-41b1-a7f3-e5cbc72094f5
56
+
57
+ [CLI demo code (reproduces the video above)](tests/realtimestt_test.py)
56
58
 
57
59
  ### Updates
58
60
 
59
- Latest Version: v0.3.95
61
+ Latest Version: v0.3.97
60
62
 
61
63
  See [release history](https://github.com/KoljaB/RealtimeSTT/releases).
62
64
 
@@ -9,7 +9,7 @@ with open('requirements.txt') as f:
9
9
 
10
10
  setuptools.setup(
11
11
  name="RealtimeSTT",
12
- version="0.3.95",
12
+ version="0.3.97",
13
13
  author="Kolja Beigel",
14
14
  author_email="kolja.beigel@web.de",
15
15
  description="A fast Voice Activity Detection and Transcription System",
File without changes
File without changes