Media Section Index
You should register a RenderingErrorListener with your VirtualUniverse. The registration method is static. When the error occurs, you're sent a RenderingError to find out what the problem is.more
There are three sound-related classes: BackgroundSound for an ambient sound, PointSound for a sound whose source is located at a particular point, and ConeSound for a PointSound aimed in a particu...more
JOAL is the Java API wrapper for OpenAL, the open audio library, a cross-platform library for 3D or 2D sound. For more information, visit https://joal.dev.java.net/.more
You download the source via CVS from the three separate subprojects: j3d-core (https://j3d-core.dev.java.net/) j3d-core-utils (https://j3d-core-utils.dev.java.net/) vecmath (https://vecmath.dev....more
java.net offers early access to the SaverBeans Screensaver SDK (https://jdic.dev.java.net/documentation/incubator/screensaver/ for just such a purpose. It doesn't work on the Mac, but does work on...more
JOGL is the Java Binding for the OpenGL API, formed from JSR-231 (http://jcp.org/en/jsr/detail?id=231). The project homepage is https://jogl.dev.java.net/.more
JOGL is the Java Binding for the OpenGL API, formed from JSR-231 (http://jcp.org/en/jsr/detail?id=231. The project homepage is https://jogl.dev.java.net/.more
LWJGL is the Lightweight Java Game Library found at http://lwjgl.org/. It offers an alternative to the Java 3D API that goes after the J2ME space.
Windows (x86) Linux (x86) Linux (AMD64) Linux (Power PC) Linux (IA64 Itanium) Mac OS X (Universal, requires JSR-231/JOGL) Solaris (SPARC) Solaris (x86) more
Player player = Manager.createPlayer("http://example.com/example.midi"); player.start();
That would be with the TempoControl. Get it from the Player and call the setTempo() method, passing in a value for the number of milli-beats per minute.more
The Manager has a static playTone() method to generate tones. You can also create a Manager.TONE_DEVICE_LOCATOR player object with Player player = Manager.createPlayer(Manager.TONE_DEVICE_LOCATOR)...more
You need to know the mime type of the audio file and pass it as a stream to the Player object. InputStream is = getClass().getResourceAsStream("/example.wav"); Player player = Manager.createPlaye...more
This is similar to playing an audio file but requires you to get the control to display the video on. You need to see the results, not just hear them. InputStream is = getClass().getResourceAsStr...more
Use the locator string of "capture://video" to create the Player, then get the VideoControl for the viewfinder, and finally VideoControl.getSnapshot(String type) to take the picture.