A Java audio-playback class, modeled on javax.sound.sampled.Clip, enhanced with concurrent playback and dynamic handling of volume, pan and frequency. Maven version.
This is the source project for release version 2.1.0 published on Maven Central.
New in this release:
AutoCloseable
;AudioCueFunctions
class.VolType
has a selection of 6 possible scaling functions for translating the input range [0..1]: LINEAR, EXP_X2, EXP_X3, EXP_X4, EXP_X5, EXP_60dB.AudioCueFunction.fromPcmToAudioBytes
is now public, allowing one to obtain 16-bit, 44100 fps, stereo, little-endian byte data from signed, normalized floats.AudioCue.getPcmCopy
allows one to obtain a copy of the PCM data that is derived from input .wav files and held internally for a cue.Assets (library jar, javadoc, source) along with accompanying checksum files can be downloaded from the Maven Central Repository.
This is the source project for release version 2.0.0 published on Maven Central.