RetardSoundSystem is a simple sound system that wraps the standard Java Sound API.
- Mixing several sounds in a separate thread.
- Playing, buffering sounds from file, memory, stream, URL or as resource from jar.
- Playing music from file, memory, stream, URL or as resource from jar.
Intentionally it used old Java 7 standard.
You can use variables SoundSystem.CACHED (default:true) and SoundSystem.FAST_MODE (default:false) for control the quality and speed of the sound system.
https://www.youtube.com/watch?v=r5YJZWikRUc
$ mvn clean package
If you would just like to download the jar files, see the releases page:
https://github.com/vuvk/retard_sound_system/releases
RSS is licensed under the Apache 2.0 license. A copy of the license can be found in the header of every source file as well as in the LICENSE file.
RSS stores all sounds as 16-bit, 44.1kHz, linear PCM data internally. It makes an effort to play other formats, but will not be able
to handle all formats (OGG, MP3).
You need use class Sound
for wav-files (or SoundBuffer
), and class Music
for ogg and mp3 files.
See example in tests
.