If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Is the Java Sound API too complex?

I've been looking at the Java Sound API, with an eye to playing back sound files during the course of an application. It seems way too complicated for that purpose, but AudioClip is too simplistic, so I guess I'm stuck with Java Sound.

Would you agree that Java Sound is badly designed for the simple purpose of playing sound files?

That's kind of my point. It wasn't designed for playing sound files. AudioClip is inadequate, so you're left with no basic sound facilities in Java? As a programmer, looking through the Java APIs for sound reproduction facilities, I expected something labelled "sound API" to deal with the basics. I wouldn't argue that flexibility is a bad thing, except where it also hits usability. It is possible to achieve both, but that doesn't seem to have been attempted here.