OPL Music emulator

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

OPL Music emulator

Post by Nash » Fri Jun 08, 2018 1:14 pm

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
Posts: 4224
Joined: Sun Mar 22, 2015 1:51 am

Re: OPL Music emulator

Post by Interkarma » Fri Jun 08, 2018 7:41 pm

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?


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