The JOAL-Demos Project hosts a collection of turials and demonstrations illustred the features and usage of the Java bindings for OpenAL API and the Sound3D Toolkit.
wget https://jogamp.org/deployment/jogamp-current/archive/jogamp-all-platforms.7z 7z x jogamp-all-platforms.7z cd jogamp-all-platforms # joal-test java -cp jar/joal-test.jar:jar/joal.jar:jar/gluegen-rt.jar com.jogamp.openal.test.manual.Sound3DTest java -cp jar/joal-test.jar:jar/joal.jar:jar/gluegen-rt.jar com.jogamp.openal.test.manual.OpenALTest # joal-demos www.devmaster.net Tutorial lession 1,2,3 & 5 wget https://jogamp.org/deployment/jogamp-current/joal-demos/jar/joal-demos.jar java -cp joal-demos.jar:jar/joal.jar:jar/gluegen-rt.jar demos.devmaster.lesson1.SingleStaticSource java -cp joal-demos.jar:jar/joal.jar:jar/gluegen-rt.jar demos.devmaster.lesson2.LoopingAndFadeaway java -cp joal-demos.jar:jar/joal.jar:jar/gluegen-rt.jar demos.devmaster.lesson3.MultipleSources java -cp joal-demos.jar:jar/joal.jar:jar/gluegen-rt.jar demos.devmaster.lesson5.SourcesSharingBuffers # joal-demos www.devmaster.net Tutorial lession 8 # This demo uses the external J-Ogg library for ogg decoding # http://www.j-ogg.de/ wget http://www.j-ogg.de/j-ogg.zip unzip j-ogg.zip # ogg Vorbis test stream from http://www.vorbis.com/music/ wget http://www.vorbis.com/music/Mists_of_Time-4T.ogg java -cp joal-demos.jar:j-ogg/build/lib/j-ogg-all.jar:jar/joal.jar:jar/gluegen-rt.jar demos.devmaster.lesson8.OggDecoder Mists_of_Time-4T.ogg java -cp joal-demos.jar:j-ogg/build/lib/j-ogg-all.jar:jar/joal.jar:jar/gluegen-rt.jar demos.devmaster.lesson8.OggStreamer Mists_of_Time-4T.ogg