SYMBOL INDEX (315 symbols across 116 files) FILE: bin/asr_adapter_raw2text.py function main (line 17) | def main() -> None: FILE: bin/asr_adapter_wav2text.py function main (line 19) | def main() -> None: FILE: bin/asr_transcribe.py function main (line 22) | async def main() -> None: FILE: bin/asr_transcribe_stream.py function main (line 30) | async def main() -> None: FILE: bin/asr_transcribe_wav.py function main (line 35) | async def main() -> None: function get_wav_bytes (line 134) | def get_wav_bytes(args: argparse.Namespace) -> Iterable[bytes]: FILE: bin/client_unix_socket.py function main (line 12) | def main(): function read_proc (line 41) | def read_proc(conn_file): function write_proc (line 53) | def write_proc(conn_file): FILE: bin/config_print.py function main (line 16) | def main() -> None: FILE: bin/handle_adapter_json.py function main (line 18) | def main() -> None: FILE: bin/handle_adapter_text.py function main (line 17) | def main() -> None: FILE: bin/handle_intent.py function main (line 21) | async def main() -> None: function get_input (line 65) | def get_input(args: argparse.Namespace) -> Iterable[str]: FILE: bin/handle_text.py function main (line 21) | async def main() -> None: function get_input (line 65) | def get_input(args: argparse.Namespace) -> Iterable[str]: FILE: bin/intent_recognize.py function main (line 19) | async def main() -> None: function get_texts (line 59) | def get_texts(args: argparse.Namespace) -> Iterable[str]: FILE: bin/mic_adapter_raw.py function main (line 18) | def main() -> None: FILE: bin/mic_record_sample.py function main (line 24) | async def main() -> None: FILE: bin/mic_test_energy.py function main (line 20) | async def main() -> None: FILE: bin/pipeline_run.py function main (line 26) | async def main() -> None: FILE: bin/program_download.py function main (line 16) | def main() -> None: FILE: bin/program_install.py function main (line 16) | def main() -> None: FILE: bin/satellite_run.py function main (line 25) | async def main() -> None: FILE: bin/server_run.py function main (line 20) | def main() -> None: FILE: bin/snd_adapter_raw.py function main (line 25) | def main() -> None: FILE: bin/snd_play.py function main (line 18) | async def main() -> None: FILE: bin/tts_adapter_http.py function main (line 18) | def main(): FILE: bin/tts_adapter_text2wav.py function main (line 23) | def main(): function text_to_wav (line 90) | def text_to_wav(args: argparse.Namespace, text: str) -> bytes: FILE: bin/tts_speak.py function main (line 21) | async def main() -> None: FILE: bin/tts_synthesize.py function main (line 18) | async def main() -> None: FILE: bin/vad_adapter_raw.py function main (line 20) | def main() -> None: FILE: bin/vad_segment_wav.py function main (line 25) | async def main() -> None: function get_wav_bytes (line 126) | def get_wav_bytes(args: argparse.Namespace) -> Iterable[bytes]: FILE: bin/wake_adapter_raw.py class State (line 23) | class State: function main (line 28) | def main() -> None: function write_proc (line 72) | def write_proc(reader: IO[bytes], state: State): FILE: bin/wake_detect.py function main (line 20) | async def main() -> None: FILE: programs/asr/coqui-stt/bin/coqui_stt_raw2text.py function main (line 13) | def main() -> None: FILE: programs/asr/coqui-stt/bin/coqui_stt_server.py function main (line 16) | def main(): function handle_client (line 92) | def handle_client(connection: socket.socket, model: Model, rate: int) ->... FILE: programs/asr/coqui-stt/bin/coqui_stt_wav2text.py function main (line 13) | def main() -> None: FILE: programs/asr/coqui-stt/script/download.py function main (line 15) | def main() -> None: FILE: programs/asr/faster-whisper/bin/faster_whisper_server.py function main (line 21) | def main() -> None: FILE: programs/asr/faster-whisper/bin/faster_whisper_wav2text.py function main (line 14) | def main() -> None: FILE: programs/asr/faster-whisper/script/download.py function main (line 21) | def main() -> None: FILE: programs/asr/faster-whisper/src/faster_whisper/audio.py function decode_audio (line 5) | def decode_audio(input_file, sampling_rate=16000): FILE: programs/asr/faster-whisper/src/faster_whisper/feature_extractor.py class FeatureExtractor (line 5) | class FeatureExtractor: method __init__ (line 6) | def __init__( method get_mel_filters (line 25) | def get_mel_filters(self, sr, n_fft, n_mels=128, dtype=np.float32): method fram_wave (line 74) | def fram_wave(self, waveform, center=True): method stft (line 118) | def stft(self, frames, window): method __call__ (line 145) | def __call__(self, waveform): FILE: programs/asr/faster-whisper/src/faster_whisper/transcribe.py class Segment (line 12) | class Segment(collections.namedtuple("Segment", ("start", "end", "text"))): class AudioInfo (line 16) | class AudioInfo( class TranscriptionOptions (line 22) | class TranscriptionOptions( class WhisperModel (line 40) | class WhisperModel: method __init__ (line 41) | def __init__( method transcribe (line 80) | def transcribe( method generate_segments (line 159) | def generate_segments(self, features, language, options): method generate_tokenized_segments (line 175) | def generate_tokenized_segments(self, features, language, options): method decode_text_tokens (line 254) | def decode_text_tokens(self, tokens): method generate_with_fallback (line 261) | def generate_with_fallback(self, segment, prompt, options): method get_prompt (line 302) | def get_prompt(self, language, previous_tokens): method get_segment (line 317) | def get_segment(self, features, offset=0): method get_input (line 333) | def get_input(self, segment): function get_compression_ratio (line 339) | def get_compression_ratio(text): FILE: programs/asr/faster-whisper/src/setup.py function get_requirements (line 6) | def get_requirements(path): FILE: programs/asr/pocketsphinx/bin/pocketsphinx_raw2text.py function main (line 12) | def main() -> None: FILE: programs/asr/pocketsphinx/bin/pocketsphinx_server.py function main (line 15) | def main() -> None: function handle_client (line 75) | def handle_client( FILE: programs/asr/pocketsphinx/bin/pocketsphinx_wav2text.py function main (line 12) | def main() -> None: FILE: programs/asr/pocketsphinx/script/download.py function main (line 15) | def main() -> None: FILE: programs/asr/vosk/bin/vosk_raw2text.py function main (line 12) | def main() -> None: FILE: programs/asr/vosk/bin/vosk_server.py function main (line 14) | def main(): function handle_client (line 68) | def handle_client(connection: socket.socket, model: Model, rate: int) ->... FILE: programs/asr/vosk/bin/vosk_wav2text.py function main (line 15) | def main() -> None: FILE: programs/asr/vosk/script/download.py function main (line 15) | def main() -> None: FILE: programs/asr/whisper-cpp/bin/whisper_cpp_server.py function main (line 15) | def main(): function handle_client (line 62) | def handle_client(connection: socket.socket, whisper: Whisper) -> None: FILE: programs/asr/whisper-cpp/bin/whisper_cpp_wav2text.py function main (line 16) | def main() -> None: FILE: programs/asr/whisper-cpp/lib/whisper_cpp.py class WhisperFullParams (line 9) | class WhisperFullParams(ctypes.Structure): class WhisperError (line 58) | class WhisperError(Exception): class Whisper (line 62) | class Whisper: method __init__ (line 63) | def __init__( method transcribe (line 89) | def transcribe(self, audio_array: np.ndarray) -> Iterable[str]: method __enter__ (line 107) | def __enter__(self): method __exit__ (line 110) | def __exit__(self, exc_type, exc_value, traceback): FILE: programs/asr/whisper-cpp/script/download.py function main (line 14) | def main() -> None: FILE: programs/asr/whisper-cpp/script/setup.py function main (line 15) | def main() -> None: FILE: programs/asr/whisper/bin/whisper_server.py function main (line 15) | def main(): function handle_client (line 67) | def handle_client( FILE: programs/asr/whisper/bin/whisper_wav2text.py function main (line 10) | def main() -> None: FILE: programs/handle/date_time/bin/date_time.py function main (line 7) | def main() -> None: FILE: programs/handle/home_assistant/bin/converse.py function main (line 14) | def main(): FILE: programs/intent/regex/bin/regex.py function main (line 11) | def main() -> None: function _clean (line 49) | def _clean(text: str) -> str: function _recognize (line 54) | def _recognize(text: str, patterns: Dict[str, List[re.Pattern]]) -> Opti... FILE: programs/mic/pyaudio/bin/pyaudio_events.py function main (line 22) | def main() -> None: FILE: programs/mic/pyaudio/bin/pyaudio_list_mics.py function main (line 6) | def main() -> None: FILE: programs/mic/pyaudio/bin/pyaudio_raw.py function main (line 14) | def main() -> None: FILE: programs/mic/pyaudio/bin/pyaudio_shared.py function iter_chunks (line 12) | def iter_chunks( FILE: programs/mic/sounddevice/bin/sounddevice_events.py function main (line 22) | def main() -> None: FILE: programs/mic/sounddevice/bin/sounddevice_list_mics.py function main (line 6) | def main() -> None: FILE: programs/mic/sounddevice/bin/sounddevice_raw.py function main (line 14) | def main() -> None: FILE: programs/mic/sounddevice/bin/sounddevice_shared.py function iter_chunks (line 12) | def iter_chunks( FILE: programs/mic/udp_raw/bin/udp_raw.py function main (line 15) | def main() -> None: class MicUDPHandler (line 41) | class MicUDPHandler(socketserver.BaseRequestHandler): method __init__ (line 42) | def __init__(self, rate: int, width: int, channels: int, *args, **kwar... method handle (line 49) | def handle(self): FILE: programs/remote/websocket/bin/stream2stream.py function main (line 21) | async def main() -> None: function play (line 91) | async def play(websocket, done_event: asyncio.Event): FILE: programs/snd/udp_raw/bin/udp_raw.py function main (line 17) | def main() -> None: FILE: programs/tts/flite/script/download.py function main (line 12) | def main() -> None: FILE: programs/tts/larynx/bin/larynx_client.py function main (line 15) | def main(): FILE: programs/tts/marytts/bin/marytts.py function main (line 15) | def main(): FILE: programs/tts/mimic3/bin/mimic3_server.py function main (line 22) | def main() -> None: function handle_client (line 86) | def handle_client(connection: socket.socket, mimic3: Mimic3TextToSpeechS... FILE: programs/tts/piper/bin/piper_server.py function main (line 17) | def main() -> None: function handle_connection (line 73) | def handle_connection( FILE: programs/tts/piper/script/download.py function main (line 105) | def main() -> None: FILE: programs/tts/piper/script/setup.py function main (line 17) | def main() -> None: FILE: programs/vad/energy/bin/energy_speech_prob.py function main (line 13) | def main() -> None: function get_debiased_energy (line 54) | def get_debiased_energy(audio_data: bytes, width: int) -> float: FILE: programs/vad/silero/bin/silero_speech_prob.py function main (line 17) | def main() -> None: class SileroDetector (line 44) | class SileroDetector: method start (line 50) | def start(self): method get_speech_probability (line 59) | def get_speech_probability(self, chunk: bytes) -> float: method stop (line 76) | def stop(self): method reset (line 81) | def reset(self): FILE: programs/vad/webrtcvad/bin/webrtcvad_speech_prob.py function main (line 14) | def main() -> None: FILE: programs/wake/porcupine1/bin/list_models.py function main (line 7) | def main() -> None: FILE: programs/wake/porcupine1/bin/porcupine_raw_text.py function main (line 17) | def main() -> None: FILE: programs/wake/porcupine1/bin/porcupine_shared.py function get_arg_parser (line 8) | def get_arg_parser() -> argparse.ArgumentParser: function load_porcupine (line 28) | def load_porcupine(args: argparse.Namespace) -> Tuple[pvporcupine.Porcup... FILE: programs/wake/porcupine1/bin/porcupine_stream.py function main (line 19) | def main() -> None: FILE: programs/wake/porcupine1/script/download.py function main (line 12) | def main() -> None: FILE: programs/wake/precise-lite/bin/precise.py function main (line 34) | def main(): class TFLiteHotWordEngine (line 92) | class TFLiteHotWordEngine: method __init__ (line 93) | def __init__( method _load_model (line 139) | def _load_model(self): method update (line 157) | def update(self, chunk): method found_wake_word (line 234) | def found_wake_word(self, frame_data): method reset (line 237) | def reset(self): method probability (line 247) | def probability(self) -> Optional[float]: class Vectorizer (line 254) | class Vectorizer(IntEnum): class ListenerParams (line 270) | class ListenerParams: method buffer_samples (line 316) | def buffer_samples(self): method n_features (line 322) | def n_features(self): method window_samples (line 329) | def window_samples(self): method hop_samples (line 334) | def hop_samples(self): method max_samples (line 339) | def max_samples(self): method feature_size (line 344) | def feature_size(self): function chunk_audio (line 356) | def chunk_audio( function buffer_to_audio (line 363) | def buffer_to_audio(audio_buffer: bytes) -> np.ndarray: function audio_to_buffer (line 370) | def audio_to_buffer(audio: np.ndarray) -> bytes: FILE: programs/wake/snowboy/bin/snowboy_raw_text.py function main (line 15) | def main() -> None: FILE: rhasspy3/asr.py class Transcript (line 23) | class Transcript(Eventable): method is_type (line 27) | def is_type(event_type: str) -> bool: method event (line 30) | def event(self) -> Event: method from_event (line 34) | def from_event(event: Event) -> "Transcript": function transcribe (line 39) | async def transcribe( function transcribe_stream (line 94) | async def transcribe_stream( FILE: rhasspy3/audio.py class AudioChunk (line 26) | class AudioChunk(Eventable): method is_type (line 45) | def is_type(event_type: str) -> bool: method event (line 48) | def event(self) -> Event: method from_event (line 61) | def from_event(event: Event) -> "AudioChunk": method samples (line 74) | def samples(self) -> int: method seconds (line 78) | def seconds(self) -> float: method milliseconds (line 82) | def milliseconds(self) -> int: class AudioStart (line 87) | class AudioStart(Eventable): method is_type (line 103) | def is_type(event_type: str) -> bool: method event (line 106) | def event(self) -> Event: method from_event (line 119) | def from_event(event: Event) -> "AudioStart": class AudioStop (line 130) | class AudioStop(Eventable): method is_type (line 137) | def is_type(event_type: str) -> bool: method event (line 140) | def event(self) -> Event: method from_event (line 147) | def from_event(event: Event) -> "AudioStop": class AudioChunkConverter (line 152) | class AudioChunkConverter: method convert (line 160) | def convert(self, chunk: AudioChunk) -> AudioChunk: function wav_to_chunks (line 205) | def wav_to_chunks( FILE: rhasspy3/config.py class CommandConfig (line 11) | class CommandConfig(DataClassJsonMixin): class ProgramDownloadConfig (line 17) | class ProgramDownloadConfig(DataClassJsonMixin): class ProgramInstallConfig (line 23) | class ProgramInstallConfig(CommandConfig): class ProgramConfig (line 30) | class ProgramConfig(CommandConfig): class PipelineProgramConfig (line 38) | class PipelineProgramConfig(DataClassJsonMixin): class PipelineConfig (line 45) | class PipelineConfig(DataClassJsonMixin): class SatelliteConfig (line 58) | class SatelliteConfig(DataClassJsonMixin): class ServerConfig (line 66) | class ServerConfig(DataClassJsonMixin): class Config (line 73) | class Config(DataClassJsonMixin): method __post_init__ (line 86) | def __post_init__(self): FILE: rhasspy3/core.py class Rhasspy (line 16) | class Rhasspy: method programs_dir (line 23) | def programs_dir(self) -> Path: method data_dir (line 28) | def data_dir(self) -> Path: method load (line 33) | def load(config_dir: Union[str, Path]) -> "Rhasspy": FILE: rhasspy3/event.py class Event (line 15) | class Event: method to_dict (line 20) | def to_dict(self) -> Dict[str, Any]: method from_dict (line 24) | def from_dict(event_dict: Dict[str, Any]) -> "Event": class Eventable (line 28) | class Eventable(ABC): method event (line 30) | def event(self) -> Event: method is_type (line 35) | def is_type(event_type: str) -> bool: method to_dict (line 38) | def to_dict(self) -> Dict[str, Any]: function async_read_event (line 42) | async def async_read_event(reader: asyncio.StreamReader) -> Optional[Eve... function async_write_event (line 64) | async def async_write_event(event: Event, writer: asyncio.StreamWriter): function async_write_events (line 82) | async def async_write_events(events: Iterable[Event], writer: asyncio.St... function read_event (line 103) | def read_event(reader: Optional[IO[bytes]] = None) -> Optional[Event]: function write_event (line 129) | def write_event(event: Event, writer: Optional[IO[bytes]] = None): FILE: rhasspy3/handle.py class Handled (line 21) | class Handled(Eventable): method is_type (line 25) | def is_type(event_type: str) -> bool: method event (line 28) | def event(self) -> Event: method from_event (line 36) | def from_event(event: Event) -> "Handled": class NotHandled (line 42) | class NotHandled(Eventable): method is_type (line 46) | def is_type(event_type: str) -> bool: method event (line 49) | def event(self) -> Event: method from_event (line 57) | def from_event(event: Event) -> "NotHandled": function handle (line 62) | async def handle( FILE: rhasspy3/intent.py class Entity (line 20) | class Entity: class Recognize (line 26) | class Recognize(Eventable): method is_type (line 30) | def is_type(event_type: str) -> bool: method event (line 33) | def event(self) -> Event: method from_event (line 38) | def from_event(event: Event) -> "Recognize": class Intent (line 44) | class Intent(Eventable): method is_type (line 49) | def is_type(event_type: str) -> bool: method event (line 52) | def event(self) -> Event: method from_dict (line 60) | def from_dict(data: Dict[str, Any]) -> "Intent": method from_event (line 72) | def from_event(event: Event) -> "Intent": method to_rhasspy (line 76) | def to_rhasspy(self) -> Dict[str, Any]: class NotRecognized (line 90) | class NotRecognized(Eventable): method is_type (line 94) | def is_type(event_type: str) -> bool: method event (line 97) | def event(self) -> Event: method from_event (line 105) | def from_event(event: Event) -> "NotRecognized": function recognize (line 110) | async def recognize( FILE: rhasspy3/pipeline.py class PipelineResult (line 28) | class PipelineResult(DataClassJsonMixin): method to_event_dict (line 36) | def to_event_dict(self) -> Dict[str, Any]: class StopAfterDomain (line 49) | class StopAfterDomain(str, Enum): function run (line 57) | async def run( function _mic_wake (line 217) | async def _mic_wake( function _mic_asr (line 240) | async def _mic_asr( function _mic_wake_asr (line 272) | async def _mic_wake_asr( FILE: rhasspy3/program.py class MissingProgramConfigError (line 17) | class MissingProgramConfigError(Exception): class ProcessContextManager (line 21) | class ProcessContextManager: method __init__ (line 24) | def __init__(self, proc: Process, name: str): method __aenter__ (line 28) | async def __aenter__(self): method __aexit__ (line 31) | async def __aexit__(self, exc_type, exc, tb): function create_process (line 43) | async def create_process( function run_command (line 167) | async def run_command(rhasspy: Rhasspy, command_config: CommandConfig) -... FILE: rhasspy3/snd.py class Played (line 17) | class Played(Eventable): method is_type (line 19) | def is_type(event_type: str) -> bool: method event (line 22) | def event(self) -> Event: method from_event (line 26) | def from_event(event: Event) -> "Played": function play (line 30) | async def play( function play_stream (line 63) | async def play_stream( FILE: rhasspy3/tts.py class Synthesize (line 17) | class Synthesize(Eventable): method is_type (line 24) | def is_type(event_type: str) -> bool: method event (line 27) | def event(self) -> Event: method from_event (line 31) | def from_event(event: Event) -> "Synthesize": function synthesize (line 36) | async def synthesize( function synthesize_stream (line 78) | async def synthesize_stream( FILE: rhasspy3/util/__init__.py function merge_dict (line 4) | def merge_dict(base_dict, new_dict): FILE: rhasspy3/util/dataclasses_json.py class DataClassJsonMixin (line 7) | class DataClassJsonMixin: method from_dict (line 11) | def from_dict(cls, data: Dict[str, Any]) -> Any: method to_dict (line 26) | def to_dict(self) -> Dict[str, Any]: function _decode (line 31) | def _decode(value: Any, target_type: Type) -> Any: FILE: rhasspy3/util/jaml.py function safe_load (line 9) | def safe_load(fp: IO[str]) -> Dict[str, Any]: class LoaderState (line 17) | class LoaderState(Enum): class JamlLoader (line 22) | class JamlLoader: method __init__ (line 23) | def __init__(self) -> None: method process_line (line 30) | def process_line(self, line: str): method _add_key (line 59) | def _add_key(self, line, line_indent: int): FILE: rhasspy3/vad.py class VoiceStarted (line 22) | class VoiceStarted(Eventable): method is_type (line 29) | def is_type(event_type: str) -> bool: method event (line 32) | def event(self) -> Event: method from_event (line 39) | def from_event(event: Event) -> "VoiceStarted": class VoiceStopped (line 44) | class VoiceStopped(Eventable): method is_type (line 51) | def is_type(event_type: str) -> bool: method event (line 54) | def event(self) -> Event: method from_event (line 61) | def from_event(event: Event) -> "VoiceStopped": class Segmenter (line 66) | class Segmenter: method __post_init__ (line 111) | def __post_init__(self): method reset (line 114) | def reset(self): method process (line 124) | def process( function segment (line 167) | async def segment( FILE: rhasspy3/wake.py class Detection (line 21) | class Detection(Eventable): method is_type (line 31) | def is_type(event_type: str) -> bool: method event (line 34) | def event(self) -> Event: method from_event (line 40) | def from_event(event: Event) -> "Detection": class NotDetected (line 48) | class NotDetected(Eventable): method is_type (line 52) | def is_type(event_type: str) -> bool: method event (line 55) | def event(self) -> Event: method from_event (line 59) | def from_event(event: Event) -> "NotDetected": function detect (line 63) | async def detect( function detect_stream (line 125) | async def detect_stream( FILE: rhasspy3_http_api/__main__.py function main (line 30) | def main(): function run_servers (line 145) | def run_servers(rhasspy, servers): FILE: rhasspy3_http_api/asr.py function add_asr (line 22) | def add_asr( FILE: rhasspy3_http_api/handle.py function add_handle (line 19) | def add_handle( FILE: rhasspy3_http_api/intent.py function add_intent (line 13) | def add_intent( FILE: rhasspy3_http_api/js/main.js function q (line 1) | function q(selector) { function buildWaveHeader (line 6) | function buildWaveHeader(opts) { FILE: rhasspy3_http_api/js/recorder.worklet.js class RecorderProcessor (line 1) | class RecorderProcessor extends AudioWorkletProcessor { method constructor (line 2) | constructor() { method process (line 6) | process(inputList, outputList, parameters) { FILE: rhasspy3_http_api/pipeline.py class StartAfterDomain (line 40) | class StartAfterDomain(str, Enum): function add_pipeline (line 48) | def add_pipeline( FILE: rhasspy3_http_api/snd.py function add_snd (line 22) | def add_snd( FILE: rhasspy3_http_api/tts.py function add_tts (line 15) | def add_tts( FILE: rhasspy3_http_api/wake.py function add_wake (line 25) | def add_wake( FILE: tests/test_dataclasses_json.py class Class1 (line 8) | class Class1(DataClassJsonMixin): class Class2 (line 13) | class Class2(DataClassJsonMixin): function test_to_dict (line 37) | def test_to_dict(): function test_from_dict (line 41) | def test_from_dict(): FILE: tests/test_jaml.py function test_safe_load (line 29) | def test_safe_load(): FILE: tools/websocket-client/bin/websocket_client.py function main (line 10) | async def main() -> None: