jpcima / ADLplug

FM Chip Synthesizer — OPL & OPN — VST/LV2/Standalone
Boost Software License 1.0
435 stars 22 forks source link

RetroWave OPL3 #91

Open ferro4prez opened 1 year ago

ferro4prez commented 1 year ago

Hi! Is it realistic to add the RetroWave OPL3 hardware to the list of "emulations"? dosbox-x did this for example - I believe they took whatever OPL3-specific commands were going to the Nuked emulation and simply redirected them to the RetroWave - as it is a literal real OPL3.

Wohlstand commented 2 months ago

This task depends on the main libADLMIDI project. I actually doing some work in the parallel branch to implement such support. The thing I did, works, but the real-time player isn't ideal yet, and has unstable timer yet, and I trying to resolve it. It's required to have a properly implemented timer to properly supply events to process various stuff like software vibrato and portamento.

ferropop commented 2 months ago

This would be so exciting and useful Wohlstand!

I wonder if anyone can connect on this topic, that could help resolve?

Wohlstand commented 2 months ago

Just a working demo on Linux (on macOS currently an issue at least on my end, because freaking delay function waits much longer than requested, but the same code on Linux works accurate like a swiss clock). On Windows I never tested, first I should resolve the macOS problem first. Such timer code is very important to be implemented at ADLJack/AdlRt, and at the ADLPlug thing to properly supply all the commands to hardware in a time.

https://github.com/user-attachments/assets/1438e9dc-ae5b-4b5c-ba6d-c72503f982de