Olisound
olisound delivers a high-performance audio library for FiveM built on the Web Audio API. It provides low-latency playback, 3D positional audio, vehicle-aware occlusion, and an effects pipeline with zero external dependencies.
The library supports direct URLs and YouTube playback, automatic vehicle sound tracking with realistic muffling based on door and window state, non-blocking fades, and streaming optimizations that destroy distant sounds. It functions as a lightweight xsound replacement for existing scripts.
- Web Audio API with lower latency than HTML5 Audio
- YouTube URL auto-detection and playback
- Vehicle occlusion and PlayUrlVehicle attachment
- Effects including fade, distortion, low-pass muffle, and playback rate
- 3D positional audio with distance-based falloff
- Streamer mode and automatic sound streaming optimization