Playing Sound in Java
This isn’t much of a post, but I’ll put it here for anyone (especially a current tutoring student) who needs it. The SoundClip class I’ve provided can be used to load and play an audio file from within the current JAR’s res folder. Usage In this example, the code will load the file “res/sounds/brick-hit.wav” and… Read More »