SYMBOL INDEX (270 symbols across 30 files) FILE: RealtimeSTT/audio_input.py class AudioInput (line 11) | class AudioInput: method __init__ (line 12) | def __init__( method get_supported_sample_rates (line 34) | def get_supported_sample_rates(self, device_index): method _get_best_sample_rate (line 55) | def _get_best_sample_rate(self, actual_device_index, desired_rate): method list_devices (line 80) | def list_devices(self): method setup (line 111) | def setup(self): method lowpass_filter (line 151) | def lowpass_filter(self, signal, cutoff_freq, sample_rate): method resample_audio (line 180) | def resample_audio(self, pcm_data, target_sample_rate, original_sample... method read_chunk (line 205) | def read_chunk(self): method cleanup (line 209) | def cleanup(self): FILE: RealtimeSTT/audio_recorder.py class TranscriptionWorker (line 94) | class TranscriptionWorker: method __init__ (line 95) | def __init__(self, conn, stdout_pipe, model_path, download_root, compu... method custom_print (line 116) | def custom_print(self, *args, **kwargs): method poll_connection (line 123) | def poll_connection(self): method run (line 137) | def run(self): class bcolors (line 240) | class bcolors: class AudioToTextRecorder (line 246) | class AudioToTextRecorder: method __init__ (line 253) | def __init__(self, method _start_thread (line 977) | def _start_thread(self, target=None, args=()): method _read_stdout (line 1000) | def _read_stdout(self): method _transcription_worker (line 1019) | def _transcription_worker(*args, **kwargs): method _run_callback (line 1023) | def _run_callback(self, cb, *args, **kwargs): method _audio_data_worker (line 1032) | def _audio_data_worker( method wakeup (line 1375) | def wakeup(self): method abort (line 1381) | def abort(self): method wait_audio (line 1394) | def wait_audio(self): method perform_final_transcription (line 1500) | def perform_final_transcription(self, audio_bytes=None, use_prompt=True): method transcribe (line 1555) | def transcribe(self): method _process_wakeword (line 1591) | def _process_wakeword(self, data): method text (line 1631) | def text(self, method format_number (line 1676) | def format_number(self, num): method start (line 1685) | def start(self, frames = None): method stop (line 1722) | def stop(self, method listen (line 1766) | def listen(self): method feed_audio (line 1777) | def feed_audio(self, chunk, original_sample_rate=16000): method set_microphone (line 1817) | def set_microphone(self, microphone_on=True): method shutdown (line 1824) | def shutdown(self): method _recording_worker (line 1882) | def _recording_worker(self): method _realtime_worker (line 2313) | def _realtime_worker(self): method _is_silero_speech (line 2503) | def _is_silero_speech(self, chunk): method _is_webrtc_speech (line 2533) | def _is_webrtc_speech(self, chunk, all_frames_must_be_true=False): method _check_voice_activity (line 2589) | def _check_voice_activity(self, data): method clear_audio_queue (line 2609) | def clear_audio_queue(self): method _is_voice_active (line 2623) | def _is_voice_active(self): method _set_state (line 2632) | def _set_state(self, new_state): method _set_spinner (line 2688) | def _set_spinner(self, text): method _preprocess_output (line 2705) | def _preprocess_output(self, text, preview=False): method _find_tail_match_in_text (line 2732) | def _find_tail_match_in_text(self, text1, text2, length_of_match=10): method _on_realtime_transcription_stabilized (line 2777) | def _on_realtime_transcription_stabilized(self, text): method _on_realtime_transcription_update (line 2796) | def _on_realtime_transcription_update(self, text): method __enter__ (line 2814) | def __enter__(self): method __exit__ (line 2827) | def __exit__(self, exc_type, exc_value, traceback): FILE: RealtimeSTT/audio_recorder_client.py class bcolors (line 52) | class bcolors: function format_timestamp_ns (line 63) | def format_timestamp_ns(timestamp_ns: int) -> str: class AudioToTextRecorderClient (line 80) | class AudioToTextRecorderClient: method __init__ (line 87) | def __init__(self, method text (line 296) | def text(self, on_transcription_finished=None): method feed_audio (line 346) | def feed_audio(self, chunk, audio_meta_data, original_sample_rate=16000): method set_microphone (line 367) | def set_microphone(self, microphone_on=True): method abort (line 373) | def abort(self): method wakeup (line 376) | def wakeup(self): method clear_audio_queue (line 379) | def clear_audio_queue(self): method perform_final_transcription (line 382) | def perform_final_transcription(self): method stop (line 385) | def stop(self): method connect (line 388) | def connect(self): method start_server (line 428) | def start_server(self): method is_server_running (line 538) | def is_server_running(self): method ensure_server_running (line 550) | def ensure_server_running(self): method list_devices (line 576) | def list_devices(self): method start_recording (line 581) | def start_recording(self): method setup_audio (line 586) | def setup_audio(self): method record_and_send_audio (line 594) | def record_and_send_audio(self): method cleanup_audio (line 656) | def cleanup_audio(self): method on_control_message (line 661) | def on_control_message(self, ws, message): method on_data_message (line 684) | def on_data_message(self, ws, message): method on_error (line 764) | def on_error(self, ws, error): method on_close (line 767) | def on_close(self, ws, close_status_code, close_msg): method on_control_open (line 776) | def on_control_open(self, ws): method on_data_open (line 781) | def on_data_open(self, ws): method set_parameter (line 785) | def set_parameter(self, parameter, value): method get_parameter (line 793) | def get_parameter(self, parameter): method call_method (line 824) | def call_method(self, method, args=None, kwargs=None): method shutdown (line 833) | def shutdown(self): method __enter__ (line 852) | def __enter__(self): method __exit__ (line 865) | def __exit__(self, exc_type, exc_value, traceback): FILE: RealtimeSTT/safepipe.py class ParentPipe (line 23) | class ParentPipe: method __init__ (line 30) | def __init__(self, parent_synthesize_pipe): method _pipe_worker (line 49) | def _pipe_worker(self): method send (line 96) | def send(self, data): method recv (line 114) | def recv(self): method poll (line 138) | def poll(self, timeout=0.0): method close (line 161) | def close(self): function SafePipe (line 177) | def SafePipe(debug=False): function child_process_code (line 186) | def child_process_code(child_end): function sender_thread (line 208) | def sender_thread(n): FILE: RealtimeSTT_server/install_packages.py function check_and_install_packages (line 5) | def check_and_install_packages(packages): FILE: RealtimeSTT_server/stt_cli_client.py function main (line 36) | def main(): FILE: RealtimeSTT_server/stt_server.py class bcolors (line 136) | class bcolors: function preprocess_text (line 201) | def preprocess_text(text): function debug_print (line 224) | def debug_print(message): function format_timestamp_ns (line 230) | def format_timestamp_ns(timestamp_ns: int) -> str: function text_detected (line 247) | def text_detected(text, loop): function on_recording_start (line 314) | def on_recording_start(loop): function on_recording_stop (line 320) | def on_recording_stop(loop): function on_vad_detect_start (line 326) | def on_vad_detect_start(loop): function on_vad_detect_stop (line 332) | def on_vad_detect_stop(loop): function on_wakeword_detected (line 338) | def on_wakeword_detected(loop): function on_wakeword_detection_start (line 344) | def on_wakeword_detection_start(loop): function on_wakeword_detection_end (line 350) | def on_wakeword_detection_end(loop): function on_transcription_start (line 356) | def on_transcription_start(_audio_bytes, loop): function on_turn_detection_start (line 364) | def on_turn_detection_start(loop): function on_turn_detection_stop (line 371) | def on_turn_detection_stop(loop): function parse_arguments (line 398) | def parse_arguments(): function _recorder_thread (line 571) | def _recorder_thread(loop): function decode_and_resample (line 603) | def decode_and_resample( function control_handler (line 624) | async def control_handler(websocket): function data_handler (line 719) | async def data_handler(websocket): function broadcast_audio_messages (line 771) | async def broadcast_audio_messages(): function make_callback (line 785) | def make_callback(loop, callback): function main_async (line 790) | async def main_async(): function shutdown_procedure (line 885) | async def shutdown_procedure(): function main (line 905) | def main(): FILE: example_app/ui_openai_voice_interface.py function generate_response (line 56) | def generate_response(messages): class AudioPlayer (line 68) | class AudioPlayer(QThread): method __init__ (line 69) | def __init__(self, file_path): method run (line 73) | def run(self): class TextRetrievalThread (line 79) | class TextRetrievalThread(QThread): method __init__ (line 82) | def __init__(self, recorder): method run (line 87) | def run(self): method activate (line 96) | def activate(self): class TransparentWindow (line 99) | class TransparentWindow(QWidget): method __init__ (line 104) | def __init__(self): method mousePressEvent (line 171) | def mousePressEvent(self, event: QMouseEvent): method close_application (line 176) | def close_application(self): method init (line 181) | def init(self): method closeEvent (line 217) | def closeEvent(self, event): method select_engine (line 221) | def select_engine(self, engine_name): method text_detected (line 261) | def text_detected(self, text): method on_escape (line 269) | def on_escape(self, e): method showEvent (line 273) | def showEvent(self, event: QEvent): method on_character (line 279) | def on_character(self, char): method on_text_stream_stop (line 284) | def on_text_stream_stop(self): method on_audio_stream_stop (line 291) | def on_audio_stream_stop(self): method generate_answer (line 298) | def generate_answer(self): method set_symbols (line 310) | def set_symbols(self, big_symbol, small_symbol): method on_text_stream_start (line 315) | def on_text_stream_start(self): method process_user_text (line 318) | def process_user_text(self, user_text): method on_transcription_start (line 332) | def on_transcription_start(self): method on_recording_start (line 335) | def on_recording_start(self): method on_vad_detect_start (line 340) | def on_vad_detect_start(self): method on_wakeword_detection_start (line 347) | def on_wakeword_detection_start(self): method init_clear_user_text (line 353) | def init_clear_user_text(self): method remove_user_text (line 358) | def remove_user_text(self): method fade_out_user_text (line 363) | def fade_out_user_text(self): method clear_user_text (line 375) | def clear_user_text(self): method init_clear_assistant_text (line 385) | def init_clear_assistant_text(self): method remove_assistant_text (line 390) | def remove_assistant_text(self): method fade_out_assistant_text (line 395) | def fade_out_assistant_text(self): method clear_assistant_text (line 407) | def clear_assistant_text(self): method update_self (line 417) | def update_self(self): method drawTextWithOutline (line 448) | def drawTextWithOutline(self, painter, x, y, width, height, alignment,... method paintEvent (line 458) | def paintEvent(self, event): method return_text_adjusted_to_width (line 492) | def return_text_adjusted_to_width(self, text, font, max_width_allowed): FILE: example_browserclient/client.js function connectToServer (line 9) | function connectToServer() { function displayRealtimeText (line 44) | function displayRealtimeText(realtimeText, displayDiv) { function start_msg (line 55) | function start_msg() { FILE: example_browserclient/server.py function send_to_client (line 26) | async def send_to_client(message): function text_detected (line 36) | def text_detected(text): function run_recorder (line 63) | def run_recorder(): function decode_and_resample (line 86) | def decode_and_resample(audio_data, original_sample_rate, target_sample_... function echo (line 97) | async def echo(websocket): function main (line 128) | async def main(): FILE: example_webserver/client.py function clear_console (line 18) | def clear_console(): function update_displayed_text (line 21) | def update_displayed_text(text = ""): function send_start_recording (line 32) | async def send_start_recording(websocket): function test_client (line 39) | async def test_client(): FILE: example_webserver/server.py function clear_console (line 35) | def clear_console(): function handler (line 38) | async def handler(websocket, path): function add_message_to_queue (line 69) | def add_message_to_queue(type: str, content): function fill_cli_line (line 76) | def fill_cli_line(text): function text_detected (line 80) | def text_detected(text): function broadcast (line 94) | async def broadcast(message_obj): function send_handler (line 99) | async def send_handler(): function recording_started (line 106) | def recording_started(): function vad_detect_started (line 109) | def vad_detect_started(): function wakeword_detect_started (line 112) | def wakeword_detect_started(): function transcription_started (line 115) | def transcription_started(): function transcriber_thread (line 140) | def transcriber_thread(): function recorder_thread (line 154) | def recorder_thread(): FILE: example_webserver/stt_server.py function send_to_client (line 44) | async def send_to_client(message): function preprocess_text (line 56) | def preprocess_text(text): function text_detected (line 73) | def text_detected(text): function _recorder_thread (line 129) | def _recorder_thread(): function decode_and_resample (line 157) | def decode_and_resample( function echo (line 175) | async def echo(websocket, path): function main (line 199) | def main(): FILE: tests/advanced_talk.py function generate (line 111) | def generate(messages): FILE: tests/feed_audio.py function feed_audio_thread (line 22) | def feed_audio_thread(): function recorder_transcription_thread (line 51) | def recorder_transcription_thread(): FILE: tests/install_packages.py function check_and_install_packages (line 4) | def check_and_install_packages(packages): FILE: tests/minimalistic_talkbot.py function generate (line 10) | def generate(messages): FILE: tests/openai_voice_interface.py function generate_response (line 37) | def generate_response(messages): FILE: tests/openwakeword_test.py function on_wakeword_detected (line 9) | def on_wakeword_detected(): function on_recording_stop (line 13) | def on_recording_stop(): function on_wakeword_timeout (line 16) | def on_wakeword_timeout(): function on_wakeword_detection_start (line 23) | def on_wakeword_detection_start(): function on_recording_start (line 26) | def on_recording_start(): function on_vad_detect_start (line 29) | def on_vad_detect_start(): function text_detected (line 33) | def text_detected(text): FILE: tests/realtime_loop_test.py class SimpleApp (line 13) | class SimpleApp(QWidget): method __init__ (line 18) | def __init__(self): method speak_stt (line 81) | def speak_stt(self): method speak_input (line 85) | def speak_input(self): method text_detected (line 89) | def text_detected(self, text): method audio_stream_stop (line 92) | def audio_stream_stop(self): method speak (line 99) | def speak(self, text): method actual_update_stt_text (line 106) | def actual_update_stt_text(self, text): method actual_update_tts_text (line 109) | def actual_update_tts_text(self, text): method closeEvent (line 112) | def closeEvent(self, event): FILE: tests/realtimestt_chinese.py function clear_console (line 15) | def clear_console(): function text_detected (line 18) | def text_detected(text): function process_text (line 36) | def process_text(text): FILE: tests/realtimestt_speechendpoint.py function clear_console (line 83) | def clear_console(): function is_speech_finished (line 90) | def is_speech_finished(text): function preprocess_text (line 127) | def preprocess_text(text): function text_detected (line 144) | def text_detected(text): function process_queue (line 151) | def process_queue(): function process_text (line 241) | def process_text(text): FILE: tests/realtimestt_speechendpoint_binary_classified.py function get_completion_probability (line 89) | def get_completion_probability(sentence, model, tokenizer, device, max_l... function interpolate_detection (line 119) | def interpolate_detection(prob): function is_speech_finished (line 141) | def is_speech_finished(text): function preprocess_text (line 172) | def preprocess_text(text): function text_detected (line 181) | def text_detected(text): function ends_with_string (line 184) | def ends_with_string(text: str, s: str): function sentence_end (line 191) | def sentence_end(text: str): function additional_pause_based_on_words (line 196) | def additional_pause_based_on_words(text): function strip_ending_punctuation (line 209) | def strip_ending_punctuation(text): function get_suggested_whisper_pause (line 216) | def get_suggested_whisper_pause(text): function find_stereo_mix_index (line 228) | def find_stereo_mix_index(): function find_matching_texts (line 242) | def find_matching_texts(texts_without_punctuation): function process_queue (line 278) | def process_queue(): function process_text (line 401) | def process_text(text): FILE: tests/realtimestt_test.py function clear_console (line 73) | def clear_console(): function preprocess_text (line 78) | def preprocess_text(text): function text_detected (line 96) | def text_detected(text): function process_text (line 132) | def process_text(text): FILE: tests/realtimestt_test_hotkeys_v2.py function install_rich (line 10) | def install_rich(): function preprocess_text (line 75) | def preprocess_text(text): function text_detected (line 92) | def text_detected(text): function process_text (line 127) | def process_text(text): function static_recording_worker (line 220) | def static_recording_worker(): function start_static_recording (line 259) | def start_static_recording(): function stop_static_recording (line 280) | def stop_static_recording(): function process_static_transcription (line 299) | def process_static_transcription(): function reset_transcription (line 360) | def reset_transcription(): function mute_microphone (line 389) | def mute_microphone(): function unmute_microphone (line 393) | def unmute_microphone(): function transcription_loop (line 398) | def transcription_loop(): FILE: tests/realtimestt_test_stereomix.py function main (line 3) | def main(): FILE: tests/recorder_client.py function print_realtime_text (line 9) | def print_realtime_text(text): FILE: tests/translator.py function generate_response (line 32) | def generate_response(messages): function clear_console (line 39) | def clear_console(): function select_language (line 42) | def select_language(): function main (line 49) | def main(): FILE: tests/type_into_textbox.py function process_text (line 4) | def process_text(text): FILE: tests/vad_test.py function on_vad_detect_start (line 8) | def on_vad_detect_start(): function on_vad_detect_stop (line 13) | def on_vad_detect_stop(): function on_transcription_finished (line 18) | def on_transcription_finished(text): function run_recording (line 22) | async def run_recording(recorder): function main (line 31) | async def main():