13 Commits

Author SHA1 Message Date
AliceLR
d80946d046 Move interpolation wraparound handling out of sample loader. 2021-12-22 08:26:04 -07:00
AliceLR
912bc13f1d Fix IT sample global volume and sample vibrato.
* IT sample global volume was being ignored in sample mode due to
  QUIRK_INSVOL not being enabled. QUIRK_INSVOL is now unconditionally
  enabled for IT modules.
* IT sample global volume was being ignored in instrument mode for
  IT 1.x modules due to QUIRK_INSVOL not being enabled for IT 1.x
  modules. QUIRK_INSVOL is now unconditionally enabled for IT modules.
* Fixed an incorrect bitshift on IT sample vibrato depth that resulted
  in IT sample vibrato being very weak.
* Sample vibrato rate is now rounded instead of truncated. The LFO
  period size should probably eventually be expanded instead.
2020-11-10 21:43:52 -07:00
Claudio Matsuoka
56600b5251 [test] Update IT load test reference data
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2015-03-28 09:52:49 -03:00
Claudio Matsuoka
9b31fa1ed3 [test] Set random seed to make random tests deterministic
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2015-02-18 10:31:13 -02:00
Claudio Matsuoka
fa573f9622 Implement memory for IT volume column volume slides
According to the OpenMPT VolColMemory.it test case:

"Volume column commands a, b, c and d (volume slide) share one effect memory,
 but it should not be shared with Dxy in the effect column. Furthermore,
 there is no unified effect memory across different kinds of volume column
 effects."

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2015-02-17 16:18:13 -02:00
Claudio Matsuoka
c53f1cf947 [test] Update format loader tests
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2015-01-29 22:26:01 -02:00
Claudio Matsuoka
73e50b74a8 [test] Fix disabled pan reference data for IT test
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2014-04-10 20:49:20 -03:00
Claudio Matsuoka
02028b87ef Remove master pan effect and channel data
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2014-04-10 12:17:46 -03:00
Claudio Matsuoka
63b998224c Revert "Renumber effect macros"
This reverts commit 9f896e1c19.
2014-02-28 19:40:19 -03:00
Claudio Matsuoka
9f896e1c19 Renumber effect macros
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2014-02-28 17:51:57 -03:00
Claudio Matsuoka
5b01eec968 [test] Update test data for new S3M arpeggio effect
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2014-02-22 09:13:00 -03:00
Claudio Matsuoka
09ad28be4b Fix MDL fadeout setting
Rescale player fadeout to 0x10000 range (from 0x8000), double fadeout
values from XM and IT loaders.

Note: it seems that GAL4 and IMF loaders are ignoring fadeout values,
      check this!

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2014-01-13 15:44:01 -02:00
Claudio Matsuoka
5507ddb2f4 [test] Add test for IT format loader
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2013-09-29 14:41:01 -03:00