跳至主要内容
小龙虾小龙虾AI
🔮

Generate Protoss-style (StarCraft) voice effects using SoX and FFmpeg.

Apply Protoss-style (StarCraft) psionic effects to ANY audio file. Use as a post-processing layer for TTS or user recordings.

下载2.3k
星标3
版本1.1.1
图像视频
安全通过

技能说明


name: protoss-voice description: Apply Protoss-style (StarCraft) psionic effects to ANY audio file. Use as a post-processing layer for TTS or user recordings. metadata: openclaw: emoji: "🔮" requires: bins: - ffmpeg - sox install: - id: brew kind: brew formula: "sox ffmpeg" bins: - sox - ffmpeg label: "Install Dependencies (brew)"

Protoss Voice Effect

Applies a "Khala" psionic transformation chain to audio files using the V9 "Massive Void" engine. Modular Design: This skill does NOT generate speech. It transforms existing audio.

Usage

Run the script on any input audio file (wav, mp3, ogg, etc):

python3 skills/protoss-voice/protoss_fx.py <path_to_audio_file>

Output: Creates a new file with suffix _psionic.wav in the same directory.

Agent Protocol & Behavior

When acting as a Protoss persona (e.g., Selendis, Artanis, Zeratul, etc), the agent should:

  1. Generate/Record Base Audio:
    • Use kokoro-tts (or any other TTS skill) to generate the raw speech.
    • OR accept a user-provided recording.
  2. Process (The "Black Box"):
    • Execute protoss_fx.py on the raw file.
    • Do not narrate this step unless debugging.
  3. Deliver Final Artifact:
    • Send the processed file (_psionic) using the message tool.
    • Clean up raw/intermediate files silently if they are temporary.

Integration Example (Kokoro)

# 1. Generate (Raw)
python3 skills/kokoro-tts/speak.py "En Taro Adun." -o raw.wav -v ef_dora

# 2. Transform (Psionic)
python3 skills/protoss-voice/protoss_fx.py raw.wav
# Output: raw_psionic.wav

# 3. Optimize for Transport (Telegram OGG)
ffmpeg -i raw_psionic.wav -c:a libopus -b:a 64k -vbr on final.ogg -y

# 4. Send
message(action="send", media="final.ogg", asVoice=true)

Requirements

Requires ffmpeg and sox (Sound eXchange).

brew install ffmpeg sox

如何使用「Generate Protoss-style (StarCraft) voice effects using SoX and FFmpeg.」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Generate Protoss-style (StarCraft) voice effects using SoX and FFmpeg.技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能