Konloch / LWJGL-Audio-Example

Example LWJGL audio implementation with Sound Bank

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LWJGL Audio Example

  • This is a loose example of how you can utilize LWJGL audio with a SoundBank.
  • We're playing WAV files with 3d sound in this demo, and the audio gets farther away with each step.

How To Start

How To Edit

  • Modify the SoundBank.txt file to modify and insert new audio triggers
  • Insert or modify the sounds by replacing the WAV audio files.

Technical Notes

  • For 3D audio to work the sounds must be in MONO format.

SoundBank Explanation

  • For grouped sounds, make them start with the same name, then append _numerical-index to the end, so WALK_1, WALK_2
  • The SoundBank is separated into Name, Path, Volume, Roll-Off, Reference-Distance, Max-Distance

Quick Source Links

Requirements:

  • Java 1.8 - any Java version after that works fine as well

Sample Audio Credits

About

Example LWJGL audio implementation with Sound Bank

License:MIT License


Languages

Language:Java 100.0%