Production-ready audio architecture for Unity. Pools, entity channels, music crossfade, surface footsteps, RTPC, and VO queues — one clean service interface.Compatible with Built-in Render Pipeline, URP, and HDRP.The system operates entirely through Unity's Audio API and AudioMixer —no render pipeline dependencies. All features work identically across all SRPs.Prime Audio System provides a complete audio service layer for any Unity game genre.Instead of placing AudioSources manually on every object, the system managesper-category pools of AudioSources with priority eviction. Every Play() callreturns an AudioHandle that lets you Stop, Pause, Resume, or change the volumeof any specific sound after firing it — without holding a reference to theunderlying AudioSource.Entity audio is handled through AudioController — a base class that bindssound channels to an entity's transform in 3D space and automatically cleansup all channels when the entity is destroyed.Music is managed through MusicService with A/B crossfade and a Push/Pop stackfor pause menus and cutscenes. AdaptiveMusicSystem synchronizes multiple stemsat DSP time and transitions between game states by fading stem volumes.Surface audio automatically routes footstep, land, and impact sounds througha PhysicsMaterial/Tag/TerrainLayer database — including support for Unity Terraintexture layers. Adding a new surface material requires only Inspector changes.RTPC bindings connect any AudioParameter ScriptableObject to clip propertiesvia an AnimationCurve — engine pitch from speed, heartbeat volume from health —with a single line of code in Update().All dependencies are optional. The system works out of the box with directAudioClip references and a built-in event bus. Addressables support, customevent buses, and custom surface providers can be plugged in at bootstrap time.Suitable for: action games, horror, RPG, simulation, mobile, VR.Requires: Unity 2022.3 LTS or newer, DOTween (free version).LICENSE NOTICEThis asset is open source software and is governed by the MIT License.Copyright (c) 2026 Azen.The full license text is included inside the package (LICENSE file) and isalso available publicly at:https://github.com/AndriiSviatenko/Prime-Audio-SystemYou may use, copy, modify, merge, publish, distribute, sublicense and sellcopies of this software, including in commercial projects, under the termsof the MIT License.THIRD-PARTY COMPONENTSDOTween (HOTween v2) — Copyright (c) Daniele Giardini, Demigiant.Not included in this package. It is listed as an Asset Store packagedependency and must be installed separately. DOTween is governed by its ownlicense terms.- 53 C# scripts, no third-party dependencies except DOTween- Per-category AudioSource pools (2D and 3D) with configurable max size- Priority eviction: Low, Normal, High, Critical priority levels- AudioHandle with SessionID — stale handles auto-invalidate on channel reuse- AudioClipGroup: Random, RandomNoRepeat, Sequential with per-instance counters- MusicService: dual-channel A/B crossfade, Push/Pop layer stack- AdaptiveMusicSystem: DSP-time stem synchronization, state-based transitions- AudioClipSequence: seamless looping via DSP scheduling, zero gap- StingerSystem: Overlay, DuckAndPlay, CutAndReturn modes- AudioPlaylist: Sequential, Random, RandomNoRepeat with runtime track swap- Surface Audio: PhysicsMaterial, GameObject Tag, TerrainLayer alphamap detection- RTPC: AudioParameter SO → Volume, Pitch, LowPassCutoff, SpatialBlend via AnimationCurve- VoiceOverQueue: Queue, Interrupt, Discard policies with subtitle event hooks- DuckingSystem: trigger category → target category, configurable dB, hold duration- AudioZone: proximity ambient trigger, distance fade curve, enter/exit stingers- Audio LOD: distance culling, auto-priority by listener distance- NullAudioService: null-object pattern, removing service never throws- AudioApplicationHandler: OnApplicationFocus/Pause mute via unscaled time- Pluggable: IAudioClipLoader, IAudioEventBridge, ISurfaceProvider- Optional Addressables support via PRIME_AUDIO_ADDRESSABLES define symbol- AudioListenerGuard: automatic duplicate AudioListener detection and cleanup- Batch AudioClipData Generator with smart category and 3D auto-detection- AudioBank custom inspector: search, preview, drag-drop, missing clip filter- Compatible with all Render Pipelines (Built-in, URP, HDRP)- Namespace: Azen.Prime_Audio_System





