MoritzBrueckner / aura

A fast and lightweight 3D audio engine for Kha.
42 stars 3 forks source link
3d 3d-audio 3d-sound armory armory3d audio haxe kha sound

aura_banner.png

Aura is a fast and lightweight 3D audio engine for Kha to ease creating realistic sound atmospheres for your games and applications.

Table of Content

Features

Setup

  1. In your project directory, create a folder called Subprojects.

  2. Open a command line in that folder and execute the following command (Git must be installed on your machine):

    git clone https://github.com/MoritzBrueckner/aura.git
  3. Add the following line to your project's khafile.js (if you're using Armory 3D, you can skip this step):

    await project.addProject("Subprojects/aura");
  4. [Optional] If you're using Iron, but not Armory 3D, please also add the following to your Khafile to be able to use Iron's vector classes with Aura:

    project.addDefine("AURA_WITH_IRON");

Usage

Platform Support

Thanks to Haxe and Kha, Aura runs almost everywhere!

The following targets were tested so far:

Target Tested environments Supported Notes
Armorcore (Krom) Windows 10
HTML5 Electron, Firefox - No dedicated audio thread for non-streaming playback
- If kha.SystemImpl.mobileAudioPlaying is true, streamed playback is not included in the Aura mix pipeline (no DSP etc.)
Hashlink/C Windows 10
hxcpp Windows 10

License

This work is licensed under multiple licences, which are specified at .reuse/dep5 (complying to the REUSE recommendations). The license texts can be found in the LICENSES directory, or in case of submodules in their respective repositories.

Short summary: