vgm_smp1

From vgmrips


This tool helps to reduce the size of VGMs by removing delays of 1 sample length.

Example

A sequence like this:

Delay 12 - Event A - Delay 1 - Event B - Delay 5

is rounded to:

Delay 12 - Event A - Event B - Delay 6

This tool is for

  • VGMs that use the SN76489 and variants (SEGA PSG, T6W28, etc.)
    • Gains minor size reduction without audible artifacts
  • VGMs converted from DRO files
    • Use with -delay:50
    • Might remove glitches that happen due to frequency writes being split by a 1/1000Hz delay

You should NOT use this tool with

  • Anything not mentioned above
    • This tool is especially dangerous to commands for FM chips

If you have used this tool

... to remove samples from VGMs compressed using vgm_cmp, you should run vgm_cmp on them again. It may reduce the file size by some bytes.