Lifestyle v1.0.0

announcer

通过 Airfoil 和 ElevenLabs TTS 经由 AirPlay 扬声器全屋播放文本语音

ClawHub 更新于 2026-03-23 34 浏览
下载 SKILL

技能说明

通过 Airfoil 和 ElevenLabs TTS 经由 AirPlay 扬声器全屋播放文本语音

使用场景

Broadcast text-to-speech audio through AirPlay speakers using Airfoil and ElevenLabs TTS

查看英文原始说明

Announce text throughout the house via AirPlay speakers using Airfoil + ElevenLabs TTS.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/announcer
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

6 个文件 · 29 kB · zip 13 kB
手动下载 zip · 13 kB
SKILL.md text/markdown
---
name: announcer
description: "Announce text throughout the house via AirPlay speakers using Airfoil + ElevenLabs TTS."
summary: "House-wide TTS announcements via AirPlay speakers, Airfoil, and ElevenLabs."
version: 1.2.3
homepage: https://github.com/odrobnik/announcer-skill
metadata:
  {
    "openclaw":
      {
        "emoji": "📢",
        "requires": { "bins": ["python3", "ffmpeg"], "apps": ["Airfoil"], "env": ["ELEVENLABS_API_KEY"], "skills": ["elevenlabs"], "platform": "macos" },
      },
  }
---

# Announcer

Play TTS announcements through AirPlay speakers via Airfoil and ElevenLabs.

## How It Works

1. Generate speech via ElevenLabs (high-quality opus → stereo MP3)
2. Connect to AirPlay speakers via Airfoil
3. Play an optional chime (gong) followed by the announcement
4. Disconnect speakers after playback

## Setup

See [SETUP.md](SETUP.md) for prerequisites and setup instructions.

## Usage

```bash
# Announce to all configured speakers
python3 skills/announcer/scripts/announce.py "Dinner is ready!"

# Announce to specific speakers only
python3 skills/announcer/scripts/announce.py "Wake up!" --speakers "Kids Room"

# Skip the chime
python3 skills/announcer/scripts/announce.py "Quick note" --no-gong
```

## File Structure

```
announcer/
├── SKILL.md
├── assets/
│   └── gong_stereo.mp3      # Announcement chime
└── scripts/
    └── announce.py           # Main announcement script
```

User config (not part of skill):
```
~/clawd/announcer/
└── config.json               # Speaker list, voice, audio settings
```

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。