10 Commits

Author SHA1 Message Date
AliceLR
ef6f352892 Replace bidirectional loop unrolling with reverse sample rendering.
Fixes numerous issues in the software renderer caused by bidi
sample unrolling and the messes and hacks it required elsewhere:

* Bidirectional looped samples no longer take up to twice as much RAM.
* IT sustain loops no longer require duplicate sample data.
* IT bidirectional sustain loops should work properly now.
* Other formats that want to use sustain loops should no longer require
  sample duplication hacks.
* The software mixer should no longer occasionally skip output samples
  when the voice position passes the end of the sample.
* Added regression test to ensure both XM and IT bidirectional sample
  loops render the same as their forward loop counterparts.
2021-12-26 00:44:58 -07:00
AliceLR
d80946d046 Move interpolation wraparound handling out of sample loader. 2021-12-22 08:26:04 -07:00
Claudio Matsuoka
b923064605 [test] Fix tests using MDL c5spd
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2016-08-21 23:44:41 -03:00
Claudio Matsuoka
79717f34c6 Add string terminator to MDL instrument names
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2015-10-26 21:45:17 -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
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
cbadbfb882 [test] Add MDL 1.1 format test
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2014-01-14 17:36:52 -02:00
Claudio Matsuoka
a8f1d91179 Fix instrument name setting in MDL loader
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2014-01-09 11:01:47 -02:00
Claudio Matsuoka
fa49d9fbf9 [test] Add Digitrakker loader test
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2013-10-04 12:58:52 -03:00