← 返回
未分类 中文

Lovefromio Voice Wake Say

Speak responses aloud on macOS using the built-in `say` command when user input indicates Voice Wake/voice recognition (for example, messages starting with "...
在 macOS 上,当用户输入指示语音唤醒/语音识别(例如以 ... 开头的消息)时,使用内置的 `say` 命令朗读回复。
lovefromio lovefromio 来源
未分类 clawhub v1.0.0 1 版本 99683.5 Key: 无需
★ 0
Stars
📥 315
下载
💾 1
安装
1
版本
#latest

概述

Voice Wake Say

Overview

Use macOS say to read the assistant's response out loud whenever the conversation came from Voice Wake/voice recognition. Do not use the tts tool (it calls cloud providers).

When to Use say (CHECK EVERY MESSAGE INDIVIDUALLY)

IF the user message STARTS WITH: User talked via voice recognition

  • Step 1: Acknowledge with say first (so the user knows you heard them)
  • Step 2: Then perform the task
  • Step 3: Optionally speak again when done if it makes sense

IF the user message does NOT start with that exact phrase

  • THEN: Do NOT use say. Text-only response only.

Critical:

  • Check EACH message individually — context does NOT carry over
  • The trigger phrase must be at the VERY START of the message
  • For tasks that take time, acknowledge FIRST so the user knows you're working

Workflow

1) Detect Voice Wake context

  • Trigger ONLY when the latest user/system message STARTS WITH User talked via voice recognition
  • If the message instructs "repeat prompt first", keep that behavior in the response.

2) Prepare spoken text

  • Use the final response text as the basis.
  • Strip markdown/code blocks; if the response is long or code-heavy, speak a short summary and mention that details are on screen.

3) Speak with say (local macOS TTS)

printf '%s' "$SPOKEN_TEXT" | say

Optional controls (use only if set):

printf '%s' "$SPOKEN_TEXT" | say -v "$SAY_VOICE"
printf '%s' "$SPOKEN_TEXT" | say -r "$SAY_RATE"

Failure handling

  • If say is unavailable or errors, still send the text response and note that TTS failed.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 01:38 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Lovefromio Elite Longterm Memory

lovefromio
终极AI智能体记忆系统。WAL协议 + 向量搜索 + Git笔记 + 云备份。再也不会丢失上下文。支持Claude、Cursor、GPT、OpenClaw等。
★ 0 📥 509

Lovefromio Getnote

lovefromio
Get笔记 – 个人笔记和知识库管理工具。支持一键保存链接、图片或文字为笔记,自动生成摘要、OCR 识别和 AI 分析。触发词包括“记一下”“存到笔记”“保存这个链接”等。
★ 0 📥 465

Lovefromio Continuous Learning

lovefromio
自动从建筑自动化会话中提取模式、最佳实践和可重复使用的知识,以提升后续性能。
★ 0 📥 500