Wohlstand / libOPNMIDI

A Software MIDI Synthesizer library with OPN2 (YM2612) emulator
GNU Lesser General Public License v3.0
96 stars 6 forks source link

mid2vgm volume is too low #113

Open denjhang opened 3 years ago

denjhang commented 3 years ago

Is it possible to provide an option to increase the VGM volume.

Wohlstand commented 3 years ago

Theoretically, it's possible to scale all note volumes up to maximum, that should be a sort of post-processing. Right now, the output is the same as libOPNMIDI plays itself. Right now, you can increase volume if you will edit your MIDI file by maximizing all note and controllers volumes (suggested to do with Sekaiju, there is a very convenient way for mass changes), and the result will be louder. The maximum possible volume is volume, 127, the velocity of note 127, and expression 127. The final note volume at the chip (and at VGM) is computed from this. (The OPN2 chip receives the single value for the note volume, that appears at EVERY note at resulted VGM file)