Commit History

  1. Remove `speech_monitor` dependency from `asr_worker` service definition.

    liumaolin
    5cf0dbe
  2. Add echo cancellation and VAD toggle support in service factories and routes⁠

    liumaolin
    2ecfa8f

  1. Fix help text for `--disable-echo-cancellation` to clarify the default behavior is not disabled

    liumaolin
    d846f85
  2. Refactor threading in `launcher.py` to standardize worker initialization, enforce daemon mode, and improve naming consistency.

    liumaolin
    7d8046a
  3. Handle overflow errors in audio capture by adding `exception_on_overflow=False` and skip processing when no data is available.

    liumaolin
    5f9eaee
  4. Add `--disable-echo-cancellation` CLI option and update audio pipeline to support toggling echo cancellation and VAD

    liumaolin
    4e071d3
  5. Integrate `SileroVAD` into `SpeechMonitor` for optional voice activity detection. Add `_detect_speech()` method and update queue handling logic. Implement `SileroVAD` as a singleton for efficient model management.

    liumaolin
    4e2e3d8
  6. Increase queue timeout in audio and text processing services for smoother task handling

    liumaolin
    b446464
  7. Refactor audio processing pipeline to normalize data in `SpeechMonitor` and streamline queuing in `AudioCapture`

    liumaolin
    57b0084
  8. Update `AudioCapture` to support both PyAudio and macOS native AEC+VAD libraries⁠

    liumaolin
    99e8988
  9. Refactor to replace `EchoCancellingAudioCapture` with `AudioCapture` across the codebase for improved clarity and flexibility

    liumaolin
    7437d6d

  1. Clean input text in MoYoYo TTS by removing punctuation for better processing

    liumaolin
    8587958
  2. Refactor LlamaCpp initialization to simplify parameter handling and remove unused callback manager

    liumaolin
    941bf07
  3. Enable debug mode with global configuration and detailed task logging when active

    liumaolin
    e0f42b2

  1. Reset task ID in speech recognizer for empty transcriptions to prevent errors

    liumaolin
    2291ed2
  2. Add new voice model "Doubao" to MoYoYo configuration⁠

    liumaolin
    7b003c4

  1. Update performance logging format in TTS player for improved structure and readability

    liumaolin
    d0c1c61
  2. Enhance launcher startup log formatting for improved readability and visual appeal

    liumaolin
    fa296dd
  3. Remove commented-out performance logging code from TTS player

    liumaolin
    c3e85a2

  1. Add new voice model "Ellen" to MoYoYo configuration⁠

    liumaolin
    b5b48f0

  1. Update MoYoYo TTS prompt text for improved relevance and clarity

    liumaolin
    8228973
  2. Improve speech recognizer to handle empty transcriptions

    liumaolin
    0cbda14
  3. Simplify system prompts for text generation in Chinese and English⁠

    liumaolin
    c545fd9
  4. Add new voice model "Juniper" to MoYoYo configuration⁠

    liumaolin
    469433f

  1. Standardize punctuation for system prompts in both Chinese and English text generation modules.

    liumaolin
    bedd7b8
  2. Enhance WebSocket handling for connection management and reliability⁠

    liumaolin
    b115e26
  3. Add session validation checks to `player.py` and `generator.py`⁠

    liumaolin
    29766c6
  4. Refactor WebSocket handling with connection manager⁠

    liumaolin
    300d567

  1. Replace `logging` with centralized `loguru`-based logger across all modules.

    liumaolin
    851495c
  2. Refactor response generation logic in `generator.py`⁠

    liumaolin
    ce3d9e5
  3. Remove unused conditional logic for second answer handling in `player.py` and `generator.py`

    liumaolin
    c1b24fd
  4. Adjust context window allocation logic based on memory tiers in `apple_silicon.py`

    liumaolin
    fd3c30a

  1. Comment out unused Kokoro TTS voice configurations

    liumaolin
    23c146f
  2. Add Maple and Cove voice models to MoYoYo TTS configuration⁠

    liumaolin
    7e92ad3
  3. Introduce Apple Silicon hardware optimization and dynamic LLM configuration⁠

    liumaolin
    bdc3b7b

  1. Update LLM response generator and system prompts⁠

    liumaolin
    6f77a29

  1. Update static file routing and root endpoint for frontend integration⁠

    liumaolin
    f7b034a

  1. Add robust lifecycle management for `audio_player` service in system routes⁠

    liumaolin
    627c3e7
  2. Standardize service lifecycle management by replacing `stop` with `exit` and introducing `is_exited` check⁠

    liumaolin
    f5226c0
  3. Remove `voice_schemas.py` and refactor schema imports for TTS and ASR modules in `__init__.py`

    liumaolin
    4895dc2
  4. Refactor speech recognizer, audio capture, and system routes for improved clarity and functionality⁠

    liumaolin
    037e5ae
  5. Add pause and resume functionality to voice dialogue system⁠

    liumaolin
    d701b8a
  6. Refactor project: split `main.py` functionality into modular components under `cli`, `core`, and `config`.

    liumaolin
    d08a15b
  7. Increase service startup timeouts and set daemon mode for services.

    liumaolin
    61524a8

  1. Refactor imports in `whisper.py` and `funasr.py` to use absolute paths for `ensure_minimum_audio_duration`.

    liumaolin
    d673573
  2. Update `moyoyo.py`: add fallback for `utils` to ensure `HParams` availability in runtime.

    liumaolin
    bd3673b
  3. Refactor imports for consistency in `kokoro.py` and `processor.py`. Use absolute paths for better readability and maintainability.

    liumaolin
    8630353
  4. Update `paths.py`: improve PROJECT_ROOT resolution with `_MEIPASS` support and enhance third-party path handling.

    liumaolin
    664d767

  1. Rename 'src/VoiceDialogue' to 'src/voice_dialogue'.

    liumaolin
    511ff0c

  1. Revamp API core description: expand feature details for ASR, LLMs, TTS, system control, and real-time communication; improve clarity and structure of documentation.

    liumaolin
    c57de2a