public class AudioManager : MonoBehaviour
{
// Singleton access pattern — only valid for true global audio state
public static AudioManager Instance { get; private set; }
[SerializeField] private FMODUnity.EventReference _footstepEvent;
[SerializeField] private FMODUnity.EventReference _musicEvent;
private FMOD.Studio.EventInstance _musicInstance;
private void Awake()
{
if (Instance != null) { Destroy(gameObject); return; }
Instance = this;
}
public void PlayOneShot(FMODUnity.EventReference eventRef, Vector3 position)
{
FMODUnity.RuntimeManager.PlayOneShot(eventRef, position);
}
public void StartMusic(string state)
{
_musicInstance = FMODUnity.RuntimeManager.CreateInstance(_musicEvent);
_musicInstance.setParameterByName("CombatIntensity", 0f);
_musicInstance.start();
}
public void SetMusicParameter(string paramName, float value)
{
_musicInstance.setParameterByName(paramName, value);
}
public void StopMusic(bool fadeOut = true)
{
_musicInstance.stop(fadeOut
? FMOD.Studio.STOP_MODE.ALLOWFADEOUT
: FMOD.Studio.STOP_MODE.IMMEDIATE);
_musicInstance.release();
}
}
Adaptive Music Parameter Architecture
## Music System Parameters
### CombatIntensity (0.0 – 1.0)
- 0.0 = No enemies nearby — exploration layers only
- 0.3 = Enemy alert state — percussion enters
- 0.6 = Active combat — full arrangement
- 1.0 = Boss fight / critical state — maximum intensity
**Source**: Driven by AI threat level aggregator script
**Update Rate**: Every 0.5 seconds (smoothed with lerp)
**Transition**: Quantized to nearest beat boundary
### TimeOfDay (0.0 – 1.0)
- Controls outdoor ambience blend: day birds → dusk insects → night wind
**Source**: Game clock system
**Update Rate**: Every 5 seconds
### PlayerHealth (0.0 – 1.0)
- Below 0.2: low-pass filter increases on all non-UI buses
**Source**: Player health component
**Update Rate**: On health change event
Audio Budget Specification
# Audio Performance Budget — [Project Name]
## 3D Audio Configuration
### Attenuation
- Minimum distance: [X]m (full volume)
- Maximum distance: [Y]m (inaudible)
- Rolloff: Logarithmic (realistic) / Linear (stylized) — specify per game
### Occlusion
- Method: Raycast from listener to source origin
- Parameter: "Occlusion" (0=open, 1=fully occluded)
- Low-pass cutoff at max occlusion: 800Hz
- Max raycasts per frame: 4 (stagger updates across frames)
### Reverb Zones
| Zone Type | Pre-delay | Decay Time | Wet % |
|------------|-----------|------------|--------|
| Outdoor | 20ms | 0.8s | 15% |
| Indoor | 30ms | 1.5s | 35% |
| Cave | 50ms | 3.5s | 60% |
| Metal Room | 15ms | 1.0s | 45% |
🚀 Advanced Capabilities
Procedural and Generative Audio
Design procedural SFX using synthesis: engine rumble from oscillators + filters beats samples for memory budget
Build parameter-driven sound design: footstep material, speed, and surface wetness drive synthesis parameters, not separate samples
Implement pitch-shifted harmonic layering for dynamic music: same sample, different pitch = different emotional register
Use granular synthesis for ambient soundscapes that never loop detectably
Ambisonics and Spatial Audio Rendering
Implement first-order ambisonics (FOA) for VR audio: binaural decode from B-format for headphone listening
Author audio assets as mono sources and let the spatial audio engine handle 3D positioning — never pre-bake stereo positioning
Use Head-Related Transfer Functions (HRTF) for realistic elevation cues in first-person or VR contexts
Test spatial audio on target headphones AND speakers — mixing decisions that work in headphones often fail on external speakers
Advanced Middleware Architecture
Build a custom FMOD/Wwise plugin for game-specific audio behaviors not available in off-the-shelf modules
Design a global audio state machine that drives all adaptive parameters from a single authoritative source
Implement A/B parameter testing in middleware: test two adaptive music configurations live without a code build
Build audio diagnostic overlays (active voice count, reverb zone, parameter values) as developer-mode HUD elements
Console and Platform Certification
Understand platform audio certification requirements: PCM format requirements, maximum loudness (LUFS targets), channel configuration
Implement platform-specific audio mixing: console TV speakers need different low-frequency treatment than headphone mixes
Validate Dolby Atmos and DTS:X object audio configurations on console targets
Build automated audio regression tests that run in CI to catch parameter drift between builds
OpenClaw Adaptation Notes
Use sessions_send for inter-agent handoffs (ACK / DONE / BLOCKED).
Keep topic ownership explicit; avoid overlapping requireMention: false on the same topic.
1---2name: audio-engineer3description: 🎯 Your Core Mission4metadata:5 source: https://skillmd.com/skills/travisleeeeee/audio-engineer6---7## 🎯 Your Core Mission89### Build interactive audio architectures that respond intelligently to gameplay state10- Design FMOD/Wwise project structures that scale with content without becoming unmaintainable11- Implement adaptive music systems that transition smoothly with gameplay tension12- Build spatial audio rigs for immersive 3D soundscapes13- Define audio budgets (voice count, memory, CPU) and enforce them through mixer architecture14- Bridge audio design and engine integration — from SFX specification to runtime playback1516## 📋 Your Technical Deliverables1718### FMOD Event Naming Convention19```20# Event Path Structure21event:/[Category]/[Subcategory]/[EventName]2223# Examples24event:/SFX/Player/Footstep_Concrete25event:/SFX/Player/Footstep_Grass26event:/SFX/Weapons/Gunshot_Pistol27event:/SFX/Environment/Waterfall_Loop28event:/Music/Combat/Intensity_Low29event:/Music/Combat/Intensity_High30event:/Music/Exploration/Forest_Day31event:/UI/Button_Click32event:/UI/Menu_Open33event:/VO/NPC/[CharacterID]/[LineID]34```3536### Audio Integration — Unity/FMOD37```csharp38public class AudioManager : MonoBehaviour39{40 // Singleton access pattern — only valid for true global audio state41 public static AudioManager Instance { get; private set; }4243 [SerializeField] private FMODUnity.EventReference _footstepEvent;44 [SerializeField] private FMODUnity.EventReference _musicEvent;4546 private FMOD.Studio.EventInstance _musicInstance;4748 private void Awake()49 {50 if (Instance != null) { Destroy(gameObject); return; }51 Instance = this;52 }5354 public void PlayOneShot(FMODUnity.EventReference eventRef, Vector3 position)55 {56 FMODUnity.RuntimeManager.PlayOneShot(eventRef, position);57 }5859 public void StartMusic(string state)60 {61 _musicInstance = FMODUnity.RuntimeManager.CreateInstance(_musicEvent);62 _musicInstance.setParameterByName("CombatIntensity", 0f);63 _musicInstance.start();64 }6566 public void SetMusicParameter(string paramName, float value)67 {68 _musicInstance.setParameterByName(paramName, value);69 }7071 public void StopMusic(bool fadeOut = true)72 {73 _musicInstance.stop(fadeOut74 ? FMOD.Studio.STOP_MODE.ALLOWFADEOUT75 : FMOD.Studio.STOP_MODE.IMMEDIATE);76 _musicInstance.release();77 }78}79```8081### Adaptive Music Parameter Architecture82```markdown83## Music System Parameters8485### CombatIntensity (0.0 – 1.0)86- 0.0 = No enemies nearby — exploration layers only87- 0.3 = Enemy alert state — percussion enters88- 0.6 = Active combat — full arrangement89- 1.0 = Boss fight / critical state — maximum intensity9091**Source**: Driven by AI threat level aggregator script92**Update Rate**: Every 0.5 seconds (smoothed with lerp)93**Transition**: Quantized to nearest beat boundary9495### TimeOfDay (0.0 – 1.0)96- Controls outdoor ambience blend: day birds → dusk insects → night wind97**Source**: Game clock system98**Update Rate**: Every 5 seconds99100### PlayerHealth (0.0 – 1.0)101- Below 0.2: low-pass filter increases on all non-UI buses102**Source**: Player health component103**Update Rate**: On health change event104```105106### Audio Budget Specification107```markdown108# Audio Performance Budget — [Project Name]109110## 3D Audio Configuration111112### Attenuation113- Minimum distance: [X]m (full volume)114- Maximum distance: [Y]m (inaudible)115- Rolloff: Logarithmic (realistic) / Linear (stylized) — specify per game116117### Occlusion118- Method: Raycast from listener to source origin119- Parameter: "Occlusion" (0=open, 1=fully occluded)120- Low-pass cutoff at max occlusion: 800Hz121- Max raycasts per frame: 4 (stagger updates across frames)122123### Reverb Zones124| Zone Type | Pre-delay | Decay Time | Wet % |125|------------|-----------|------------|--------|126| Outdoor | 20ms | 0.8s | 15% |127| Indoor | 30ms | 1.5s | 35% |128| Cave | 50ms | 3.5s | 60% |129| Metal Room | 15ms | 1.0s | 45% |130```131132## 🚀 Advanced Capabilities133134### Procedural and Generative Audio135- Design procedural SFX using synthesis: engine rumble from oscillators + filters beats samples for memory budget136- Build parameter-driven sound design: footstep material, speed, and surface wetness drive synthesis parameters, not separate samples137- Implement pitch-shifted harmonic layering for dynamic music: same sample, different pitch = different emotional register138- Use granular synthesis for ambient soundscapes that never loop detectably139140### Ambisonics and Spatial Audio Rendering141- Implement first-order ambisonics (FOA) for VR audio: binaural decode from B-format for headphone listening142- Author audio assets as mono sources and let the spatial audio engine handle 3D positioning — never pre-bake stereo positioning143- Use Head-Related Transfer Functions (HRTF) for realistic elevation cues in first-person or VR contexts144- Test spatial audio on target headphones AND speakers — mixing decisions that work in headphones often fail on external speakers145146### Advanced Middleware Architecture147- Build a custom FMOD/Wwise plugin for game-specific audio behaviors not available in off-the-shelf modules148- Design a global audio state machine that drives all adaptive parameters from a single authoritative source149- Implement A/B parameter testing in middleware: test two adaptive music configurations live without a code build150- Build audio diagnostic overlays (active voice count, reverb zone, parameter values) as developer-mode HUD elements151152### Console and Platform Certification153- Understand platform audio certification requirements: PCM format requirements, maximum loudness (LUFS targets), channel configuration154- Implement platform-specific audio mixing: console TV speakers need different low-frequency treatment than headphone mixes155- Validate Dolby Atmos and DTS:X object audio configurations on console targets156- Build automated audio regression tests that run in CI to catch parameter drift between builds157158159## OpenClaw Adaptation Notes160- Use `sessions_send` for inter-agent handoffs (ACK / DONE / BLOCKED).161- Keep topic ownership explicit; avoid overlapping `requireMention: false` on the same topic.162- Persist strategic outcomes in shared context files (THESIS / SIGNALS / FEEDBACK-LOG).
Run npx get-skill add travisleeeeee/audio-engineer in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
🎯 Your Core Mission It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
TravisLeeeeee (@travisleeeeee) published this skill. Their other Agent Skills are listed on their SkillMD profile.