Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (581)
games submitted by our members
Games in WIP (500)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  stereo panning in OpenAL broken  (Read 2157 times)
0 Members and 1 Guest are viewing this topic.
Offline 65K
« Posted 2012-07-15 19:09:44 »

Anybody using LWJGL 2.8.4 with the included OpenAL library ?

Just wondered why sounds are no longer placed correctly in stereo image, sounds snap completely left/right when positioned out of center.
At first I thought I misconfigured some parameters but after rolling back to OpenAL of LWJGL 2.8.3 sounds are placed again as expected.
I also use Paul's SoundSystem but that shouldn't matter, I think.

Offline gouessej

« In padded room »



TUER


« Reply #1 - Posted 2012-07-15 20:09:47 »

Maybe look at the change logs of LWJGL.

Offline davedes
« Reply #2 - Posted 2012-07-15 21:12:47 »

Probably because LWJGL recently switched to OpenAL-Soft.

I've never found OpenAL panning to be very reliable. Even before 2.8.4 I would get a very harsh "snap" (on my Mac) when the position would be near center. For reliable and smooth left/right panning you might want to look into a software mixer like TinySound. Another idea, which is more of a hack/workaround (although I have had good results on a couple of machines) is to play the sounds in sync on two different sources, one positioned left of the listener and one positioned right, and then emulate the "panning" by changing their volumes. This lead to a much smoother panning on my machine, but as I said it's an ugly hack and not a proper solution. Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gouessej

« In padded room »



TUER


« Reply #3 - Posted 2012-07-15 22:44:22 »

For reliable and smooth left/right panning you might want to look into a software mixer like TinySound.
Why wouldn't panning work with Paul Lamb Sound Library? Is there a way of using OpenAL-Soft only when OpenAL is not available with LWJGL?

Offline kappa
« League of Dukes »

JGO Kernel


Medals: 70
Projects: 15


★★★★★


« Reply #4 - Posted 2012-07-16 00:23:28 »

From the information above, its likely an issue related to the new OpenAL-Soft and not a LWJGL one. There was recently a similar bug report on the LWJGL forums and the following reply might be helpful.

http://goo.gl/Pbc4l
Offline gouessej

« In padded room »



TUER


« Reply #5 - Posted 2012-07-17 21:31:59 »

From the information above, its likely an issue related to the new OpenAL-Soft and not a LWJGL one. There was recently a similar bug report on the LWJGL forums and the following reply might be helpful.

http://goo.gl/Pbc4l
Thank you. I hope this bug will be fixed before the OpenALSoft fallback becomes fully usable in JOAL.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (63 views)
2014-04-15 18:08:23

BurntPizza (61 views)
2014-04-15 03:46:01

UprightPath (74 views)
2014-04-14 17:39:50

UprightPath (57 views)
2014-04-14 17:35:47

Porlus (75 views)
2014-04-14 15:48:38

tom_mai78101 (100 views)
2014-04-10 04:04:31

BurntPizza (160 views)
2014-04-08 23:06:04

tom_mai78101 (255 views)
2014-04-05 13:34:39

trollwarrior1 (208 views)
2014-04-04 12:06:45

CJLetsGame (215 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!