Nuked-OPL3
Nuked-OPL3 copied to clipboard
Odd panning extension implementation
The stereo extension is a rather odd way of accomplishing full range panning, if you don't mind me saying. What's wrong with sending the panning value 0x30 to every channel, so left and right are equal, then adjust the returning sample? That could be done by the calling program rather than handled within Nuked.
Disregard this. Adjusting the returning sample would effect all channels together, not individually.
However, what's wrong with a hard coded panning LUT, rather than creating one dynamically? I use one in Midiplay if you want to use that. MIDI gives 7 bit values for panning.