MCPcopy Create free account

hub / github.com/SevaSk/ecoute / functions

Functions80 in github.com/SevaSk/ecoute

↓ 22 callersMethodread
(self, size=-1)
custom_speech_recognition/__init__.py:322
↓ 11 callersMethodget_wav_data
Returns a byte string representing the contents of a WAV file containing the audio represented by the ``AudioData`` instance. If ``c
custom_speech_recognition/audio.py:136
↓ 9 callersMethodclose
(self)
custom_speech_recognition/__init__.py:217
↓ 6 callersMethodget_raw_data
Returns a byte string representing the raw frame data for the audio represented by the ``AudioData`` instance. If ``convert_rate`` i
custom_speech_recognition/audio.py:64
↓ 3 callersMethodget_flac_data
Returns a byte string representing the contents of a FLAC file containing the audio represented by the ``AudioData`` instance. Note
custom_speech_recognition/audio.py:209
↓ 3 callersMethodget_pyaudio
Imports the pyaudio module and checks its version. Throws exceptions if pyaudio can't be found or a wrong version is installed
custom_speech_recognition/__init__.py:105
↓ 2 callersMethod__init__
(self, source)
AudioRecorder.py:10
↓ 2 callersMethodadjust_for_ambient_noise
Adjusts the energy threshold dynamically using audio from ``source`` (an ``AudioSource`` instance) to account for ambient noise. Int
custom_speech_recognition/__init__.py:390
↓ 2 callersMethodadjust_for_noise
(self, device_name, msg)
AudioRecorder.py:20
↓ 2 callersFunctionget_flac_converter
Returns the absolute path of a FLAC converter executable, or raises an OSError if none can be found.
custom_speech_recognition/audio.py:261
↓ 2 callersMethodget_transcription
(self, wav_file_path)
TranscriberModels.py:31
↓ 2 callersMethodlisten
Records a single phrase from ``source`` (an ``AudioSource`` instance) into an ``AudioData`` instance, which it returns. This is done
custom_speech_recognition/__init__.py:466
↓ 2 callersMethodrecord_into_queue
(self, audio_queue)
AudioRecorder.py:26
↓ 2 callersMethodupdate_last_sample_and_phrase_status
(self, who_spoke, data, time_spoken)
AudioTranscriber.py:103
↓ 2 callersMethodwrite
(self, *args, **kwargs)
custom_speech_recognition/__init__.py:1559
↓ 1 callersFunctionclear_context
(transcriber, speaker_queue, mic_queue)
main.py:20
↓ 1 callersMethodclear_transcript_data
(self)
AudioTranscriber.py:146
↓ 1 callersFunctioncreate_ui_components
(root, transcriber, speaker_queue, mic_queue)
main.py:28
↓ 1 callersMethodflush
(self, *args, **kwargs)
custom_speech_recognition/__init__.py:1565
↓ 1 callersMethodget_transcript
(self)
AudioTranscriber.py:139
↓ 1 callersMethodlisten_in_background
Spawns a thread to repeatedly record phrases from ``source`` (an ``AudioSource`` instance) into an ``AudioData`` instance and call ``callback
custom_speech_recognition/__init__.py:563
↓ 1 callersFunctionmain
()
main.py:61
↓ 1 callersMethodrecognize_google
Performs speech recognition on ``audio_data`` (an ``AudioData`` instance), using the Google Speech Recognition API. The Google Speec
custom_speech_recognition/__init__.py:689
↓ 1 callersFunctionshutil_which
Python 2 compatibility: backport of ``shutil.which()`` from Python 3
custom_speech_recognition/audio.py:311
↓ 1 callersMethodsnowboy_wait_for_hot_word
(self, snowboy_location, snowboy_hot_word_files, source, timeout=None)
custom_speech_recognition/__init__.py:417
↓ 1 callersMethodupdate_transcript
(self, who_spoke, text, time_spoken)
AudioTranscriber.py:128
↓ 1 callersFunctionupdate_transcript_UI
(transcriber, textbox)
main.py:15
↓ 1 callersFunctionwrite_in_textbox
(textbox, text)
main.py:11
↓ 1 callersMethodwritelines
(self, *args, **kwargs)
custom_speech_recognition/__init__.py:1562
Method__enter__
(self)
custom_speech_recognition/__init__.py:51
Method__enter__
(self)
custom_speech_recognition/__init__.py:175
Method__enter__
(self)
custom_speech_recognition/__init__.py:253
Method__enter__
(self)
custom_speech_recognition/__init__.py:1546
Method__exit__
(self, exc_type, exc_value, traceback)
custom_speech_recognition/__init__.py:54
Method__exit__
(self, exc_type, exc_value, traceback)
custom_speech_recognition/__init__.py:203
Method__exit__
(self, exc_type, exc_value, traceback)
custom_speech_recognition/__init__.py:310
Method__exit__
(self, exc_type, exc_value, traceback)
custom_speech_recognition/__init__.py:1555
Method__init__
(self)
AudioRecorder.py:34
Method__init__
(self)
AudioRecorder.py:39
Method__init__
(self, mic_source, speaker_source, model)
AudioTranscriber.py:15
Method__init__
(self)
TranscriberModels.py:12
Method__init__
(self, api_key=None)
TranscriberModels.py:28
Method__init__
(self)
custom_speech_recognition/__init__.py:48
Method__init__
(self, device_index=None, sample_rate=None, chunk_size=1024, speaker=False, channels = 1)
custom_speech_recognition/__init__.py:74
Method__init__
(self, pyaudio_stream)
custom_speech_recognition/__init__.py:211
Method__init__
(self, filename_or_fileobject)
custom_speech_recognition/__init__.py:241
Method__init__
(self, audio_reader, little_endian, samples_24_bit_pretending_to_be_32_bit)
custom_speech_recognition/__init__.py:317
Method__init__
Creates a new ``Recognizer`` instance, which represents a collection of speech recognition functionality.
custom_speech_recognition/__init__.py:343
Method__init__
(self, mode="w+b")
custom_speech_recognition/__init__.py:1543
Method__init__
(self, frame_data, sample_rate, sample_width)
custom_speech_recognition/audio.py:25
Methodget_aiff_data
Returns a byte string representing the contents of an AIFF-C file containing the audio represented by the ``AudioData`` instance. If
custom_speech_recognition/audio.py:167
Functionget_model
(use_api)
TranscriberModels.py:5
Methodget_segment
Returns a new ``AudioData`` instance, trimmed to a given time interval. In other words, an ``AudioData`` instance with the same audio data ex
custom_speech_recognition/audio.py:34
Methodget_transcription
(self, wav_file_path)
TranscriberModels.py:18
Methodlist_microphone_names
Returns a list of the names of all available microphones. For microphones where the name can't be retrieved, the list entry contains ``None``
custom_speech_recognition/__init__.py:119
Methodlist_working_microphones
Returns a dictionary mapping device indices to microphone names, for microphones that are currently hearing sounds. When using this function,
custom_speech_recognition/__init__.py:136
Methodprocess_mic_data
(self, data, temp_file_name)
AudioTranscriber.py:114
Methodprocess_speaker_data
(self, data, temp_file_name)
AudioTranscriber.py:120
Methodread
(self, size)
custom_speech_recognition/__init__.py:214
Methodread_file
(filename, chunk_size=5242880)
custom_speech_recognition/__init__.py:1312
Methodrecognize_amazon
Performs speech recognition on ``audio_data`` (an ``AudioData`` instance) using Amazon Transcribe. https://aws.amazon.com/transcribe/
custom_speech_recognition/__init__.py:1139
Functionrecognize_api
(self, audio_data, client_access_token, language="en", session_id=None, show_all=False)
custom_speech_recognition/__init__.py:1576
Methodrecognize_assemblyai
Wraps the AssemblyAI STT service. https://www.assemblyai.com/
custom_speech_recognition/__init__.py:1306
Methodrecognize_azure
Performs speech recognition on ``audio_data`` (an ``AudioData`` instance), using the Microsoft Azure Speech API. The Microsoft Azure
custom_speech_recognition/__init__.py:868
Methodrecognize_bing
Performs speech recognition on ``audio_data`` (an ``AudioData`` instance), using the Microsoft Bing Speech API. The Microsoft Bing S
custom_speech_recognition/__init__.py:962
Methodrecognize_google_cloud
Performs speech recognition on ``audio_data`` (an ``AudioData`` instance), using the Google Cloud Speech API. This function requires
custom_speech_recognition/__init__.py:760
Methodrecognize_houndify
Performs speech recognition on ``audio_data`` (an ``AudioData`` instance), using the Houndify API. The Houndify client ID and client
custom_speech_recognition/__init__.py:1086
Methodrecognize_ibm
Performs speech recognition on ``audio_data`` (an ``AudioData`` instance), using the IBM Speech to Text API. The IBM Speech to Text
custom_speech_recognition/__init__.py:1375
Methodrecognize_lex
Performs speech recognition on ``audio_data`` (an ``AudioData`` instance), using the Amazon Lex API. If access_key_id or secret_acce
custom_speech_recognition/__init__.py:1052
Methodrecognize_sphinx
Performs speech recognition on ``audio_data`` (an ``AudioData`` instance), using CMU Sphinx. The recognition language is determined
custom_speech_recognition/__init__.py:596
Methodrecognize_tensorflow
Performs speech recognition on ``audio_data`` (an ``AudioData`` instance). Path to Tensor loaded from ``tensor_graph``. You can down
custom_speech_recognition/__init__.py:1432
Methodrecognize_vosk
(self, audio_data, language='en')
custom_speech_recognition/__init__.py:1522
Methodrecognize_whisper
Performs speech recognition on ``audio_data`` (an ``AudioData`` instance), using Whisper. The recognition language is determined by
custom_speech_recognition/__init__.py:1476
Functionrecognize_whisper_api
Performs speech recognition on ``audio_data`` (an ``AudioData`` instance), using the OpenAI Whisper API. This function requires an OpenAI ac
custom_speech_recognition/recognizers/whisper.py:10
Methodrecognize_wit
Performs speech recognition on ``audio_data`` (an ``AudioData`` instance), using the Wit.ai API. The Wit.ai API key is specified by
custom_speech_recognition/__init__.py:831
Methodrecord
Records up to ``duration`` seconds of audio from ``source`` (an ``AudioSource`` instance) starting at ``offset`` (or at the beginning if not
custom_speech_recognition/__init__.py:357
Methodrecord_callback
(_, audio:sr.AudioData)
AudioRecorder.py:27
Methodstopper
(wait_for_stop=True)
custom_speech_recognition/__init__.py:586
Methodthreaded_listen
()
custom_speech_recognition/__init__.py:576
Methodtranscribe_audio_queue
(self, speaker_queue, mic_queue)
AudioTranscriber.py:40