do these sounds work for you?

I started writing the sound stuff for my game engine tonight and I decided to go with Java Sound/Jorbis (since its for applets). I came here to see what was going on with Java Sound and the first 10 threads or so scared me :o I tried using the workaround posted by yuri, but there is no place where I could even use a Mixer object in my code since I’m playing my sounds a bit different (based on examples from the book: Developing Games in Java). So I was just wondering if I could get a few people to test the applet on their computers so I can try and fix any problems that may occur (BTW, it has worked on several computers with winxp + jdk1.5 or 1.4.2_05 so far). here is the link: http://www.cyntaks.com/projects/wjge/test.html P and O will play sounds. Let me know what java version and OS you are using if it crashes or doesn’t play, thanks!

Problems with my configuration : win98se, jdk1.5
sounds are “sliced” (like with my groovebox 505 preferred FX), but i don’t think it’s what is expected…

I’ve seen this sometimes when CPU is overloaded (my pc is getting older and older).

Lilian

hmm, perhaps that is just the strain of the program on your cpu. Repainting a 640x480 background and 200 sprites 50 times a second may be a bit too much for your processor. Area your fps extremely low (shown in the top left)? that would tell me for sure if thats the only problem.

49-51 fps… doesn’t seem to low… but vorbis is cpu-intensive and the computer I test on is only at 800Mhz

Lilian

yeah, I cap it at 50 so its not the rest of the demo… I guess I’m going to have to be careful about where I use sounds if its using that much cpu. For anyone else that wants to test it, here is a slightly more entertaining demo: http://www.cyntaks.com/projects/wjge/collisiontest.html