I've seen methods to change Clip volume, however, I am using an AudioClip (code below). Is there a good way to change the volume of the clip? Or would I have to instead use a Clip?
private static AudioClip getcharend() {
File file = new File("charend.wav");
AudioClip clip;
try {
clip = JApplet.newAudioClip(file.toURL());
clip.play();
} catch (Exception e) {
e.getMessage();
return null;
}
return clip;
}