名称: announcer
描述: "通过 AirPlay 扬声器,使用 Airfoil + ElevenLabs TTS 在全屋播报文本。"
摘要: "通过 AirPlay 扬声器、Airfoil 和 ElevenLabs 实现全屋 TTS 播报。"
版本: 1.2.1
主页: https://github.com/odrobnik/announcer-skill
元数据:
{
"openclaw":
{
"emoji": "📢",
"requires": { "bins": ["python3", "ffmpeg"], "apps": ["Airfoil"], "env": ["ELEVENLABS_API_KEY"], "skills": ["elevenlabs"], "platform": "macos" },
},
}
通过 Airfoil 和 ElevenLabs,将 TTS 播报内容输出至 AirPlay 扬声器。
请参阅 SETUP.md 了解先决条件和详细设置说明。
# 向所有已配置的扬声器播报
python3 skills/announcer/scripts/announce.py "晚餐准备好了!"
# 仅向指定扬声器播报
python3 skills/announcer/scripts/announce.py "该起床了!" --speakers "儿童房"
# 跳过提示音
python3 skills/announcer/scripts/announce.py "快速通知" --no-gong
announcer/
├── SKILL.md
├── assets/
│ └── gong_stereo.mp3 # 播报提示音
└── scripts/
└── announce.py # 主播报脚本
用户配置文件(不属于技能包):
~/clawd/announcer/
└── config.json # 扬声器列表、语音、音频设置