EchoPilot FAQ & Acoustic Troubleshooting

This document addresses frequently asked questions, conference routing setups, acoustic echo protection, virtual audio driver management, and macOS permission troubleshooting for EchoPilot (同声知翼).


📑 Table of Contents


🎯 Scenario Guide: Speak Native Language Only & Broadcast English Audio

In international meetings (via Microsoft Teams, Zoom, Google Meet, etc.), users often want to achieve a configuration where: the local speaker speaks exclusively in their native language (e.g. Chinese), while remote participants hear only the fluent, natural translated English speech without any raw native voice leakage.

1. Audio Topology & Implementation Principles

To ensure remote participants hear only translated audio and raw speech is completely isolated, the meeting app’s audio input must be physically decoupled from your real microphone using a Virtual Audio Device (BlackHole 2ch):

EchoPilot Meeting Audio Routing Topology

  • Physical Microphone Isolation: The meeting application never reads from your physical microphone. Therefore, your raw native voice cannot enter the conference call.
  • Pure Translation Injection: EchoPilot exclusively captures your physical microphone to perform on-device speech recognition and translation, outputting the synthesized speech stream directly into BlackHole 2ch.
  • Acoustic Passthrough Suppression: Raw voice passthrough is disabled by default in EchoPilot, guaranteeing that only the generated speech enters the virtual channel.

2. Step-by-Step Configuration (Teams / Zoom / Meet)

Step 1: Configure Meeting App Audio Devices (e.g., Microsoft Teams)

Open the Audio Settings in your conference application (before joining or during a meeting under Settings -> Audio Devices):

  1. Speaker: Select your Physical Headphones or Speakers (e.g., MacBook Air Speakers or Bluetooth headset) to hear remote attendees;
  2. Microphone: Strictly select BlackHole 2ch; do NOT choose your physical microphone.

Teams Meeting Microphone and Speaker Setup

Note

Pointing your conference software’s microphone input to BlackHole 2ch establishes hardware-level isolation for your physical voice.


Step 2: Configure EchoPilot Language & Audio Parameters

Open the EchoPilot Settings window (via the menu bar icon or the gear icon on the floating HUD):

  1. Language Settings:
    • I Speak: Select Chinese (Simplified) (or your native language);
    • They Speak: Select English (US) or your preferred regional accent;
  2. Audio Settings:
    • My Microphone: Select your real Physical Microphone (e.g., MacBook Air Microphone);
    • Send Translation To: Select BlackHole 2ch;
    • Send My Raw Voice (Passthrough): Keep DISABLED (toggle off) to prevent mixing your raw voice into BlackHole;
    • Echo Guard: Keep set to Auto (Default);
  3. General Settings:
    • Keep enabled: “Speak only when conference software uses the virtual microphone” (prevents broadcasting translations outside of active calls).

Step 3: Verify Floating HUD Broadcasting Status

Join your call and observe the status banner at the top of the EchoPilot HUD:

EchoPilot HUD Broadcasting Status Confirmation

  • When the meeting app begins reading the virtual microphone stream, the status banner displays a green checkmark confirmation:
    ✓ Microsoft Teams ModuleHost is using BlackHole 2ch; remote party can hear your English translation
  • You can now speak naturally in your native language. After a brief pause, EchoPilot synthesizes the translation and speaks for you into the call.

3. Key Considerations & Best Practices

Tip
  1. Wear Headphones Whenever Possible:
    While EchoPilot includes an automated acoustic echo guard for speakers, wearing headphones physically eliminates any chance of incoming speech looping back into your physical microphone, enabling effortless full-duplex simultaneous interpretation.

  2. Never Toggle the Meeting Mic to “Default” During Calls:
    If you accidentally revert the meeting app’s microphone to the MacBook internal mic, your raw voice will immediately enter the call and the translated speech stream will be bypassed.

  3. Single-Word & Short Phrase Pass-Through:
    Daily conversational acknowledgments such as “Yes”, “OK”, “Right”, and “No problem” are automatically recognized and translated without being filtered out.


🎧 Audio Capture, Routing & Echo Guard FAQ

Q1: Why can’t the remote party hear my translated speech? (“not speaking (no app is using BlackHole 2ch)”)

  • Symptom: You speak into your microphone and the HUD displays your translated speech, but remote participants report complete silence. The top banner shows:
    ⚠️ Meeting app is not using BlackHole 2ch yet; your translation will not be broadcast
    Terminal logs show not speaking (no app is using BlackHole 2ch).
  • Underlying Cause: This is EchoPilot’s Listener Safety Lock (speakOnlyWhenListened). CoreAudio monitors active audio client connections on BlackHole 2ch. If no conferencing app is currently reading from the virtual device, EchoPilot pauses speech generation to prevent accidental broadcasting of private comments.
  • Resolution:
    • In Active Meetings: Set your meeting software’s microphone to BlackHole 2ch. Once the app engages the channel, the warning disappears and speech begins broadcasting;
    • Local Testing: In EchoPilot Preferences → General, temporarily disable “Speak only when conference software uses the virtual microphone”;
    • Self-Monitoring: By design, BlackHole 2ch routes audio directly to the remote party and does not loop back into your personal headphones. See Q4 below for self-monitoring options.

