Need help embedding .au into my java application!
If anyone can help me figure out how to embed sound into my java application
I would be very greatful.
I need a sound to play when a new window opens up. So when they click on
"About" for example. The about
screen will come up as usual telling about the program. But when this window
pops up I would like it to
play a sound. Also I am trying to figure how to get sound files using sun
format .au to be looped within
my java based application.
I have been buidling this application using the following below:
Microsoft Visual J++ 6.0
If any of you can help me please send me an email, thanks. =)
Re: Need help embedding .au into my java application!
Hello Justin:
Check out the AudioClip interface. It includes play() and loop()methods
that can be triggered by any event - like displaying the About box.
Tom Duffy
"Justin" <azid-mixes-studios@juno.com> wrote:
>
>If anyone can help me figure out how to embed sound into my java application
>I would be very greatful.
>I need a sound to play when a new window opens up. So when they click on
>"About" for example. The about
>screen will come up as usual telling about the program. But when this window
>pops up I would like it to
>play a sound. Also I am trying to figure how to get sound files using sun
>format .au to be looped within
>my java based application.
>
>I have been buidling this application using the following below:
>
>Microsoft Visual J++ 6.0
>
>If any of you can help me please send me an email, thanks. =)
>
>