ue-audio-and-metasounds

Play, spatialize, mix, and parameterize Unreal Engine audio using C++ and MetaSounds.

55|5|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/kevinpbuckley/unreal-engine-skills --skill ue-audio-and-metasounds-kevinpbuckley
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ue-audio-and-metasounds
Source: https://github.com/kevinpbuckley/unreal-engine-skills/tree/main/skills/core/ue-audio-and-metasounds
Command: npx skills add https://github.com/kevinpbuckley/unreal-engine-skills --skill ue-audio-and-metasounds-kevinpbuckley

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Unreal Engine audio involves many interacting systems — sound assets, audio components, attenuation, mixing, concurrency, and MetaSounds — and getting playback, spatialization, or runtime parameter control wrong leads to silent sounds, voice spam, and broken mixes. This Skill gives an AI agent the correct UE 5.8 classes, API signatures, and patterns to implement game audio correctly in C++. ## Core Features & Use Cases - Playback from C++: Fire-and-forget one-shots with UGameplayStatics versus controllable UAudioComponent playback with fades, delegates, and GC-safe UPROPERTY storage. - 3D Spatialization & Mixing: Configure USoundAttenuation falloff, sound classes, submixes, audio buses, and concurrency steal rules to control volume groups and voice limits. - MetaSounds & Quartz: Drive typed MetaSound inputs at runtime, read generator outputs, build graphs with the Builder API, and schedule beat-quantized playback on Quartz clocks. - Use Case: Attach a looping engine sound to a vehicle actor, expose an RPM float parameter to a MetaSound, and cap simultaneous impact sounds with a concurrency asset so heavy combat never clips the mix. ## Quick Start Use the ue-audio-and-metasounds skill to play a 3D explosion sound at a hit location with attenuation and then fade out a looping engine audio component.

Frequently Asked Questions about ue-audio-and-metasounds

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

FAQPage Schema
How do I play a sound in Unreal Engine C++?

Use UGameplayStatics::PlaySound2D for UI or music, PlaySoundAtLocation for 3D one-shots, or SpawnSoundAttached when you need a UAudioComponent to stop, fade, or change parameters later. Fire-and-forget PlaySound calls return nothing, so use SpawnSound variants when ongoing control is required.

MetaSounds vs SoundCues in Unreal Engine, which should I use?

MetaSounds are the modern node-based system with typed inputs, DSP composition, and runtime parameter control, and are preferred for new dynamic audio. SoundCues remain fully supported and are simpler for lightweight randomization over USoundWave assets.

Why is my 3D sound playing as flat 2D in Unreal?

A sound without a USoundAttenuation asset plays as flat 2D regardless of its world position. Assign an attenuation asset on the USoundBase or pass one to PlaySoundAtLocation to enable distance falloff and spatialization.

Why do MetaSound parameter changes have no effect?

MetaSound input names are case-sensitive FNames that must exactly match the graph's Input node names; a mismatch fails silently with no warning. Also check that bDisableParameterUpdatesWhilePlaying is not set on the audio component, which drops parameter calls during playback.

How do I stop too many sounds playing at once in Unreal?

Use a USoundConcurrency asset to cap simultaneous voices in a group and choose a steal rule such as StopOldest, StopLowestPriority, or StopFarthestThenOldest. A sound can reference multiple concurrency assets and must pass all of them to play.

Can I build MetaSound graphs at runtime in UE 5.8?

Yes, the MetaSound Builder API via UMetaSoundBuilderSubsystem can create sources, add nodes, connect pins, and audition changes live. It is a Beta feature as of UE 5.8, so API stability between minor releases is not guaranteed.