org.apache.tools.ant.taskdefs.optional.sound |
|
Java Source File Name | Type | Comment |
AntSoundPlayer.java | Class | This class is designed to be used by any AntTask that requires audio output.
It implements the BuildListener interface to listen for BuildEvents and could
be easily extended to provide audio output upon any specific build events occuring.
I have only tested this with .WAV and .AIFF sound file formats. |
SoundTask.java | Class | Plays a sound file at the end of the build, according to whether the build failed or succeeded.
There are three attributes to be set:
source : the location of the audio file to be played
duration : play the sound file continuously until "duration" milliseconds has expired
loops : the number of times the sound file should be played until stopped
I have only tested this with .WAV and .AIFF sound file formats. |