Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

686 B
Raw Blame
"""Stdlib-only codec/endpoint helpers for the browser-voice bridge.

This is a thin RE-EXPORT of the telephony bridge's audio layer — the same
``audioop``-based ``Resampler`` + the torch-free ``EnergyEndpointer`` — so the
browser path inherits any fix there for free and the dependency graph stays
readable. NEVER imports sounddevice / pyaudio: the browser owns the mic/speaker.
"""
from __future__ import annotations

from dodaios.telephony.audio import (
    STT_SAMPLE_RATE,
    TTS_SAMPLE_RATE,
    EnergyEndpointer,
    Resampler,
    resample_pcm16,
)

__all__ = [
    "EnergyEndpointer",
    "Resampler",
    "resample_pcm16",
    "STT_SAMPLE_RATE",
    "TTS_SAMPLE_RATE",
]