Skip to content

Looking for 4-op patches

Anything and everything

Technical discussion which is not directly related to VGM files. Talk about Hardware and Software.

Moderator: Staff

Post by RandomName »

vgm2opm with source posted on that same forum at https://www.kvraudio.com/forum/viewtopi ... 4&start=90

Post by vampirefrog »

Thanks. it seems it's not written by Shiru, but by "Sam", and I can't really find his geocities page. Anyway, i took at look at his code, it seems fairly well written. It avoids creating unnecessary voices by ignoring fade-outs, which work by adding to the TL value of all the output operators, and in order to determine which operators are directly connected to the output, he uses a mask table. This is how sound drivers do it as well. Btw, the TL value is actually attenuation, not volume, so adding to it decreases the volume.

Downsides are that it's windows only and YM2612 only.

Post by RandomName »

Actually, vgm2opm was posted above the link for VOPM and vgm2opm.zip has the source code by Shiru.

http://www.mediafire.com/download/ui869 ... gm2opm.zip
Post Reply