返回顶部
a

autonoannounce自动播报

Build, operate, and troubleshoot Autonoannounce local speaker text-to-speech using the queued pipeline (enqueue to worker to ElevenLabs to playback backend). Requires ELEVENLABS_API_KEY for network synthesis, with optional ELEVENLABS_VOICE_ID and ELEVENLABS_MODEL_ID for voice/model selection. Writes local runtime state to config/tts-queue.json, .openclaw/*, and audio/earcons/*. Uses https://api.elevenlabs.io for synthesis/preflight calls. Use when creating or improving low-latency fire-and-forge

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.2.5
安全检测
已通过
224
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

autonoannounce

本地TTS队列

前提条件

  • - 必需凭证:ELEVENLABSAPIKEY
  • 推荐环境变量:ELEVENLABSVOICEID、ELEVENLABSMODELID
  • 运行时工具:python3、curl,以及一个本地播放后端(mpv、ffplay、afplay、paplay或PowerShell音频播放器)
  • 合成/预检网络目标:https://api.elevenlabs.io

概述

使用此技能可保持本地语音的快速、可靠和策略合规性,通过将入队视为发射后不管并将合成/播放隔离在队列工作器内部实现。

快速入门工作流程

  1. 1. 使用scripts/tts-queue-status.sh确认队列健康状态。
  2. 使用scripts/speak-local-queued.sh 文本将语音加入队列。
  3. 如果音频未播放,请检查工作器日志和references/runbook.md中的操作手册步骤。
  4. 如需延迟调优,运行scripts/benchmark-autonoannounce.sh并与references/perf-slos.md中的服务等级目标进行对比。

操作规则

  • - 保持生产者路径非阻塞:入队后立即返回。
  • 将合成/播放限制在工作器独占的执行路径中。
  • 优先对队列进行较少的大批量写入(尽可能合并突发流量)。
  • 使用策略安全的输出通道:受保护用户使用本地扬声器;不使用Discord语音文件回退。
  • 将单个失败项视为独立事件:有限重试后转入死信队列;不阻塞整个队列。

命令

  • - 入队:scripts/speak-local-queued.sh <文本>
  • 工作器(前台):scripts/tts-queue-worker.sh
  • 工作器守护进程:scripts/tts-queue-daemon.sh
  • 状态:scripts/tts-queue-status.sh
  • 基准测试工具:scripts/benchmark-autonoannounce.sh
- 快速前台基准测试:scripts/benchmark-autonoannounce.sh 5 - 完整诊断基准测试:scripts/benchmark-autonoannounce.sh 5 --status both --output full
  • - 首次运行交互式设置:skills/autonoannounce/scripts/setup-first-run.sh(Shell封装)
  • 跨平台首次运行CLI:skills/autonoannounce/scripts/setupfirstrun.py
  • 后端检测(操作系统感知):skills/autonoannounce/scripts/backend-detect.sh
  • ElevenLabs能力预检:skills/autonoannounce/scripts/elevenlabs-preflight.sh(包含针对SFX探测的短时429重试/退避)
  • 提示音库管理器(持久化分类/缓存):skills/autonoannounce/scripts/earcon-library.sh
  • 跨平台播放运行器:skills/autonoannounce/scripts/play-local-audio.sh
  • 播放后端/设备探测:skills/autonoannounce/scripts/playback-probe.sh
  • 播放后端启动验证器:skills/autonoannounce/scripts/playback-validate.sh
  • 播放确认音:skills/autonoannounce/scripts/playback-test.sh
  • v0.2冒烟测试:skills/autonoannounce/scripts/test-v0.2.sh
  • 竞态/并发压力检查:skills/autonoannounce/scripts/race-stress.sh

参考映射

  • - 操作手册:references/runbook.md
  • 配置契约:references/config-contract.md
  • 性能SLO及解读:references/perf-slos.md
  • 前台延迟优化:references/front-path-optimization.md
  • 持久化提示音分类和缓存:references/earcon-library.md

执行检查清单

  • - 验证前提条件(ELEVENLABSAPIKEY、ELEVENLABSVOICEID、mpv)。
  • 在调优性能前验证队列路径和锁行为。
  • 在进行队列/工作器更改前测量基线。
  • 每次实质性更改后重新运行基准测试。
  • 在任务摘要中记录最终的p50/p95延迟和队列等待差值。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 autonoannounce-1776100744 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 autonoannounce-1776100744 技能

通过命令行安装

skillhub install autonoannounce-1776100744

下载

⬇ 下载 autonoannounce v0.2.5(免费)

文件大小: 19.66 KB | 发布时间: 2026-4-15 11:48

v0.2.5 最新 2026-4-15 11:48
- Added a metadata field to SKILL.md describing required environment variables, binaries, and homepage for the skill.
- No changes made to functional documentation or command usage.
- This update improves discoverability and configuration clarity for integrators and automation tools.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部