Any reason why I can’t hear footsteps on the current CVS version of TestSoundGraph? Can anyone else hear them? I can hear the background but not the footsteps.
seems to work ok for me… although I have to practically walk into the cube before I hear much. Also have to have the volume up. We could increase the gain perhaps. TestSoundGraph is also an old test btw, shrug
It also requires EAX support I believe. Does your soundcard support EAX?
TestSoundGraph works ok here on linux ( so no EAX seem to be required )
Edit: Cep have You tried to get closer to the MonkeyCube ?
… but the two other sound tests don’t work.
Is this because EAX is missing?
regards
Martin
Here’s the output:
TestProgrammableSound:
25.07.2004 14:41:13 com.jme.app.BaseGame start
INFO: Application started.
25.07.2004 14:41:13 com.jme.system.PropertiesIO
INFO: PropertiesIO created
25.07.2004 14:41:13 com.jme.system.PropertiesIO load
INFO: Read properties
25.07.2004 14:41:15 com.jme.system.lwjgl.LWJGLDisplaySystem
INFO: LWJGL Display System created.
25.07.2004 14:41:15 com.jme.system.PropertiesIO save
INFO: Saved properties
25.07.2004 14:41:15 com.jme.system.lwjgl.LWJGLDisplaySystem
INFO: LWJGL Display System created.
25.07.2004 14:41:16 com.jme.renderer.lwjgl.LWJGLRenderer
INFO: LWJGLRenderer created. W: 800H: 600
25.07.2004 14:41:16 com.jme.renderer.AbstractCamera
INFO: Camera created.
25.07.2004 14:41:16 com.jme.util.lwjgl.LWJGLTimer
INFO: Timer resolution: 1000000 ticks per second
25.07.2004 14:41:16 com.jme.scene.Node
INFO: Node created.
25.07.2004 14:41:16 com.jme.scene.Node
INFO: Node created.
25.07.2004 14:41:16 com.jme.scene.Node attachChild
INFO: Child (FPS label) attached to this node (FPS node)
25.07.2004 14:41:16 com.jme.sound.lwjgl.SoundSystem initializeOpenAL
INFO: OpenAL initalized!
25.07.2004 14:41:16 com.jme.sound.lwjgl.SoundSystem initalizeEAX
INFO: Initalizing EAX
25.07.2004 14:41:16 com.jme.sound.lwjgl.SoundSystem initalizeEAX
WARNUNG: Failed to Initialize EAX
org.lwjgl.LWJGLException: EAX instance could not be created.
at org.lwjgl.openal.eax.EAX.create(Unknown Source)
at com.jme.sound.lwjgl.SoundSystem.initalizeEAX(Unknown Source)
at com.jme.sound.lwjgl.SoundSystem.(Unknown Source)
at com.jme.sound.SoundAPIController.getSoundSystem(Unknown Source)
at jmetest.sound.TestProgrammableSound.simpleInitGame(Unknown Source)
at com.jme.app.SimpleGame.initGame(Unknown Source)
at com.jme.app.BaseGame.start(Unknown Source)
at jmetest.sound.TestProgrammableSound.main(Unknown Source)
25.07.2004 14:41:17 com.jme.scene.Node attachChild
INFO: Child (Box) attached to this node (rootNode)
java.lang.NullPointerException
at com.jme.sound.SoundPool.getBuffer(Unknown Source)
at com.jme.sound.SoundPool.compile(Unknown Source)
at jmetest.sound.TestProgrammableSound.simpleInitGame(Unknown Source)
at com.jme.app.SimpleGame.initGame(Unknown Source)
at com.jme.app.BaseGame.start(Unknown Source)
at jmetest.sound.TestProgrammableSound.main(Unknown Source)
25.07.2004 14:41:17 com.jme.app.SimpleGame cleanup
INFO: Cleaning up resources.
25.07.2004 14:41:17 com.jme.app.BaseGame start
INFO: Application ending.
TestSequencedSound:
25.07.2004 14:43:41 com.jme.app.BaseGame start
INFO: Application started.
25.07.2004 14:43:41 com.jme.system.PropertiesIO
INFO: PropertiesIO created
25.07.2004 14:43:41 com.jme.system.PropertiesIO load
INFO: Read properties
25.07.2004 14:43:43 com.jme.system.lwjgl.LWJGLDisplaySystem
INFO: LWJGL Display System created.
25.07.2004 14:43:43 com.jme.system.PropertiesIO save
INFO: Saved properties
25.07.2004 14:43:43 com.jme.system.lwjgl.LWJGLDisplaySystem
INFO: LWJGL Display System created.
25.07.2004 14:43:44 com.jme.renderer.lwjgl.LWJGLRenderer
INFO: LWJGLRenderer created. W: 800H: 600
25.07.2004 14:43:44 com.jme.renderer.AbstractCamera
INFO: Camera created.
25.07.2004 14:43:44 com.jme.util.lwjgl.LWJGLTimer
INFO: Timer resolution: 1000000 ticks per second
25.07.2004 14:43:44 com.jme.scene.Node
INFO: Node created.
25.07.2004 14:43:44 com.jme.scene.Node
INFO: Node created.
25.07.2004 14:43:44 com.jme.scene.Node attachChild
INFO: Child (FPS label) attached to this node (FPS node)
25.07.2004 14:43:44 com.jme.sound.lwjgl.SoundSystem initializeOpenAL
INFO: OpenAL initalized!
25.07.2004 14:43:44 com.jme.sound.lwjgl.SoundSystem initalizeEAX
INFO: Initalizing EAX
25.07.2004 14:43:44 com.jme.sound.lwjgl.SoundSystem initalizeEAX
WARNUNG: Failed to Initialize EAX
org.lwjgl.LWJGLException: EAX instance could not be created.
at org.lwjgl.openal.eax.EAX.create(Unknown Source)
at com.jme.sound.lwjgl.SoundSystem.initalizeEAX(Unknown Source)
at com.jme.sound.lwjgl.SoundSystem.(Unknown Source)
at com.jme.sound.SoundAPIController.getSoundSystem(Unknown Source)
at jmetest.sound.TestSequencedSound.simpleInitGame(Unknown Source)
at com.jme.app.SimpleGame.initGame(Unknown Source)
at com.jme.app.BaseGame.start(Unknown Source)
at jmetest.sound.TestSequencedSound.main(Unknown Source)
25.07.2004 14:43:45 com.jme.scene.Node attachChild
INFO: Child (Box) attached to this node (rootNode)
25.07.2004 14:43:45 com.jme.scene.Node attachChild
INFO: Child (Box) attached to this node (rootNode)
25.07.2004 14:43:45 com.jme.scene.Node attachChild
INFO: Child (Box) attached to this node (rootNode)
25.07.2004 14:43:45 com.jme.scene.Node attachChild
INFO: Child (Box) attached to this node (rootNode)
25.07.2004 14:43:45 com.jme.sound.scene.SoundNode
INFO: Node created.
java.lang.NullPointerException
at com.jme.sound.SoundPool.getBuffer(Unknown Source)
at com.jme.sound.scene.SphericalSound.(Unknown Source)
at jmetest.sound.TestSequencedSound.simpleInitGame(Unknown Source)
at com.jme.app.SimpleGame.initGame(Unknown Source)
at com.jme.app.BaseGame.start(Unknown Source)
at jmetest.sound.TestSequencedSound.main(Unknown Source)
25.07.2004 14:43:45 com.jme.app.SimpleGame cleanup
INFO: Cleaning up resources.
25.07.2004 14:43:45 com.jme.app.BaseGame start
INFO: Application ending.
Actually, it looks like you are getting a null pointer in the code that loads the sound file… Which would happen because those sound files pointed to in arman’s test are not in the correct directory. (they would bloat the jars, maybe thats why he put them in the other data dir.)