ZDoom with OpenAL

Moderator: GZDoom Developers

Gez
 
 
Posts: 17939
Joined: Fri Jul 06, 2007 3:22 pm

Re: ZDoom with OpenAL

Post by Gez »

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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49228
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: ZDoom with OpenAL

Post by Graf Zahl »

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.
User avatar
ibm5155
Posts: 1268
Joined: Wed Jul 20, 2011 4:24 pm
Contact:

Re: ZDoom with OpenAL

Post by ibm5155 »

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?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49228
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: ZDoom with OpenAL

Post by Graf Zahl »

Written in Pascal, making it useless.
User avatar
ibm5155
Posts: 1268
Joined: Wed Jul 20, 2011 4:24 pm
Contact:

Re: ZDoom with OpenAL

Post by ibm5155 »

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++
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49228
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: ZDoom with OpenAL

Post by Graf Zahl »

With a cross platform Pascal compiler that understands the extended syntax it would be possible. Good luck finding such a compiler...
Gez
 
 
Posts: 17939
Joined: Fri Jul 06, 2007 3:22 pm

Re: ZDoom with OpenAL

Post by Gez »

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.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: ZDoom with OpenAL

Post by randi »

Gez wrote:The emulator is written in C. I see no clear licensing though.
That's from MAME. Nothing new there.
User avatar
Marisa the Magician
Banned User
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: ZDoom with OpenAL

Post by Marisa the Magician »

I don't really know why this talk about OPL synths but... for Zdoom, how about Adplug? It's LGPL.
Michi
Posts: 76
Joined: Mon Mar 28, 2005 10:09 am

Re: ZDoom with OpenAL

Post by Michi »

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...
User avatar
Marisa the Magician
Banned User
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: ZDoom with OpenAL

Post by Marisa the Magician »

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.
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Re: ZDoom with OpenAL

Post by Matt »

Does OpenAL currently ignore volume in A_PlaySound? Or am I just stuck with screwy drivers?
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: ZDoom with OpenAL

Post by Edward-san »

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
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”