tts-pacing

Configures pitch and speech rate for Android TTS in guided wellness exercises.

Updated May 9, 2026
One-click install
npx skills add https://github.com/Bumh3rr/solvyx-app --skill tts-pacing-bumh3rr
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tts-pacing
Source: https://github.com/Bumh3rr/solvyx-app/tree/main/.opencode/skill/tts-pacing
Command: npx skills add https://github.com/Bumh3rr/solvyx-app --skill tts-pacing-bumh3rr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Spoken guidance in wellness apps often sounds monotone or falls out of sync with on-screen animations. This Skill provides consistent pitch and speech rate conventions for the Solvyx app's text-to-speech, plus patterns for synchronizing TTS playback with UI animations. ## Core Features & Use Cases - Context-based TTS presets: Predefined pitch/rate values for breathing exercises, body scans, meditations, behavioral activation, and notifications. - User speed control: A TtsSpeed enum and Compose selector letting users pick slow, normal, or fast voice speed in their profile. - Animation synchronization: Patterns using onStart/onDone callbacks and speakAndAwait so breathing circle animations and progress indicators stay aligned with spoken text, including edge-case handling when TTS and animation durations differ. - Use Case: When implementing a 4-7-8 breathing exercise in Kotlin with Jetpack Compose, apply the respiration preset (pitch 1.0, rate 0.75) and drive phase transitions from TTS completion callbacks so the circle animation matches the spoken instructions. ## Quick Start Apply this skill to configure the TTS pitch and speech rate for a guided breathing exercise and synchronize the spoken cues with the breathing circle animation.

Frequently Asked Questions about tts-pacing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set pitch and speech rate for Android TTS in Kotlin?▼

Call tts.setPitch() and tts.setSpeechRate() before invoking speak(). This skill uses a default of 1.15 pitch and 0.85 speech rate, with lower values like 1.0 pitch and 0.75 rate for calming breathing exercises.

How to synchronize TTS audio with Jetpack Compose animations?▼

Use the TTS onStart and onDone utterance callbacks wrapped in a speakAndAwait suspend function. Change the animation state when each utterance completes so animateFloatAsState transitions trigger in step with the spoken text rather than a fixed timer.

What speech rate should I use for meditation or breathing exercises?▼

Breathing exercises work best around 0.75 speech rate with 1.0 pitch, while meditations use roughly 0.7 rate and 1.05 pitch. Slower, lower-pitched speech induces calm, whereas notifications can run near 0.95 rate.

What happens when TTS finishes before the animation ends?▼

Run both concurrently with async and awaitAll so the phase advances only after both the utterance and the animation duration complete. Alternatively, adjust the speech rate dynamically based on the target animation duration and text length.

Should users be able to control TTS voice speed?▼

Yes, offer a speed selector with slow (0.7), normal (0.85), and fast (1.0) options, for example via FilterChip composables in a profile screen. Always provide a mute alternative so the app remains usable without audio.