engineering-elevenlabs-sound-music

Integrate game audio with ElevenLabs and Vertex AI Lyria.

17|2|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/fcsouza/agent-skills --skill engineering-elevenlabs-sound-music
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: engineering-elevenlabs-sound-music
Source: https://github.com/fcsouza/agent-skills/tree/main/plugins/game-dev/engineering/elevenlabs-sound-music
Command: npx skills add https://github.com/fcsouza/agent-skills --skill engineering-elevenlabs-sound-music

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires elevenlabs, vertex-ai-lyria, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the challenge of adding high-quality audio to games, providing a seamless integration of voice lines, SFX, adaptive music, and voice cloning using ElevenLabs and Vertex AI Lyria.

Core Features & Use Cases

  • Voice Lines and SFX: Generate voice lines and SFX using ElevenLabs, with options for voice cloning and text-to-speech.
  • Music Generation: Create game music using Vertex AI Lyria, offering instrumental tracks and 32.8-second WAV outputs.
  • Adaptive Music: Implement an adaptive music system that changes based on game state.
  • Audio State Machine: Manage audio states and transitions with crossfade effects.
  • Use Case: Enhance a game's immersion by integrating ElevenLabs for voice lines and SFX, and Vertex AI Lyria for dynamic music generation that adapts to different game scenarios.

Quick Start

To generate a voice line, use the following command: generate_voice_line "Welcome, traveler. The road ahead is dangerous."

Frequently Asked Questions about engineering-elevenlabs-sound-music

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

FAQPage Schema
How do I integrate adaptive game music that changes based on game state?

Adaptive music is implemented using an audio state machine to manage transitions with crossfade effects. This system dynamically shifts the music to match varying game scenarios, ensuring the audio adapts seamlessly to the current game state.

Can I generate voice lines and SFX for games using ElevenLabs?

Yes, you can generate voice lines and SFX using ElevenLabs text-to-speech and voice cloning. Passing text strings like character dialogue directly to the API produces high-quality voiceovers and sound effects for your game.

Do I need API keys for Vertex AI Lyria to generate game music?

Yes, you need to set up ElevenLabs and Vertex AI Lyria accounts with valid API keys. These keys authenticate requests for generating instrumental tracks, 32.8-second WAV outputs, and voice lines.

What is the best way to create dynamic instrumental tracks for game audio?

Creating dynamic instrumental tracks is done using Vertex AI Lyria. It generates game music with 32.8-second WAV outputs, which can then be managed by an audio state machine for crossfade transitions.

Does this game audio integration approach support voice cloning?

Yes, the game audio integration supports voice cloning through the ElevenLabs API. Developers can generate distinct voice lines and character dialogue using cloned voices alongside standard text-to-speech capabilities.