vox.core

Classes

Transcriber

Module Contents

class vox.core.Transcriber(config, on_transcription_cb)
config
on_transcription
recording_enabled = True
transcription_queue
model
p
stream
transcription_processor_thread
_listen_for_toggle()

Listens for ENTER in stdin to toggle recording.

_transcription_processor()

Runs in a dedicated thread. Pulls audio data from the queue and transcribes it.

run()

Starts the main transcription loop.

close()

Cleans up resources.