Q2: Why is my speech not transcribed or translated while the other side speaks? (Echo Guard)

  • Symptom: While the remote party is speaking or media is playing through your Mac speakers, speaking into your microphone produces no subtitles. The top banner displays:
    🔊 Speaker: Paused recognizing you while they speak
  • Underlying Cause: This is the Smart Echo Guard mechanism:
    1. When using built-in Mac speakers, sound emitted from the speakers enters the physical microphone;
    2. Without suppression, the system would mistakenly transcribe the remote party’s voice as your own speech, creating an acoustic feedback loop;
    3. When speaker activity is detected, the microphone recognizer pipeline feeds silent audio frames (myASR.feed(silence)).
  • Resolution:
    • Solution A (Recommended): Wear headphones. EchoPilot instantly detects connected headphones and switches to 🎧 Headphones: Always recognizing you, activating full-duplex mode so both parties can speak simultaneously;
    • Solution B (Force Full Duplex on Speakers): In Preferences → Voice & Audio, set Echo Guard to Off (or pass --no-gate in CLI);
    • Solution C: Wait for the remote party to pause before speaking, or run diagnostic checks:
      echopilot doctor

Q3: Why do short replies like “OK”, “Yes”, or single words not translate or quickly disappear?

  • Explanation: Early versions utilized a character length threshold (zh.count >= 2) that inadvertently dropped single-character responses. EchoPilot now applies Unicode scalar semantic validation (isMeaningful), ensuring that short acknowledgments (“Yes”, “OK”, “Right”, “Sure”) are captured, translated, and broadcast with fallback protection.

Q4: Can I hear my own translated speech through my headphones? How do I self-monitor?

  • Design Rationale:
    BlackHole 2ch is dedicated to outbound broadcasting. By default, it does not loop back to your physical headphones. Hearing delayed translated audio of yourself while speaking causes speech jamming that disrupts natural thinking and articulation.
  • Self-Monitoring Methods:
    1. Preferences Preview: In Preferences → Voice & Audio, click the “Audition” button next to any voice to verify pitch, timber, and speaking rate;
    2. CLI Output Test: Test single-sentence TTS output through your default system speakers:
      echopilot tts "This is a test message from EchoPilot" --output default
    3. Live Loopback: To monitor BlackHole in real time, open macOS Audio MIDI Setup (/Applications/Utilities/Audio MIDI Setup.app) and create a Multi-Output Device including your headphones and BlackHole 2ch.

🖥️ Floating HUD Interaction, Language Switching & UI FAQ

Q5: Will switching languages or accents during an active call clear my subtitle history?

  • Answer: No, your history is preserved.
    When you change target languages or accents from the HUD header during an active call, EchoPilot performs an in-memory hot restart with keepLines: true. Only the acoustic pipeline and language models reload, while existing subtitle conversation history remains fully intact.

Q6: Why did the terminal process terminate when switching languages in CLI run mode?

  • Explanation: In earlier versions of echopilot run, session teardown defaulted to quitWhenSessionEnds: true. The session stop handler has been updated with restart: Bool. When language switching triggers a reload, the process skips termination and seamlessly inherits all original CLI options.

Q7: Why did downward arrows appear on both sides of the language selection menu?

  • Resolution: macOS system Menu components automatically prepend an indicator on the left that clashed with custom disclosure icons. EchoPilot applies .menuIndicator(.hidden) to suppress redundant system arrows and incorporates SF Symbol Image(systemName: "arrow.right") between language pairs for a polished [Their Lang ⌄] → [My Lang ⌄] presentation.

Q8: Why does clicking the “Power” button on the HUD trigger a confirmation prompt?

  • Design Purpose:
    Because the HUD is pinned in the foreground near window controls, accidental clicks on the exit button could abruptly terminate an ongoing conference session.
  • Safety Safeguard:
    The exit action features a compact 20×20 red pill button with a power icon and triggers a native titled confirmation modal: “End interpreting session and save records?” Pressing Enter or clicking Confirm gracefully finalizes records; pressing Esc or clicking Cancel safely resumes the session.

🔐 macOS Permissions, TCC & Virtual Audio Devices FAQ

Q9: Why does EchoPilot report “Permission Denied” even though switches are enabled in System Settings?

  • Underlying Cause:
    macOS Transparency, Consent, and Control (TCC) binds authorization to an application’s designated code-signing requirement (CDHash). If the application binary is updated or recompiled, macOS may hold an orphaned reference.
  • Resolution:
    Open Terminal and reset the TCC cache:
    tccutil reset ScreenCapture com.aicrosoft.apps.echopilot
    tccutil reset Microphone com.aicrosoft.apps.echopilot
    Then relaunch EchoPilot and click Allow when prompted.

Q10: Why does a purple recording indicator appear in the macOS menu bar? Is my screen being captured?

  • Answer: Your screen pixels are never captured or recorded.
    macOS groups high-performance system audio capture (ScreenCaptureKit) under the umbrella of “Screen & System Audio Recording”. EchoPilot extracts audio frames only, while video frames are fixed to 2×2 pixels and immediately discarded.

Q11: What should I do if BlackHole 2ch does not appear in the audio device list after installation?

  • Troubleshooting Steps:
    1. Restart your Mac: After running brew install --cask blackhole-2ch, macOS CoreAudio daemon requires a restart to register the driver;
    2. Reload Audio Daemon: If you prefer not to restart, run:
      sudo killall coreaudiod
    3. Check MIDI Setup: Open macOS Audio MIDI Setup to verify BlackHole 2ch is listed;
    4. Run Diagnostics: Execute echopilot devices in Terminal to confirm virtual device availability.