Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DougDougGithub/Babagaboosh
/ functions
Functions
32 in github.com/DougDougGithub/Babagaboosh
⨍
Functions
32
◇
Types & classes
5
↓ 6 callers
Method
set_filter_visibility
(self, source_name, filter_name, filter_enabled=True)
obs_websockets.py:31
↓ 5 callers
Method
play_audio
Parameters: file_path (str): path to the audio file sleep_during_playback (bool): means program will wait for length of audio
audio_player.py:15
↓ 4 callers
Function
num_tokens_from_messages
Returns the number of tokens used by a list of messages. Copied with minor changes from: https://platform.openai.com/docs/guides/chat/managing-token
openai_chat.py:6
↓ 4 callers
Method
set_source_visibility
(self, scene_name, source_name, source_visible=True)
obs_websockets.py:35
↓ 2 callers
Method
chat_with_history
(self, prompt="")
openai_chat.py:58
↓ 2 callers
Method
play_audio_async
Parameters: file_path (str): path to the audio file
audio_player.py:64
↓ 2 callers
Method
set_scene
(self, new_scene)
obs_websockets.py:27
↓ 2 callers
Method
set_source_transform
(self, scene_name, source_name, new_transform)
obs_websockets.py:74
↓ 2 callers
Method
set_text
(self, source_name, new_text)
obs_websockets.py:46
↓ 2 callers
Method
speechtotext_from_mic_continuous
(self, stop_key='p')
azure_speech_to_text.py:109
↓ 2 callers
Method
text_to_audio
(self, input_text, voice="Doug VO Only", save_as_wave=True, subdirectory="")
eleven_labs.py:18
↓ 1 callers
Function
async_audio_test
()
audio_player.py:130
↓ 1 callers
Method
chat
(self, prompt="")
openai_chat.py:35
↓ 1 callers
Method
get_input_kind_list
(self)
obs_websockets.py:85
↓ 1 callers
Method
get_input_settings
(self, input_name)
obs_websockets.py:81
↓ 1 callers
Method
get_scene_items
(self, scene_name)
obs_websockets.py:89
↓ 1 callers
Method
get_source_transform
(self, scene_name, source_name)
obs_websockets.py:49
↓ 1 callers
Method
get_text
(self, source_name)
obs_websockets.py:41
↓ 1 callers
Method
text_to_audio_played
(self, input_text, voice="Doug VO Only")
eleven_labs.py:33
↓ 1 callers
Method
text_to_audio_streamed
(self, input_text, voice="Doug VO Only")
eleven_labs.py:42
Method
__init__
(self)
azure_speech_to_text.py:11
Method
__init__
(self)
eleven_labs.py:12
Method
__init__
(self)
obs_websockets.py:12
Method
__init__
(self)
audio_player.py:10
Method
__init__
(self)
openai_chat.py:27
Method
disconnect
(self)
obs_websockets.py:23
Method
handle_final_result
(evt)
azure_speech_to_text.py:89
Method
recognized_cb
(evt: speechsdk.SpeechRecognitionEventArgs)
azure_speech_to_text.py:120
Method
speechtotext_from_file
(self, filename)
azure_speech_to_text.py:44
Method
speechtotext_from_file_continuous
(self, filename)
azure_speech_to_text.py:65
Method
speechtotext_from_mic
(self)
azure_speech_to_text.py:21
Method
stop_cb
(evt)
azure_speech_to_text.py:70