Sound |
JDK 1.2 Contents |
The Java 1.2 platform includes a new sound engine and support for audio in applications as well as applets.The following audio file formats are supported: AIFF, AU and WAV. The following MIDI based song file formats are also supported: TYPE 0 MIDI, TYPE 1 MIDI and RMF.
Java Sound can render 8 or 16 bit audio data, in mono or stereo, with sample rates from 8KHz to 48KHz, that might be found in streaming audio or any of the supported file formats.
This release includes the following new method in the class java.applet.Applet. This method enables applications to create AudioClips without requiring an AppletContext.
public static final AudioClip newAudioClip(URL r)
Copyright © 1995-97 Sun Microsystems, Inc. All Rights Reserved. Please send comments to: javasound@javamedia.eng.sun.com |
Java Software |