We have used wav format in Java 3D (worked fairly well last year), but
recently we have removed all attempts to use Java 3D sound due to
crashing problems (even when you aren't playing a sound).

When I first started trying to learn Java 3D sound the trick that
confused me the most was not knowing to put in:
  AudioDevice audioDev = simpleU.getViewer().createAudioDevice();
  if (!audioDev.initialize()) {
    System.out.println("Failure to init audio device");
  }

- John Wright
Starfire Research

David Yazel wrote:
>
> You probably already know this, but you can create AU files by downloading
> JMStudio from Sun.
>
> Load the wav file up, then do an export.
>
> There are LOTS of options and export formats, but few are compatibile with
> Java3d.  One format I know works is this:
>
> 1. Basic Audio codec (Au)
> 2. Check enable track
> 3. Encoding ULAW
> 4. Sample rate 8000
> 5. Bits per sample 8 bit
> 6. Channels mono
> 7. Little endian
> 8. Signed
>
> I was able to play sounds in the java3d sound demo by substituting files
> converted this way.  I am afraid that is the extent of my java3d sound
> knowledge.
>
> David Yazel
>
> ----- Original Message -----
> From: Corysia Taware <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, July 28, 2001 10:44 PM
> Subject: [JAVA3D] 3D Sound demos?
>
> I'm starting to work with sound and I'm running into
> some difficulties.  The first thing I tried was to use
> WAV files instead of AU files in the provided demos,
> but that wasn't successful.  I continually got an
> error when attempting to load the WAV.  Does it need
> to be a certain format?
>
> Second, I'm wondering about the capabilites of the 3D
> sound engine in Java3D.  Is everything done thru
> emulation?  Does a Soundscape use EAX capabilities and
> hardware acceleration?
>
> Does anyone have some simple sound demos?  I'm looking
> for an example of how to use a PointSound and a
> BackgroundSound.  So far, I haven't been able to hear
> anything, so getting started has been difficult.
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
> ===========================================================================
> 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