YM2612 / TX81Z Patch Compatibility
Posted: Mon Oct 22, 2012 4:24 am
I've been writing a program to play YM2612 VGM files on my Yamaha TX81Z (based on the YM2414) . I've gotten far enough that I can get songs playing fine and some of them sound quite good but the instruments don't sound quite right.
The register set for the YM2612 seems almost identical to the TX81Z midi parameters with a few exceptions.
The one I am struggling with at the moment is the output level of each operator (similarly the sustain level of the envelopes). The TX81Z uses a 0-99 with 99 being the maximum level. The YM2612 use 0-127 with 0 being being maximum level. I can't come up with a good way of mapping this parameter to get the sounds to match.
I'm pretty sure the YM2414 uses the same 0-127 attenuation as the register value and the cpu in the TX81Z converts it from a more user friendly 0-99.
I can get it to sound reasonably close with with various non-linear mappings but I would prefer to use the actual method if anyone knows it. It should be the same one all the DX series synthesizers use.
The register set for the YM2612 seems almost identical to the TX81Z midi parameters with a few exceptions.
The one I am struggling with at the moment is the output level of each operator (similarly the sustain level of the envelopes). The TX81Z uses a 0-99 with 99 being the maximum level. The YM2612 use 0-127 with 0 being being maximum level. I can't come up with a good way of mapping this parameter to get the sounds to match.
I'm pretty sure the YM2414 uses the same 0-127 attenuation as the register value and the cpu in the TX81Z converts it from a more user friendly 0-99.
I can get it to sound reasonably close with with various non-linear mappings but I would prefer to use the actual method if anyone knows it. It should be the same one all the DX series synthesizers use.