ZDoom with OpenAL

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: ZDoom with OpenAL

Re: ZDoom with OpenAL

by Edward-san » Tue Jun 30, 2015 5:04 pm

MarisaKirisame wrote:The only problem I have with OpenAL so far is that all sounds play at the same intensity regardless of distance. Like, a noise on the opposite corner of a large map has the same ear-shattering intensity as if played right next to me.
Vaecrius wrote:Does OpenAL currently ignore volume in A_PlaySound? Or am I just stuck with screwy drivers?
http://forum.zdoom.org/viewtopic.php?f=2&t=48827

Re: ZDoom with OpenAL

by Matt » Tue Jun 30, 2015 4:58 pm

Does OpenAL currently ignore volume in A_PlaySound? Or am I just stuck with screwy drivers?

Re: ZDoom with OpenAL

by Marisa the Magician » Tue Jun 30, 2015 2:58 pm

The only problem I have with OpenAL so far is that all sounds play at the same intensity regardless of distance. Like, a noise on the opposite corner of a large map has the same ear-shattering intensity as if played right next to me.

Re: ZDoom with OpenAL

by Michi » Fri Jun 26, 2015 1:27 pm

Sorry for bumping but I encountered a somewhat weird issue today.

Last time I played with OpenAL sound everything was fine.
But today all of a sudden I had some strange dropouts in the sound.
After some checking I discovered that GZDoom wasn't using the openal32.dll in its local directory but one that got globally installed by some sneaky application I recently installed - and that version seems to be a bit broken. After uninstalling it everything went back to normal.

How is this even possible that a global DLL version can override a local one? I always thought local always takes preference. This behavior suggests to be that the 'official' OpenAL is irreparably broken...

Re: ZDoom with OpenAL

by Marisa the Magician » Thu May 21, 2015 4:10 pm

I don't really know why this talk about OPL synths but... for Zdoom, how about Adplug? It's LGPL.

Re: ZDoom with OpenAL

by randi » Tue May 19, 2015 4:52 pm

Gez wrote:The emulator is written in C. I see no clear licensing though.
That's from MAME. Nothing new there.

Re: ZDoom with OpenAL

by Gez » Tue May 19, 2015 1:56 pm

ibm5155 wrote:Ehm, why do we need to add opl2 support? isn't it the same sound as opl3 but just lack some reverb effects?
Technically Doom used OPL2. Doesn't matter really, since OPL3 is perfectly backward compatible with OPL2.
Graf Zahl wrote:Written in Pascal, making it useless.
The emulator is written in C. I see no clear licensing though.

Re: ZDoom with OpenAL

by Graf Zahl » Tue May 19, 2015 1:44 pm

With a cross platform Pascal compiler that understands the extended syntax it would be possible. Good luck finding such a compiler...

Re: ZDoom with OpenAL

by ibm5155 » Tue May 19, 2015 1:25 pm

it could use a tool like this http://garret.ru/ptoc/Readme.htm to convert pascal to c :p
at least their tool to convert SDL to pascal worked, but can't it mix languages? at least I know if you make a C# project you can use c and other languages on it too, but idk about C++

Re: ZDoom with OpenAL

by Graf Zahl » Tue May 19, 2015 12:34 pm

Written in Pascal, making it useless.

Re: ZDoom with OpenAL

by ibm5155 » Tue May 19, 2015 12:23 pm

http://www.adlibtracker.net/

idk why so many opl synths in the same software, adlib tracker is the best opl3 player I ever tested it works fine in dos with real opl3 and also with emulated opl3 that sounds great too.
Ehm, why do we need to add opl2 support? isn't it the same sound as opl3 but just lack some reverb effects?

Re: ZDoom with OpenAL

by Graf Zahl » Tue May 19, 2015 9:02 am

I wonder what makes this code so irreplaceable. It can't be the only OPL player around. And since it has already been expanded to work with 4 different cores it might be interesting how much original code is still left.

Re: ZDoom with OpenAL

by Gez » Tue May 19, 2015 8:47 am

First, ZDoom already has plenty of OPL3 synths. One derived from DOSBox (and originally from ADLIBEMU), one based on Vintage Tone, and the last called Nuked OPL3. So, sure, what's one more, we could have Adlib Tracker II as well (provided there's no licensing issue) but it's not really a priority I guess. The MAME synth is an OPL2 synth by the way.

Secondly, the biggest issue with the OPL code comes not from the MAME code, but from MUSLIB's awful license. What would be useful would be to find where Vladimir Arnost hangs around nowadays and ask him if he'd accept re-releasing MUSLIB under a saner license, like LGPL.

Re: ZDoom with OpenAL

by ibm5155 » Tue May 19, 2015 8:12 am

why not use Adlib Tracker II OPL3 synth? it's pretty near to a real hardwaren :)

Re: ZDoom with OpenAL

by Kinsie » Sat May 16, 2015 8:49 am

I'm not quite sure where to put this, so I'll throw it here since it's kind of relevant to one of the reasons for OpenAL development: MAME is working on re-licensing itself under an open-source license - BSD3 for core, weighing up BSD3, GPL2 and LGPL2 for cores and drivers. ZDoom uses MAME's OPL synth stuff. There's a good possibility that once this dust clears, another checkbox can be ticked off on the ZDoom licensing nightmare.

Top