跳到正文
TakoAPI
返回技能列表

telegram-voice-to-voice-macos

由 fiberian1981 提供

Image & Video Generation
1.1k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Telegram voice-to-voice for macOS Apple Silicon: transcribe inbound .ogg voice notes with yap (Speech.framework)

描述

该技能的功能

Handles Telegram voice note conversations on macOS Apple Silicon. Transcribes incoming .ogg voice notes using Apple's Speech.framework via the yap CLI, generates a spoken reply with say and ffmpeg, and sends it back as a Telegram voice note. Supports per-user toggle between voice and text reply modes.

Uses Apple's on-device Speech.framework for transcription instead of a cloud API, so no audio leaves the machine.

何时使用

  • Replying to Telegram voice messages hands-free on a Mac
  • Transcribing received voice notes into readable text
  • Running a voice-native Telegram bot on an Apple Silicon machine
  • Switching specific contacts between voice and text reply modes
  • Automating voice responses in a Telegram workflow on macOS

示例工作流

输入

User sends a Telegram voice note asking a question

智能体
  1. 1

    Locate the inbound .ogg file from ~/.openclaw/media/inbound/

  2. 2

    Run scripts/transcribe_telegram_ogg.sh to transcribe the audio using yap

  3. 3

    Check voice_state/telegram.json to determine the reply mode for this sender

  4. 4

    Generate a reply text, then run scripts/tts_telegram_voice.sh to produce a .ogg voice note

  5. 5

    Send the .ogg back to Telegram as a voice note with asVoice: true

输出

A Telegram voice note reply sent to the original sender

前置要求

  • yap CLI installed and available in PATH (https://github.com/finnvoor/yap)
  • ffmpeg installed and available in PATH
  • macOS on Apple Silicon hardware

安装

clawhub install fiberian1981/telegram-voice-to-voice-macos

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接