Media Section Index | Page 7
Here is an excerpt from the VRML FAQ: "Java3D is a programming API, and the model it uses is that people will write programs which cause geometry to appear and do things. VRML is scene bas...more
Java 3D has its own version of AWT Canvas object named Canvas3D. Since javax.media.j3d.Canvas3D is derived from java.awt.Canvas, the developer faces the same problems faced when mixing Heavy-Weigh...more
There is a step-by-step procedure on how to use Java3D in an applet at the following site: http://www.j3d.org/faq/browser.html
In your paint() method, add the following hint at the top of the method: ((Graphics2D)g).setRenderingHint (RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); [FAQ Manage...more
Besides Sun's official FAQ at http://java.sun.com/products/java-media/3D/forDevelopers/java3dfaq.html, the Java 3D community site has one available at http://www.j3d.org/faq/.more
Sun maintains a list of implementations available at http://java.sun.com/products/java-media/speech/forDevelopers/jsapifaq.html#implementation. Many of the implementations, like IBM's include exam...more
Java Media Framework may be your best hope - http://java.sun.com/products/java-media/jmf/index.html Plus the new functionality in JDK1.3 may be useful too - http://java.sun.com/j2se/1.3/docs/...more
The basic answer to sound support in Java is to check out the Java Sound API which is part of the Java Media Framework API. If you just want simple audio playback from an applet, check out How...more
Until the 2.0 specification comes out, it looks like providers are few and far between. IBM does have an implementation for the 1.2 specification available from http://www.alphaworks.ibm.com/tech/...more
You get Sun's reference implementation from http://java.sun.com/products/java-media/jmf/index.html.
Here are some useful links for obtaining more information on JTAPI: JTAPI home page@Sun http://java.sun.com/products/jtapi/ Archives of JTAPI-INTEREST@JAVA.SUN.COM http://archives.java.sun.com...more
While it looks like the developers of the class intended for it to support additional media types, the AWT MediaTracker will only track the loading of Image files.
Support for audio recording is not part of the core Java libraries. Instead, you need to use the Java Media Framework (http://java.sun.com/products/java-media/jmf).more
Sure. Just get an AudioClip for each sound and call play() or loop() for each one.
Short of using the Java Media Framework (JMF), there is no support for discovering when an audio file is done playing.