| Author |
play wav file from console application
|
Benjamin Mulder
Greenhorn
Joined: Mar 13, 2004
Posts: 18
|
|
Is it possible? All the stuff I've found about sound are related to applets. But I don't want an applet. My application executes from console. How do I do that? Feel free to offer any sample code. Thanks in advance.
|
 |
Nigel Browne
Ranch Hand
Joined: May 15, 2001
Posts: 673
|
|
|
I refer you to the java sound programmers guide
|
 |
Ko Ko Naing
Ranch Hand
Joined: Jun 08, 2002
Posts: 3178
|
|
Assume that it is possible to develop such applcation, how can you stop your player? It will become an audio application without stop option? You can start to play your application with choosing option in the command, but how can you stop? Is there any specific reason why you want to develop such audio applications on console? or is it just to test the APIs?
|
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
|
 |
Stefan Wagner
Ranch Hand
Joined: Jun 02, 2003
Posts: 1923
|
|
Why shouldn't it be possible to stop playing a sound file on the console? Where is the difference to a gui?
|
http://home.arcor.de/hirnstrom/bewerbung
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: play wav file from console application
|
|
|