OPL Music emulator

Talk about the mods you'd like to see in Daggerfall Unity. Give mod creators some ideas!
Post Reply
User avatar
Nash
Posts: 11
Joined: Fri Jun 08, 2018 11:19 am
Location: Kuala Lumpur, Malaysia
Contact:

OPL Music emulator

Post by Nash »

Hi, I don't know the internal workings of Unity but would it be possible to add an optioal OPL music renderer? I know some people grew up playing DF with those cheap Soundblasters and would love to hear the music that way.

This is of course a matter of personal preference but I feel the music sounds better in the lo-fi OPL version. :D Here's how it sounds like: https://www.youtube.com/watch?v=Fwz1DFF1yKE

As for actually usable OPL code, here some some suggestions:

1) Ken Silverman's ADLIBEMU (LGPL): http://www.advsys.net/ken/

2) Robson Cozendey's OPL emulator (LGPL): http://opl3.cozendey.com/
Nash Muhandes

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: OPL Music emulator

Post by Interkarma »

Welcome to the forums Nash. :)

There should be no need to change the entire software synth layer for this. Have you tried just dropping in an OPL3 soundfont like this one?

https://github.com/Mindwerks/opl3-soundfont

You can either use a custom soundfont or replace music entirely with your own digital tracks in .ogg format. This means you can render the MIDI using any hardware/softsynth of your choice and use those tracks in the game instead. There should be enough flexibility in there to find or build something matching your preferences.

Post Reply