Audio PTBR
by @henrique-simoes
Premium Portuguese-Brazilian voice interface with neural TTS and Claude AI integration. Features wav2vec2-large-xlsr-53-ptBR for excellent PT-BR understandin...
clawhub install audio-ptbr-aprimoradoπ About This Skill
name: audio-ptbr-autoreply version: 2.0.1 description: | Premium Portuguese-Brazilian voice interface with neural TTS and Claude AI integration. Features wav2vec2-large-xlsr-53-ptBR for excellent PT-BR understanding (slang, expressions, accents) + optional Claude API for intelligent responses. Multiple neural voices (3 masculine, 1 feminine). Silent audio-in/audio-out by default with one-command installation.
category: voice tags: - voice - audio - speech-to-text - text-to-speech - portuguese - accessibility hooks: - event: "message.audio.receive" action: "bash process.sh \"{{MediaPath}}\" \"{{Target}}\" \"{{MessageID}}\"" triggers: - command: "/voz" description: "Configurar voz ou processar Γ‘udio manualmente" action: "bash process.sh \"{{args}}\"" config: tools: media: audio: scope: default: "allow"
Audio PT Auto-Reply v2.0.1 - Premium Voice Interface
Complete voice interface with superior Brazilian Portuguese understanding and automatic setup.
π Key Features
Superior PT-BR Understanding
π€ Optional Claude Integration
Neural Voice Options (Piper TTS)
| Voice | Gender | Quality | Character | |-------|--------|---------|-----------| | jeff | Masculina | Medium | Clear, professional | | cadu | Masculina | Medium | Warm, natural | | faber | Masculina | Medium | Balanced | | miro | Feminina | High | Community voice |
Voice Commands
Change voice anytime with:
/voz jeff - Voice: Jeff/voz cadu - Voice: Cadu /voz faber - Voice: Faber/voz miro - Voice: Miro (feminina)/voz feminina - Automatic: miro/voz masculina - Automatic: jeff/voz listar - Show all voicesβ‘ Installation (NEW!)
One-Command Installation
bash install.sh
The installer automatically:
No manual downloads. No configuration. Just one command!
π Critical Rules
DEFAULT: AUDIO ONLY - NO TEXT
When user sends audio:
TEXT MODE: Say "texto" or "responda em texto" explicitly
π Workflow
π€ Audio Received (PT-BR/EN)
β
π€ Transcribe (wav2vec2 PT-BR - silent)
β
π€ AI Response (Claude API or OpenClaw Agent - silent)
β
π£οΈ Synthesize (Piper neural - silent)
β
π€ Send Audio Reply (silent)
π Scripts
Installation & Setup
install.sh - Automatic installation (run once!)health_check.py - Validate the installationCore Processing
transcribe.py - wav2vec2 PT-BR speech recognitionsynthesize.py - Piper TTS with voice selectionvoice_config.py - Voice preference managementprocess.sh - Full workflow orchestrationAI Integration
claude_adapter.py - Claude API bridge (intelligent responses)π§ Configuration
Optional: Enable Claude Integration
For intelligent AI responses, set your API key:
export ANTHROPIC_API_KEY="sk-your-api-key"
Without this, the skill uses OpenClaw's agent (still great responses!).
Voice Configuration
Current voice is saved automatically in:
~/.openclaw/workspace/.audio_pt_voice_config
π Technical Details
ASR Model
TTS Engine
AI Response (Optional)
π Getting Started
1. Install skill from ClaWHub
2. Run: bash install.sh
3. Restart: openclaw gateway restart
4. Use: Send audio messages, use /voz commands
π Requirements
π Privacy & Security
π License
MIT - Free to use, modify, and redistribute