announcer

TotalClaw 作者 totalclaw v1.2.3

使用 Airfoil + ElevenLabs TTS 通过 AirPlay 扬声器在整个房子内播报文本。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~odrobnik-announcer
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~odrobnik-announcer/file -o odrobnik-announcer.md
## 概述(中文)

使用 Airfoil + ElevenLabs TTS 通过 AirPlay 扬声器在整个房子内播报文本。

## 原文

# 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
```