To see all the current limitations of Sound in Java 3D, look at
demo/java3d/Sound/README.release. For this issue, the following
section is relevent.
Supported MediaContainers data
------------------------------
This engine supports 8- and 16- bit linear, and u-law and A-law formatted
files in mono and stereo AU, AIFF, WAV, and PCM file formats.
Compressed formats such as DVI, GSM, and MOD are not supported at this
time. Encoded format such as MP3 are not supported.
MIDI and RMF files are supported but not fully spatialized.
MIDI file playback as BackgroundSound and attenuated Point/ConeSounds
is at least partially supported with the following limitations:
- For this release MIDI data is automatically cached.
- Point/ConeSound nodes that use MIDI MediaContainers can not be
panned or delayed to simulate Interaural Intensity or Time
Differences due to the limitiation of the underlying technology
used in this implementation.
InputStreams as MediaContainers are not supported for Point or
ConeSounds in this implementation.
Doug Twilleager
Java 3D Team
Sun Microsystems
>Subject: Re: [JAVA3D] java 3D Sound nodes or JMF sound ?
>To: [EMAIL PROTECTED]
>MIME-version: 1.0
>Content-transfer-encoding: 7bit
>X-Accept-Language: en-us
>Delivered-to: [EMAIL PROTECTED]
>User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4)
Gecko/20011128 Netscape6/6.2.1
>X-Report-Abuse-To: [EMAIL PROTECTED]
>
>Hello Mojtaba,
>
>>Hmm. I see the problem. This is what I wanted to do:
>>-PointSound takes a MediaContainer
>>-MedicaContainer can take an InputStream
>>-InputStream is an abstract class that can be extended
>>-Extend InputStream to read in JMF audio stream
>>The idea is that the MediaContainer wouldn't know that it's a JMF stream
>>or a regular InputStream that was created from a file.
>>
>I assume Sound classes watch the MediaContainer's Inptstream for one of
>the three formats (AIF, AU, WAV) and tries to load it, but give it a try
>- would be glad to here that it worked..
>
>>Now I know that
>>Doug Twilleager said that it won't work with PointSound but any ideas on
>>why? and where it would fail? So we could take another approach perhaps.
>>I'm certainly not into developing my own PointSound!
>>
>well, generating spacial sound should like applying a filter on it, but
>this must be a run/playing time because on the location parameters,..
>don't know why this should be a problem for streaming media..
>
>greetings
>-Michael Nischt
>
>===========================================================================
>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".