把真实麦克风经AI处理(STT→LLM→TTS)后,通过虚拟音频线输出给Google Meet等应用,使其听到处理后的声音。
Guide the user through building a real-time audio interception pipeline in Node.js. The pipeline: Mic → ffmpeg resample → Deepgram STT → LLM → Sentence chunker → TTS → PCM decode → VB-Cable.
scripts/01_list_devices.js to find the exact VB-Cable name.stop() function the host app calls to instantly halt the pipeline..env file.naudiodon or electron — both are incompatible with a portable Node.js skill.globalShortcut (Electron-only).Run each script independently to stress-test before wiring together.
text
Step 1 → OS prep (no code, see references/step_by_step.md)
Step 2 → scripts/package.json + npm install
Step 3 → node scripts/01_list_devices.js
Step 4 → node scripts/02_capture_resample.js
Step 5 → node scripts/03_deepgram_ws.js
Step 6 → node scripts/04_llm_stream.js + scripts/05_sentence_chunker.js
Step 7 → node scripts/06_tts_ws.js + scripts/07_pcm_write.js
For architecture diagram and signal flow: read references/architecture.md.
For full corrected step-by-step: read references/step_by_step.md.
For all required env vars: read references/env_schema.md.