Advertisement

Sound Engine in Java

Started by April 09, 2003 12:54 PM
-1 comments, last by rtigame 21 years, 7 months ago
Dear all, I would like to implement a sound engine for my game using Java. However, after visiting the java.sun.com, It seems that there are at least 3 ways to do it. 1. using JDK 1.2 (making use of java,applet.AudioClip) 2. using Java Sound API 3. using Java Media Framework (JMF) ...am I correct? I have tested the sample code for (1) and (2). It seems that the sound given out by (1) is too soft and cant be controlled. I also read that (2) is the lower level control of sound while (3) is the higher level implementation. So my question is: if I need only to play, loop and stop clip/clips at specific times in my game, which of the 3 above is the best choice for my Sound Engine? Any performance issue needed to be considered?

This topic is closed to new replies.

Advertisement