MCPcopy Create free account

hub / github.com/Dadangdut33/Speech-Translate / functions

Functions557 in github.com/Dadangdut33/Speech-Translate

↓ 3 callersFunctionget_queue_data
()
speech_translate/utils/audio/file.py:662
↓ 3 callersFunctionget_whisper_version
()
build.py:48
↓ 3 callersMethodpreview_changes_tb
(self)
speech_translate/ui/frame/setting/textbox.py:391
↓ 3 callersFunctionrate_similarity
(a, b)
speech_translate/utils/helper.py:393
↓ 3 callersMethodrefinement_stop
(self, prompt=False, notify=True, master=None)
speech_translate/ui/window/main.py:1915
↓ 3 callersMethodresize_sheet_width_to_window
(self, with_check=True)
speech_translate/ui/custom/dialog.py:950
↓ 3 callersMethodsave
Save json file
speech_translate/utils/setting.py:325
↓ 3 callersMethodset_recording
(self, recording)
speech_translate/ui/custom/audio.py:45
↓ 3 callersFunctionset_ui_style
(theme: str, root=None)
speech_translate/utils/tk/style.py:29
↓ 3 callersFunctionset_webrtc_level
(mode: int)
speech_translate/utils/audio/record.py:548
↓ 3 callersMethodtoggle_always_on_top
Method to toggle always on top. If from keybind, then toggle the value manually. If on init, then don't save the setting and
speech_translate/ui/template/detached.py:273
↓ 3 callersMethodtoggle_auto_threshold
Toggle the auto threshold checkbutton
speech_translate/ui/frame/setting/record.py:329
↓ 3 callersMethodtoggle_click_through
Method to toggle click through. Only on windows. If from keybind, then toggle the value manually. If on init, then don't save
speech_translate/ui/template/detached.py:253
↓ 3 callersMethodtoggle_title_bar
Method to toggle title bar. If from keybind, then toggle the value manually. If on init, then don't save the setting and don'
speech_translate/ui/template/detached.py:226
↓ 3 callersMethodtoggle_tooltip
Method to toggle tooltip. If from keybind, then toggle the value manually. If on init, then don't save the setting and don't
speech_translate/ui/template/detached.py:204
↓ 3 callersMethodtoggle_use_temp
Toggle the use temp checkbutton
speech_translate/ui/frame/setting/record.py:1017
↓ 3 callersMethodtranslate_stop
(self, prompt=False, notify=True, master=None)
speech_translate/ui/window/main.py:2088
↓ 3 callersMethodupdate_log
(self)
speech_translate/ui/window/log.py:127
↓ 3 callersMethodupdate_tc
Update the transcribed text box with the new text. Parameters ---------- new_res : New result to be added to the
speech_translate/linker.py:325
↓ 3 callersFunctionverify_model_whisper
Verify the SHA256 checksum of a downloaded model Parameters ---------- model_key : str one of the official model names listed by
speech_translate/utils/whisper/download.py:48
↓ 2 callersMethod__init__
(self, master, **kwargs)
speech_translate/ui/custom/combobox.py:40
↓ 2 callersMethod__toggle_auto_channels
Toggle channels spinner disabled or not depending on auto value
speech_translate/ui/frame/setting/record.py:1076
↓ 2 callersMethod__toggle_auto_sr
Toggle sr spinner disabled or not depending on auto value
speech_translate/ui/frame/setting/record.py:1064
↓ 2 callersFunction_inner_tl
(text: str)
speech_translate/utils/translate/translator.py:26
↓ 2 callersMethodbar_update
(self, bar_width)
speech_translate/ui/custom/audio.py:77
↓ 2 callersFunctionbreak_buffer_store_update
Break the buffer (last_sample). Resetting the buffer means that the buffer will be cleared and it will be stored in the curre
speech_translate/utils/audio/record.py:663
↓ 2 callersMethodcall_set_meter
Call the set meter function in a new thread It will close the meter first before opening it. Parameters ----------
speech_translate/ui/frame/setting/record.py:463
↓ 2 callersFunctionchange_file_w_f_call
(element: ttk.Entry, f_call: Callable, title, filetypes, parent=None)
speech_translate/utils/helper.py:593
↓ 2 callersFunctionchange_folder_w_f_call
(element: ttk.Entry, f_call: Callable, title, parent=None)
speech_translate/utils/helper.py:586
↓ 2 callersMethodcheck_for_update
(self, _event=None, notify_up_to_date=False)
speech_translate/ui/window/about.py:138
↓ 2 callersMethodcleanup
(self)
speech_translate/ui/window/main.py:753
↓ 2 callersMethodcopy_tb
(self, mode: Literal["transcribed", "translated"])
speech_translate/ui/window/main.py:901
↓ 2 callersMethoddelete_log
(self)
speech_translate/ui/frame/setting/general.py:524
↓ 2 callersFunctiondisable_silerovad
Disable silero when not possible to use it
speech_translate/utils/audio/record.py:555
↓ 2 callersMethodfill_theme
(self)
speech_translate/ui/frame/setting/general.py:844
↓ 2 callersMethodflash
(self)
speech_translate/ui/custom/audio.py:111
↓ 2 callersMethodflash_bar
(self, bar_width)
speech_translate/ui/custom/audio.py:119
↓ 2 callersFunctionfname_dupe_check
(filename: str, extension: str)
speech_translate/utils/whisper/save.py:64
↓ 2 callersFunctiongenerate_temp_filename
Generates a temporary filename with the current date and time.
speech_translate/utils/helper.py:385
↓ 2 callersFunctionget_db
Get the db value of the audio data. Parameters ---------- audio_data : bytes chunk of audio data from pyaudio input stream in byt
speech_translate/utils/audio/audio.py:114
↓ 2 callersFunctionget_default_host_api
Get the default host api. Returns ------- bool True if success, False if failed str | dict Default host api detail. I
speech_translate/utils/audio/device.py:253
↓ 2 callersFunctionget_device_details
Function to get the device detail, chunk size, sample rate, and number of channels. Parameters ---- deviceType: "mic" | "speaker"
speech_translate/utils/audio/device.py:23
↓ 2 callersFunctionget_frame_duration
Get the frame duration to be used in the frame generator. Value return is either 10, 20, or 30 ms. Parameters ---------- sample_
speech_translate/utils/audio/audio.py:24
↓ 2 callersFunctionget_hallucination_filter
(_type: Union[Literal["rec"], Literal["file"]], location: str = "auto")
speech_translate/utils/whisper/helper.py:214
↓ 2 callersFunctionget_host_apis
Get the host apis from the system.
speech_translate/utils/audio/device.py:163
↓ 2 callersFunctionget_model
Get model and the function for stable whisper while also checking using faster whisper or not Parameters ---------- transcribe : bool
speech_translate/utils/whisper/load.py:453
↓ 2 callersFunctionget_temperature
Input must be a string of either a single float number (ex: 0.0) or tuple of floats number separated with commas (ex: 0.2, 0.3, 0.4 ...).
speech_translate/utils/whisper/helper.py:80
↓ 2 callersFunctionget_whisper_lang_name
Get whisper language name from search. If by any chance the search is already a language name, then it will return the search itself Paramet
speech_translate/utils/translate/language.py:284
↓ 2 callersMethodhidetip
(self)
speech_translate/ui/custom/tooltip.py:98
↓ 2 callersMethodhost_api_change
Change hostAPI combobox Will try to keep the previous mic and speaker if available. If not available, will try to get the de
speech_translate/ui/window/main.py:990
↓ 2 callersMethodincrement
Increment the counter by n (default = 1)
speech_translate/utils/custom/queue.py:26
↓ 2 callersFunctioninit_logging
(level)
speech_translate/_logging.py:68
↓ 2 callersFunctionmain
(with_log_init=True)
speech_translate/ui/window/main.py:2149
↓ 2 callersFunctionmain
()
test/ui/style.py:97
↓ 2 callersMethodmeter_update
(self)
speech_translate/ui/custom/audio.py:69
↓ 2 callersMethodmeter_update_flash
When on auto mode we want it to just show flashing and only when its recording
speech_translate/ui/custom/audio.py:99
↓ 2 callersMethodmic_set_default
Set microphone to default. Will update the list first. -> Show warning error if no default mic found -> Will search from the
speech_translate/ui/window/main.py:1078
↓ 2 callersFunctionnum_check
(el, v_min, v_max, cb_func=None, converts_to_float=False, allow_empty=False)
speech_translate/ui/custom/spinbox.py:23
↓ 2 callersMethodpath_default
(self, key: str, element: ttk.Entry, default_path: str)
speech_translate/ui/frame/setting/general.py:926
↓ 2 callersMethodpath_default
(self, key: str, element: ttk.Entry, default_path: str, save=True, prompt=True)
speech_translate/ui/frame/setting/export.py:531
↓ 2 callersMethodprompt_restart_app_after_changing_theme
(self)
speech_translate/ui/frame/setting/general.py:852
↓ 2 callersMethodqsize
Reliable implementation of multiprocessing.Queue.qsize()
speech_translate/utils/custom/queue.py:84
↓ 2 callersFunctionresample_sr
This function resamples the audio data from a given sample rate to a target sample rate. The function is used when the sample rate of the aud
speech_translate/utils/audio/audio.py:71
↓ 2 callersMethodresize_sheet_width_to_window
(self, with_check=True)
speech_translate/ui/custom/dialog.py:190
↓ 2 callersMethodruler_update
(self)
speech_translate/ui/custom/audio.py:83
↓ 2 callersMethodset_channels
Set the channels for the device
speech_translate/ui/frame/setting/record.py:1054
↓ 2 callersMethodset_chunk_size
Set the chunk size for the device
speech_translate/ui/frame/setting/record.py:1044
↓ 2 callersMethodset_max
(self, v_max)
speech_translate/ui/custom/audio.py:33
↓ 2 callersMethodset_min
(self, v_min)
speech_translate/ui/custom/audio.py:36
↓ 2 callersMethodset_sr
Set the sample rate for the device
speech_translate/ui/frame/setting/record.py:1034
↓ 2 callersFunctionset_theme
(theme: str)
speech_translate/utils/tk/style.py:119
↓ 2 callersMethodspeaker_set_default
Set speaker to default. Will update the list first. -> If fail to get speaker, show warning error.
speech_translate/ui/window/main.py:1121
↓ 2 callersFunctionstablets_verbose_log
This will log the result of the whisper engine in a verbose way. Parameters ---- result: whisper result
speech_translate/utils/whisper/helper.py:47
↓ 2 callersMethodstart_refresh_thread
(self)
speech_translate/ui/custom/dialog.py:916
↓ 2 callersFunctionstr_separator_to_html
Convert separator string to html We use some sort of empty space character or zero width space character to trick the html to think there is
speech_translate/utils/helper.py:206
↓ 2 callersFunctionstylename_elements_options
Function to expose the options of every element associated to a widget stylename.
test/ui/style.py:54
↓ 2 callersMethodswap_textbox
Swap the text box between the transcribed and translated
speech_translate/linker.py:317
↓ 2 callersFunctiontoggle_auto_threshold
()
speech_translate/utils/audio/record.py:483
↓ 2 callersFunctiontoggle_enable_threshold
()
speech_translate/utils/audio/record.py:464
↓ 2 callersMethodtoggle_silero_vad
Toggle the silero vad widget visibility
speech_translate/ui/frame/setting/record.py:589
↓ 2 callersFunctiontranslate
Translate Args ---- engine (str): Engine to use text (str): Text to translate from_lang (str): Language From
speech_translate/utils/translate/translator.py:310
↓ 2 callersFunctionunique_rec_list
To get unique list for the record session Parameters ---------- list_of_data : List List of data to get unique Returns -
speech_translate/utils/helper.py:133
↓ 2 callersMethodunschedule
(self)
speech_translate/ui/custom/tooltip.py:67
↓ 2 callersMethodunschedule
(self)
speech_translate/ui/custom/tooltip.py:185
↓ 2 callersMethodupdate_btn_start
(self)
speech_translate/ui/custom/dialog.py:184
↓ 2 callersFunctionupdate_log
()
speech_translate/ui/custom/download.py:433
↓ 2 callersFunctionupdate_progress_bar
()
speech_translate/ui/custom/download.py:135
↓ 2 callersMethodupdate_window_bg
(self)
speech_translate/ui/template/detached.py:241
↓ 2 callersFunctionverify_model_faster_whisper
Verify downloaded faster whisper model, a somewhat hacky check to see if the model is already downloaded Parameters ----------
speech_translate/utils/whisper/download.py:80
↓ 2 callersMethodverify_raw_args
(self, value: str)
speech_translate/ui/frame/setting/transcribe.py:1006
↓ 2 callersMethodverify_temperature
(self, value: str)
speech_translate/ui/frame/setting/transcribe.py:995
↓ 2 callersFunctionversion
()
setup.py:6
↓ 2 callersFunctionwindows_os_only
Disable widgets that are not available on Windows OS Args ---- widgets: List of widgets to disable
speech_translate/utils/helper.py:517
↓ 1 callersMethod__create_tray
(self)
speech_translate/ui/window/main.py:134
↓ 1 callersMethod__image_fallback
(self, width, height, color1, color2)
speech_translate/ui/window/main.py:125
↓ 1 callersMethod__init__
(self)
speech_translate/ui/window/main.py:118
↓ 1 callersMethod__init__
(self, master, title, text, **kwargs)
speech_translate/ui/custom/label.py:10
↓ 1 callersMethod__init_setting_once
Initialize the setting once
speech_translate/ui/frame/setting/record.py:979
↓ 1 callersMethod__init_setting_once
(self)
speech_translate/ui/frame/setting/general.py:521
↓ 1 callersMethod__init_setting_once
(self)
speech_translate/ui/frame/setting/transcribe.py:924
← previousnext →101–200 of 557, ranked by callers