# Voice Control

> SKILL: Voice Control (Gemini Live)

- Skill: `moeabdelaziz007/voice-control` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add moeabdelaziz007/voice-control`
- Raw SKILL.md: https://api.skillmd.com/api/skills/moeabdelaziz007/voice-control/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Moeabdelaziz007 (https://skillmd.com/u/moeabdelaziz007)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/moeabdelaziz007/voice-control

---

# SKILL: Voice Control (Gemini Live)

## Description
Implements a simulation of the **Gemini Live** bidirectional streaming protocol. It handles `InputAudio` events from the user and generates `OutputAudio` events using ADK patterns.

## Architecture
Based on `google.adk.models.gemini_llm_connection`:
1.  **Audio In:** User speech is captured as chunks.
2.  **Transcode:** Audio is converted to text (STT) for the context window (if needed) or processed directly by multimodal models.
3.  **Audio Out:** The agent response is synthesized (TTS).

## Capabilities
1.  **`process_audio_stream(stream_id)`**:
    *   Simulates connecting to a WebSocket.
    *   Listens for interrupt signals.
2.  **`speak(text_or_ssml)`**:
    *   Synthesizes speech.
    *   Supports SSML for tone/pitch control (e.g., `<speak>Hello</speak>`).

## Usage Prompt
"Agent, activate voice mode. Listen for my command 'Deploy' and confirm verbally."

