xb-sound

Integrates spatial audio and speech processing into XR Blocks applications.

455|91|Updated Sep 25, 2025
One-click install
npx skills add https://github.com/google/xrblocks --skill xb-sound
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xb-sound
Source: https://github.com/google/xrblocks/tree/main/skills/xb-sound
Command: npx skills add https://github.com/google/xrblocks --skill xb-sound

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires xrblocks, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the integration of spatial audio and speech processing capabilities into XR Blocks applications, enabling developers to create immersive and interactive audio experiences.

Core Features & Use Cases

  • Spatial Audio: Play and capture audio in 3D space, with positional audio anchored to scene objects.
  • Master Volume Control: Adjust the overall volume of the audio output.
  • Microphone Recording & Playback: Record and play back audio using the microphone.
  • Speech Recognition & Synthesis: Implement speech-to-text and text-to-speech functionality.
  • Use Case: Enhance an XR game with realistic sound effects, voice interactions, and voice-controlled character movements.

Quick Start

Use the xb-sound skill to play a spatial audio file in your XR Blocks app and capture voice input from the user.

Frequently Asked Questions about xb-sound

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

FAQPage Schema
How do I add spatial audio to an XR Blocks app?

To add spatial audio to an XR Blocks app, use this Skill to play and capture audio in 3D space, anchoring positional audio outputs directly to scene objects. It simplifies integrating immersive audio environments into your applications.

Can I implement speech recognition in XR Blocks?

Yes, you can implement speech recognition in XR Blocks. This Skill provides speech-to-text functionality, enabling voice interaction features and voice-controlled character movements by utilizing TensorFlow Lite or PyTorch for recognition processing.

Do I need TensorFlow Lite or PyTorch for speech processing in XR Blocks?

Yes, you need TensorFlow Lite or PyTorch for speech processing in XR Blocks. These frameworks are required alongside the XR Blocks framework to handle underlying gestures and speech recognition capabilities.

What is the best way to record microphone input for an immersive XR experience?

The best way to record microphone input for an immersive XR experience is using this Skill's microphone recording and playback capabilities. It allows capturing user audio and integrating it directly into your spatial environment.

How do I control master volume in XR Blocks applications?

You control master volume in XR Blocks applications through the provided master volume control feature. This allows adjusting the overall volume of audio output across your spatial audio environment.

Does XR Blocks support text-to-speech synthesis for voice interaction?

Yes, XR Blocks supports text-to-speech synthesis for voice interaction. This Skill implements speech synthesis functionality, allowing generation of voice outputs and creation of interactive audio experiences within your application.