v0.3.103

Budibase/budibasev0.3.103Apr 19, 2025by KoljaB

AI Summary

v0.3.103 introduces robust inter-process communication, asynchronous event handling, and audio normalization to improve the stability and metadata precision of the RealtimeSTT service.

Key Highlights

  • Thread-safe IPC using SafePipe to replace mp.Pipe
  • Audio normalization to -0.95 dBFS for consistent quality
  • Callback overhaul to run all event callbacks asynchronously
  • New wakeword_backend config and faster_whisper_vad_filter flag
  • Rich metadata with nanosecond-precision timestamps

New Features

  • Thread-safe IPC mechanism
  • Audio normalization option
  • Asynchronous event callbacks
  • Rich metadata embedding
  • CLI enhancements for debugging

Full Release Notes

# RealtimeSTT 0.3.103

### Features & Improvements
- **Thread‑safe IPC**: Introduce `SafePipe` to replace `mp.Pipe`, hopefully ensuring robust inter-process communication (needs more tests).
- **Audio normalization**: New `normalize_audio` option scales input to –0.95 dBFS for consistent transcription quality.
- **Callback overhaul**: All event callbacks (VAD, wake‑word, turn detection, recording, realtime updates) now run asynchronously via helper threads.
- **Wake word & VAD**: Add `wakeword_backend` config and `faster_whisper_vad_filter` flag; improved error messages when misconfigured.
- **Rich metadata**: Embed nanosecond‑precision timestamps in both client and server, serialized as formatted strings.
- **CLI enhancements**: `--faster_whisper_vad_filter` and `--debug_websockets` flags give finer control over server behavior.
- **Testing updates**: Adjusted parameters in `realtimestt_test` and added a new `type_into_textbox.py` example.