executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
callmacRemote voice control for Mac from mobile devices using commands like /callmac or /voice. Broadcast announcements, play alarms, tell stories, wake up kids - all triggered from Telegram/WhatsApp messages. Uses edge-tts with mixed Chinese/English support, local playback, loops, and volume control. | 从移动设备通过 /callmac 或 /voice 命令远程控制 Mac 语音功能。广播公告、播放闹钟、讲故事、叫孩子起床…
Independent GitHub snapshot · Automated classification · Original documentation governs
Remote voice control for your Mac from mobile devices. Broadcast announcements, play alarms, tell stories, wake up kids - all triggered from messaging apps like Telegram or WhatsApp. Uses edge-tts with mixed Chinese/English support.
从移动设备远程控制 Mac 语音功能。广播公告、播放闹钟、讲故事、叫孩子起床 - 全部通过 Telegram 或 WhatsApp 触发。使用 edge-tts 支持中英文混合。
快速开始使用语音技能,生成和播放中英文混合的 TTS 音频。
# Generate and play a simple announcement
python3 scripts/generate_tts.py --text "Hello world" --play
# Generate mixed Chinese/English content
python3 scripts/generate_tts.py --text "Hello 你好" --play
# Save to file
python3 scripts/generate_tts.py --text "Your message" --output announcement.mp3
Edge TTS provides high-quality neural voices:
en-US-JennyNeural (friendly), en-US-AriaNeural (confident)zh-CN-XiaoxiaoNeural (warm), zh-CN-XiaoyiNeural (lively)Automatically detects language segments and uses appropriate voices:
afplayscripts/generate_tts.pyMain script for TTS generation and playback.
Usage:
# Basic generation and playback
python3 generate_tts.py --text "Message" --play
# Save to file
python3 generate_tts.py --text "Message" --output file.mp3
# Mixed language with custom voices
python3 generate_tts.py --text "Hello 你好" --voice-en "en-US-AriaNeural" --voice-zh "zh-CN-XiaoyiNeural"
# Loop playback
python3 generate_tts.py --text "Message" --play --loops 5
# Volume control
python3 generate_tts.py --text "Message" --play --volume 80
# SSML support
python3 generate_tts.py --ssml "<speak>Hello <break time='500ms'/> world</speak>"
Parameters:
--text: Text to convert to speech--ssml: SSML markup for advanced control--output: Save to MP3 file--play: Play immediately after generation--voice: Default voice (overrides auto-detection)--voice-en: English voice override--voice-zh: Chinese voice override--loops: Number of times to play (default: 1)--volume: Playback volume 0-100 (default: system volume)--rate: Speech rate adjustment (+/- %)--pitch: Pitch adjustment (+/- Hz)scripts/play_audio.pyAudio playback control utilities.
Usage:
# Play existing audio file
python3 play_audio.py --file audio.mp3
# Loop playback
python3 play_audio.py --file audio.mp3 --loops 3
# Volume control
python3 play_audio.py --file audio.mp3 --volume 75
# Stop all playback
python3 play_audio.py --stop
scripts/merge_audio.pyMerge multiple audio files.
Usage:
# Merge two files
python3 merge_audio.py --files part1.mp3 part2.mp3 --output combined.mp3
# Create playlist and merge
python3 merge_audio.py --playlist playlist.txt --output combined.mp3
Complete list of available Edge TTS voices with language, gender, and style information.
Setup instructions for edge-tts and ffmpeg dependencies.
Example usage patterns and common scenarios.
pip3 install edge-ttsbrew install ffmpeg (for audio merging)afplay (built-in), osascript (volume control)python3 scripts/generate_tts.py --text "Welcome to the system. 系统欢迎您。" --play --voice-en "en-US-JennyNeural" --voice-zh "zh-CN-XiaoxiaoNeural"
# Create audio file
python3 scripts/generate_tts.py --text "Time for your meeting. 会议时间到了。" --output reminder.mp3
# Schedule playback (using cron)
echo "*/30 * * * * afplay /path/to/reminder.mp3" | crontab -
python3 scripts/generate_tts.py --text "Alert: System update in progress. 警报:系统更新进行中。" --play --loops 3 --volume 90
osascript -e "output volume of (get volume settings)"osascript -e "output muted of (get volume settings)"afplay /System/Library/Sounds/Ping.aiffpython3 -m edge_tts --list-voicespip3 install --upgrade edge-ttsafplay commandosascript to adjust system volume