Skip to content

Instantly share code, notes, and snippets.

@limboinf
Created August 6, 2024 03:39
Show Gist options
  • Save limboinf/e9345163d721548e580d730d094dd003 to your computer and use it in GitHub Desktop.
Save limboinf/e9345163d721548e580d730d094dd003 to your computer and use it in GitHub Desktop.
edge-tts playback popclip extention.
#popclip
name: tts
icon: iconify:ri:speak-line
interpreter: /bin/sh
shell script: |
/path/to/edge-playback --rate="${POPCLIP_OPTION_RATE:-+20%}" --voice "${POPCLIP_OPTION_VOICE:-zh-CN-XiaoxiaoNeural}" --text "$POPCLIP_TEXT"
options:
- identifier: rate
label: Rate (default +20%)
type: string
default: +20%
description: 设置播放速率,如 +20% 表示加快 20%,-10% 表示减慢 10%
- identifier: voice
label: Voice
type: string
default: zh-CN-XiaoxiaoNeural
description: 设置语音,默认是 zh-CN-XiaoxiaoNeural 为中文小雅,en-US-AriaNeural 为英文 Aria
@rich1e
Copy link

rich1e commented Jul 15, 2025

不能工作,只有一个错误弹窗。

Kapture 2025-07-15 at 22 21 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment