AudioStream - encapsulating audio file playback

Purpose. AudioStream hides the details of loading an audio file, requesting a Line and feeding the data to the line. It includes support for changing gain and pan. AudioStreamPlayer is a command-line application that shows how to use the basic features of AudioStream. This class is in an experimental state. Please report problems.


java AudioStreamPlayer audiofile



the name of the audio file to play

Bugs, limitations. Not well-tested

Source code.,,