$npx -y skills add whatnickcodes/clappie --skill whisperAudio transcription (Whisper) and text-to-speech (OpenAI TTS). Use for processing audio messages or generating voice responses.
| 1 | # Whisper |
| 2 | |
| 3 | Listen to audio, say things out loud. Powered by OpenAI's Whisper and TTS. |
| 4 | |
| 5 | ## Setup |
| 6 | |
| 7 | Requires `OPENAI_API_KEY` in your `.env` file. |
| 8 | |
| 9 | ## Quick Reference |
| 10 | |
| 11 | ```bash |
| 12 | # Listen to audio (transcribe) |
| 13 | clappie whisper listen /path/to/audio.ogg |
| 14 | |
| 15 | # Say something (text-to-speech) |
| 16 | clappie whisper say "Hello world" |
| 17 | |
| 18 | # Say with specific output path |
| 19 | clappie whisper say "Hello world" -o recall/files/hello.opus |
| 20 | |
| 21 | # Pick voice by mood |
| 22 | clappie whisper say "I'm feeling chaotic" -m chaotic |
| 23 | |
| 24 | # Use specific voice |
| 25 | clappie whisper say "Serious business" -v onyx |
| 26 | |
| 27 | # List all voices |
| 28 | clappie whisper voices |
| 29 | ``` |
| 30 | |
| 31 | ## Storage |
| 32 | |
| 33 | Audio files go to `recall/files/` with everything else. Override with `-o` if needed. |
| 34 | |
| 35 | ## Voices |
| 36 | |
| 37 | | Voice | Vibe | |
| 38 | |---------|-------------------------| |
| 39 | | alloy | Neutral, balanced | |
| 40 | | echo | Male, warm | |
| 41 | | fable | British male, expressive| |
| 42 | | onyx | Deep male, authoritative| |
| 43 | | nova | Female, friendly | |
| 44 | | shimmer | Soft female, gentle | |
| 45 | |
| 46 | ## Mood-Based Selection |
| 47 | |
| 48 | When you use `-m mood`, a matching voice is picked: |
| 49 | |
| 50 | - **excited**: nova, fable, alloy |
| 51 | - **chill**: shimmer, echo, alloy |
| 52 | - **serious**: onyx, echo |
| 53 | - **playful**: fable, nova, alloy |
| 54 | - **chaotic**: fable, nova |
| 55 | - **existential**: shimmer, onyx, echo |
| 56 | |
| 57 | ## Integration with Telegram |
| 58 | |
| 59 | When receiving voice messages in a sidekick: |
| 60 | |
| 61 | ```bash |
| 62 | # Listen to what they said |
| 63 | clappie whisper listen recall/files/voice-xxx.ogg |
| 64 | |
| 65 | # Say something back |
| 66 | clappie whisper say "Your response here" -m playful |
| 67 | # Output lands in recall/files/say-<timestamp>.opus |
| 68 | clappie sidekick send-file voice recall/files/say-<timestamp>.opus |
| 69 | ``` |
| 70 | |
| 71 | ## Notes |
| 72 | |
| 73 | - Whisper supports: mp3, mp4, mpeg, mpga, m4a, wav, webm, ogg |
| 74 | - TTS outputs opus format (great for Telegram) |
| 75 | - Speed can be adjusted with `-s` (0.25 to 4.0) |