snesgss icon indicating copy to clipboard operation
snesgss copied to clipboard

XM importer misinterprets note volume

Open evenbrenden opened this issue 3 years ago • 0 comments

The "Import notes from XM" feature assumes that volume column values are in the 00-64 range, but they're actually in the 16-80 range:

$10-$50 Set volume Value-$10

Source: http://modland.com/pub/documents/format_documentation/FastTracker%202%20v2.04%20(.xm).txt

As a result, volumes are offset and saturated to the 24-99 range. A vol=-16 before UnitMain.cpp:5729 might do the trick, but I don't have a Borland C++ Builder 2006 at hand.

evenbrenden avatar Feb 07 '22 18:02 evenbrenden