File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JavaFX and the fly likes JavaFX and sound Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "JavaFX and sound" Watch "JavaFX and sound" New topic

JavaFX and sound

Darren Brooks
Ranch Hand

Joined: Dec 29, 2005
Posts: 32
Hi, when I went to view the examples ( ), I could not hear any sound. I recently created a java-based version of the old Asteroids game using the java midi classes and had to download the midi file and create and place it in a sound directory in the right location in my java directory. I know my java is up to date on my computer, so will this be an issue for creating JavaFX applications with midi? Will I have to somehow have the users download the midi file - I had to have my friend do this in order to play the game I made.

Gail Anderson
Ranch Hand

Joined: Jul 07, 2009
Posts: 44
Hi Darren-

We've had some reports similar to yours where no sound is heard. We are looking into to this. I'll let you know!

What OS are you running?
Darren Brooks
Ranch Hand

Joined: Dec 29, 2005
Posts: 32
Forgive me if this ends up being a double post -

My OS is both XP and Vista. I believe I had to download a midi file and place it in the correct directory. I guess java doesn't automatically include the midi file. There's a java site to get one of three differently sized midi files. I had no problem with .wav files. I can see that a solution would be to have a program installer create the directory and place the midi file, but what about applets?

Jonathan Bowen

Joined: Dec 16, 2009
Posts: 1

How the room sound is all to do with the reverb effect.

The size, shape, surface materials etc. etc. of the room would all affect the reflections.

Find some realistic reverb plugins and go through the presets - i.e. not plate or spring reverb, although this might work for you.

Free Sound Effects
I agree. Here's the link:
subject: JavaFX and sound
It's not a secret anymore!