rg3d-sound 0.4.0

Sound library for games.
Documentation

rg3d-sound

Sound library for games written in Rust with HRTF support.

Key features

  • Spatial and flat sounds
  • Built-in streaming for large sounds
  • WAV format support (non-compressed)
  • Vorbis/ogg support (using lewton)
  • HRTF support for excellent positioning and binaural effects.

Examples

Examples can be found in ./examples

Make sure you run examples with --release flag, debug version is very slow and may cause tearing of output sound.

Supported OS

  • Windows (DirectSound)
  • Linux (alsa)

How to build

Add rg3d-sound = "0.4.0" to your Cargo.toml

HRTF

Library has full HRTF support, it uses HRIR spheres generated using IRCAM HRIR database. HRIR spheres are produced using small tool written in C++ - hrir_sphere_builder

Help needed

It would be great if someone make backend for macOS.

License

MIT