Lee isn't alone here.  I'm sure many of us would like to see MP3 playing
abilities.  Whether it is across the Net or just local, sound files can
become huge!  I have a six second clip of water running that is a 470K
WAV file and not all sounds are as "loopable" as water. Certainly not
everything can be done with MIDI so MP3's would be a great addition to
Java 3D.

Even if we can't do MP3 in 1.2.1, I'm sure we'd all look forward to
having it in 1.3.

- John Wright
Starfire Research

"J. Lee Dixon" wrote:
>
> I've waited all week to see any response to this posting, so in
> desperation I figured I would mail it straight to some of the Sun
> engineers.  Can you please direct this to someone who can give me an
> answer?
>
> In short, if J3D doesn't use JavaSound, how does it play sound?  With
> native calls?  How can I get J3D to play MP3 files?  Can I convert MP3
> to WAV on the fly and stream it to J3D to play?
>
> My argument for MP3 is that Java is made to be usable across the net,
> and use of long audio clips almost requires the use of MP3 because of
> download size.
>
> If not using MP3, can someone at Sun make another suggestion for playing
> long audio clips (30sec to 1min)?
>
> Thanks.
>
> -Lee
> J. Lee Dixon
> SAIC - Celebration, FL
> 407-566-1438
> [EMAIL PROTECTED]    AOL: LeeOrlando
>
> -----Original Message-----
> From: J. Lee Dixon
> Sent: Tuesday, January 30, 2001 8:17 AM
> To: 'Discussion list for Java 3D API'
> Subject: RE: [JAVA3D] Java3d, Java Sound, and MP3's
>
> My teammate sent this question yesterday, but we haven't heard anything
> back yet.  The JavaDocs for the JavaSoundMixer (distributed in the Sun
> J3D utils) says:
> "The JavaSoundMixer Class defines an audio output device that accesses
> JavaSound JavaSoundMixer functionality Hae stream data"
>
> I'm not quite sure what that means, but it makes it sound like it uses
> JavaSound to play sounds.  We have tried an example MP3 player that
> extends JavaSound using SPI, but we still get an exception as if the
> sound mixer does not recognize the format.
>
> Can we get some help from Sun on this?  Has anybody had success with
> playing anything other than the default filetypes (like MP3)?
>
> BTW, why is the JavaSoundMixer part of the utils?  It is a very large
> piece of code, but we thought we might need to write our own.  But this
> code uses undocumented classes (j3d.audio.J3DHaeStream and others) to do
> the actual work of playing the sample.  How can I write my own if the
> example code uses undocumented features of J3D????  And how can extend
> the undocumented classes to use a different decoder??
>
> (I have the feeling that these undocumented classes use native calls to
> play sounds....)
>
> -Lee
>
> > -----Original Message-----
> > From: Scott Vander Weide
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, January 29, 2001 10:24 AM
> > To: [EMAIL PROTECTED]
> > Subject: [JAVA3D] Java3d, Java Sound, and MP3's
> >
> >
> > Hello All,
> >
> >   I am trying to implement mp3 playback in my Java3D
> > environment. I was
> > hoping to use the SPI (Service Provider Interface) to do
> > this, based on
> > an article I read on Java World's website. But I cannot see any direct
> > connection, or implied connection for that matter, between Java3D's
> > sound renderer/engine and Java Sound. Is there any way I might be able
> > to use the SPI to extend Java3D's sound capability to use
> > MP3's? Or can
> > I go through Java Sound some how and still get the 3D spacial effects?
> >
> > Thanks,
> >
> > Scott A. Vander Weide
> >
> > ==============================================================
> > =============
> > To unsubscribe, send email to [EMAIL PROTECTED] and
> > include in the body
> > of the message "signoff JAVA3D-INTEREST".  For general help,
> > send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
> >
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to