It appears that a requirement is that Quicktime is installed so it wouldn't work very well in an applet. :-( --- Henry Martin <[EMAIL PROTECTED]> wrote: > This tech note describes a method to play sounds, including mp3 files, > from Java using QuickTime for Java. Other notes on the site give > detailed instructions on how to use QuickTime for Java on both MacOS and > Windows. > > The URL is: http://developer.apple.com/qa/qtj/qtj01.html > > The introduction says: > ------------------------------------------------------------------------ > > Q: I have spent a while trying to figure out how to play sounds in Java. > Sun has some audio classes, but they are unsupported and not very > flexible. Is there any other way to play sounds in Java? > > A: Yes. Using QuickTime for Java, you can easily play sounds stored in a > variety of formats. The following application example simply plays a > local sound file: > > ------------------------------------------------------------------------ > > I hope this helps. I haven't yet used this technique, but have used > QuickTime in many other projects, and when the Java programs I am > working on now need audio, this will be the first approach I try. > > Henry Martin > > > ----- Original Message ----- > > From: "James A. N. Stauffer" <[EMAIL PROTECTED]> > > Date: Thu, 6 Jun 2002 20:02:44 -0700 (PDT) > > To: "JDJList" <[EMAIL PROTECTED]> > > Subject: [jdjlist] Playing music in an applet > > > > > >> The last that I checked current browsers only came with a 1.1 JVM. > Has > >> that changed? What kind of audio files can be played? Is it just .au > >> files? Do you have any suggestions for playing mp3 files in a > browser? > >> > >> ===== > >> = o o o o o o o . . . __________________________ > _____=======_||___ > >> o _____ | James A. N. Stauffer | | Stauffer_James > | > >> .][__n_n_|DD[ ====____ | Spam food: [EMAIL PROTECTED] | | @yahoo.com > | > >>> > (________|__|_[________]_|________________________|_|________________| > >> _/oo OOOOO oo` ooo ooo 'o,o,o o,o,o` 'o,o > o,o` > > > To change your membership options, refer to: > http://www.sys-con.com/java/list.cfm >
===== = o o o o o o o . . . __________________________ _____=======_||___ o _____ | James A. N. Stauffer | | Stauffer_James | .][__n_n_|DD[ ====____ | Spam food: [EMAIL PROTECTED] | | @yahoo.com | >(________|__|_[________]_|________________________|_|________________| _/oo OOOOO oo` ooo ooo 'o�o�o o�o�o` 'o�o o�o` __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To change your membership options, refer to: http://www.sys-con.com/java/list.cfm
