├── .gitignore ├── CLAUDE.md ├── README.md ├── examples ├── .env-sample ├── agent_usage_example.py ├── llm_sentencizer_demo.py ├── test_agent_pipeline.py ├── test_chat_with_context.py ├── test_complete_integration.py ├── test_cosyvoice_integration.py ├── test_cosyvoice_simple.py ├── test_kokoro_simple.py ├── test_mlx_llm_simple.py ├── test_streaming_pipeline.py └── test_tts_factory.py ├── requirements.txt ├── setup.py ├── src └── macecho │ ├── __init__.py │ ├── agent.py │ ├── asr │ ├── __init__.py │ ├── base.py │ └── sencevoice │ │ ├── __init__.py │ │ ├── model.py │ │ └── test_recording.wav │ ├── config.py │ ├── device │ ├── __init__.py │ └── device.py │ ├── llm │ ├── __init__.py │ ├── base.py │ ├── context_manager.py │ ├── factory.py │ ├── mlx_qwen.py │ ├── openai_llm.py │ └── prompt.py │ ├── message │ ├── __init__.py │ └── message.py │ ├── sentencizer │ ├── __init__.py │ ├── base.py │ ├── llm_sentencizer.py │ ├── multilang_sentencizer.py │ └── simple_sentencizer.py │ ├── tts │ ├── __init__.py │ ├── base.py │ ├── cosyvoice.py │ ├── factory.py │ ├── kokoro.py │ └── kokoro │ │ └── config.json │ ├── utils │ ├── __init__.py │ └── queue.py │ └── vad │ ├── __init__.py │ ├── en.wav │ ├── interface.py │ ├── silero_vad.onnx │ └── vad.py └── tests ├── __init__.py └── test_audio_recorder.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/.gitignore -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/README.md -------------------------------------------------------------------------------- /examples/.env-sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/examples/.env-sample -------------------------------------------------------------------------------- /examples/agent_usage_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/examples/agent_usage_example.py -------------------------------------------------------------------------------- /examples/llm_sentencizer_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/examples/llm_sentencizer_demo.py -------------------------------------------------------------------------------- /examples/test_agent_pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/examples/test_agent_pipeline.py -------------------------------------------------------------------------------- /examples/test_chat_with_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/examples/test_chat_with_context.py -------------------------------------------------------------------------------- /examples/test_complete_integration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/examples/test_complete_integration.py -------------------------------------------------------------------------------- /examples/test_cosyvoice_integration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/examples/test_cosyvoice_integration.py -------------------------------------------------------------------------------- /examples/test_cosyvoice_simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/examples/test_cosyvoice_simple.py -------------------------------------------------------------------------------- /examples/test_kokoro_simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/examples/test_kokoro_simple.py -------------------------------------------------------------------------------- /examples/test_mlx_llm_simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/examples/test_mlx_llm_simple.py -------------------------------------------------------------------------------- /examples/test_streaming_pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/examples/test_streaming_pipeline.py -------------------------------------------------------------------------------- /examples/test_tts_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/examples/test_tts_factory.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/setup.py -------------------------------------------------------------------------------- /src/macecho/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/macecho/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/agent.py -------------------------------------------------------------------------------- /src/macecho/asr/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/macecho/asr/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/asr/base.py -------------------------------------------------------------------------------- /src/macecho/asr/sencevoice/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/macecho/asr/sencevoice/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/asr/sencevoice/model.py -------------------------------------------------------------------------------- /src/macecho/asr/sencevoice/test_recording.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/asr/sencevoice/test_recording.wav -------------------------------------------------------------------------------- /src/macecho/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/config.py -------------------------------------------------------------------------------- /src/macecho/device/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/macecho/device/device.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/device/device.py -------------------------------------------------------------------------------- /src/macecho/llm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/llm/__init__.py -------------------------------------------------------------------------------- /src/macecho/llm/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/llm/base.py -------------------------------------------------------------------------------- /src/macecho/llm/context_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/llm/context_manager.py -------------------------------------------------------------------------------- /src/macecho/llm/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/llm/factory.py -------------------------------------------------------------------------------- /src/macecho/llm/mlx_qwen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/llm/mlx_qwen.py -------------------------------------------------------------------------------- /src/macecho/llm/openai_llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/llm/openai_llm.py -------------------------------------------------------------------------------- /src/macecho/llm/prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/llm/prompt.py -------------------------------------------------------------------------------- /src/macecho/message/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/message/__init__.py -------------------------------------------------------------------------------- /src/macecho/message/message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/message/message.py -------------------------------------------------------------------------------- /src/macecho/sentencizer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/sentencizer/__init__.py -------------------------------------------------------------------------------- /src/macecho/sentencizer/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/sentencizer/base.py -------------------------------------------------------------------------------- /src/macecho/sentencizer/llm_sentencizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/sentencizer/llm_sentencizer.py -------------------------------------------------------------------------------- /src/macecho/sentencizer/multilang_sentencizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/sentencizer/multilang_sentencizer.py -------------------------------------------------------------------------------- /src/macecho/sentencizer/simple_sentencizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/sentencizer/simple_sentencizer.py -------------------------------------------------------------------------------- /src/macecho/tts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/tts/__init__.py -------------------------------------------------------------------------------- /src/macecho/tts/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/tts/base.py -------------------------------------------------------------------------------- /src/macecho/tts/cosyvoice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/tts/cosyvoice.py -------------------------------------------------------------------------------- /src/macecho/tts/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/tts/factory.py -------------------------------------------------------------------------------- /src/macecho/tts/kokoro.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/tts/kokoro.py -------------------------------------------------------------------------------- /src/macecho/tts/kokoro/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/tts/kokoro/config.json -------------------------------------------------------------------------------- /src/macecho/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/macecho/utils/queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/utils/queue.py -------------------------------------------------------------------------------- /src/macecho/vad/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/macecho/vad/en.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/vad/en.wav -------------------------------------------------------------------------------- /src/macecho/vad/interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/vad/interface.py -------------------------------------------------------------------------------- /src/macecho/vad/silero_vad.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/vad/silero_vad.onnx -------------------------------------------------------------------------------- /src/macecho/vad/vad.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/src/macecho/vad/vad.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_audio_recorder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/realtime-ai/mac-echo/HEAD/tests/test_audio_recorder.py --------------------------------------------------------------------------------