Maybe I don’t understand the question. If your audio resources are in a subfolder of the source code, then it should be automatically packed inside of the jar.
For example, I have a package called pfaudio. In it is a class which is used to play wav files. The package also has a subfolder “audio” which has wav files in it.
The code used to get the wav file follows:
URL url = PFAudioMixer.class.getResource(fileName);
AudioInputStream ais = AudioSystem.getAudioInputStream(url);
where fileName = “audio/Boom.wav” and PFAudioMixer is a class in the pfaudio package.
To make the jar, I use Eclipse’s functionality. There is a point in the process where it is possible to check or uncheck specific folders for inclusion in the jar. The default is to include all the subfolders of whatever folder you are in at the time you click on the utility.
A similar thing can be done with graphics resources.
I recall that princec has made the code available for his Titans game, and if I remember correctly, he may have had it setup more like you describe where the files loaded are raw PCM data, not actual wavs. My memory is hazy on that. There was something unusual going on, but I can’t recall just what.
TinySound is a decent alternative to Paulscode, and afaik, Finn is still supporting his project.