Media Section Index | Page 8
Sure. Just get an AudioClip for each sound and call play() or loop() for each one.
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
The short answer is no. The libraries are part of the standard Java 2 platform release (starting with version 1.2). Since they modify core classes in the java.awt.* libraries, you can not pull the...more
Starting with the 1.2 release of Java, you can use the newAudioClip() method of Applet to get an AudioClip to play in an application. File file = new File("bark.wav"); AudioClip clip = Applet.new...more