Commit History

  1. Merge branch 'main' of hf.co:MoYoYoTech/VoiceDialogue

    Xin Zhang
    f5ce097
  2. [fix]: update frame.

    Xin Zhang
    2d7fc97
  3. 修复`PerformanceLogMixin`中的音频记录逻辑⁠

    liumaolin
    9bda9f9
  4. 更新.gitignore文件,新增output目录以排除生成的输出文件。

    liumaolin
    c543528
  5. 修复`PerformanceLogMixin`中的调试模式检查逻辑⁠

    liumaolin
    8486c53
  6. 增强性能日志记录功能,新增用户问题日志记录方法⁠

    liumaolin
    7cddb77
  7. Revise `ACTIVE_FRAME_THRESHOLD` from 0.32s to 0.1s

    liumaolin
    d662661

  1. 更新MoYoYo语音模型配置,修改文本分割方法并新增角色模型⁠

    liumaolin
    46eb532
  2. 更新MoYoYo语音模型配置,新增优先级字段⁠

    liumaolin
    efefd3d
  3. 新增Mixin类以增强语音任务处理功能⁠

    liumaolin
    2ebe57f
  4. 添加MoYoYo语音模型“白岩松”及相关文件⁠

    liumaolin
    d74bcbf

  1. 重构`is_task_interrupted`方法以检查语音任务中断状态⁠

    liumaolin
    02c321c

  1. Add `has_no_words` check to skip punctuation-only TTS tasks and enhance debug logs⁠

    liumaolin
    b636027
  2. Bump app version to 1.0.2 in `package.json`.

    liumaolin
    f00898d
  3. Add `silero-vad` and `pyaudio` to `requirements.txt` for VAD and audio processing dependencies

    liumaolin
    22a99cd
  4. Update frontend files.

    liumaolin
    611aa86
  5. Refactor SpeechMonitor to use active audio frame duration instead of count⁠

    liumaolin
    15891ec
  6. Add TTS generation error handling and `is_task_interrupted` helper function⁠

    liumaolin
    5ecb408
  7. Optimize VAD logic by replacing `np.max(probs)` with `any(prob >= threshold)` for improved readability and efficiency.

    liumaolin
    9273b76
  8. [fix]: update config modal layout.

    Xin Zhang
    20896dc
  9. Update `.gitignore` to exclude `.DS_Store` and `package-lock.json`.

    liumaolin
    74f1d81
  10. Rename application title to `VoiceDialogue` in `index.html`.

    liumaolin
    ec5c62b

  1. Increase audio capture chunk size to 1024 in `capture.py` for smoother streaming

    liumaolin
    095cfb6
  2. Add `pyaudio` and `silero_vad` as dependencies for PyInstaller hooks⁠

    liumaolin
    08de414
  3. Update frontend assets.

    liumaolin
    5a7f766
  4. Update frontend assets.

    liumaolin
    2cfbc4c
  5. Add echo cancellation toggle in UI and update project dependencies⁠

    liumaolin
    5bc3ef8
  6. Remove `speech_monitor` dependency from `asr_worker` service definition.

    liumaolin
    5cf0dbe
  7. 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. Add `silero-vad` as a dependency in `pyproject.toml` and update `uv.lock`

    liumaolin
    d41c6db
  7. Increase queue timeout in audio and text processing services for smoother task handling

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

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

    liumaolin
    99e8988
  10. Add PyAudio as a dependency in `pyproject.toml` and update `uv.lock`

    liumaolin
    a453c72
  11. Refactor to replace `EchoCancellingAudioCapture` with `AudioCapture` across the codebase for improved clarity and flexibility

    liumaolin
    7437d6d
  12. frontend

    Xin Zhang
    7bff52e

  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