Veikko Sariola
9546574f13
Add regression test for AUX output.
2020-05-03 11:21:09 +03:00
Veikko Sariola
53a1be9b61
Refactor all values to have a universal support for modulations.
...
The modulation is now always added during value transformation.
With this, a lot of *_MOD defines could be removed.
The waveform for some tests changed slightly, because when the
value is saved to memory after modulating it, there is some
rounding errors.
2020-05-03 10:41:24 +03:00
Veikko Sariola
660da68a48
Add regression test for polyphony (MAX_VOICES = 2).
2020-05-01 08:51:43 +03:00
Veikko Sariola
f97cea2a17
Refactor 4klang to use cross-platform defines and 4klang.asm & .inc to work more like .c and .h.
2020-04-30 13:36:22 +03:00
Veikko Sariola
09c497fef6
Add regression tests for delay modulations.
2020-04-25 11:29:14 +03:00
Veikko Sariola
7170b049d3
Add regression tests for VCF opcode and its modulations.
2020-04-24 22:51:42 +03:00
Veikko Sariola
4b9b1710eb
Add regression tests for delay (DLL) opcode.
2020-04-23 20:06:41 +03:00
Veikko Sariola
a49fba060c
Add regression tests for distortion, including sample-and-hold and modulations.
2020-04-18 21:21:21 +03:00
Veikko Sariola
41222b09a7
Move all raw audio files related to tests into subfolders, to have slightly more clean folder structure and to avoid mixing source files and data files.
2020-04-18 19:47:16 +03:00
Veikko Sariola
886ee85a09
Improve CMakeLists.txt for tests, so it is easier to define test prerequirements.
...
Also added a few missing prerequirements.
2020-04-18 13:16:33 +03:00
Veikko Sariola
d9f4def1d4
Add regression tests for vco modulations (cm, dm, fm, gm, pm, sm and tm)
2020-04-17 19:36:09 +03:00
Veikko Sariola
cc2babde9c
Add regression test for envelope modulation.
2020-04-17 18:21:37 +03:00
Veikko Sariola
462521518f
Add regression tests for FST and FSTG opcodes.
2020-04-16 22:05:50 +03:00
Veikko Sariola
9c7db45a46
Rewrote parts of the test renderer to read the whole data from disk in one fread.
2020-04-16 14:05:17 +03:00
Veikko Sariola
374be5256e
Add regression test for VCO opcode, lfo variant.
2020-04-16 13:37:30 +03:00
Veikko Sariola
83e3ab165e
Add test for 16-bit output, also moving the testname for test_renderer into compiler definition to avoid rewriting it everytime.
2020-04-15 23:17:03 +03:00
Veikko Sariola
cff4538b8c
Make the CMakeLists.txt for the tests a slightly more sensible; the data files are copied after every build if they are newer.
2020-04-15 21:43:22 +03:00
Veikko Sariola
d6798bdae3
Add regression test for VCO opcode (oscillator) for testing stereo sound creation.
2020-04-14 23:37:15 +03:00
Veikko Sariola
34a98ebc4a
Add regression test for VCO opcode (oscillator): gate, noise, pulse and trisaw variants.
2020-04-14 23:11:10 +03:00
Veikko Sariola
38499e01bb
Add regression test for VCO opcode (oscillator), sine wave variant.
2020-04-14 22:23:09 +03:00
Veikko Sariola
ce81ef5ef9
Add regression test for FOP opcode, loadnote variant.
2020-04-14 21:44:05 +03:00
Veikko Sariola
398543d67c
Add regression tests for FOP opcode: add, addp2, mul, mulp2, push and xchg variants.
2020-04-14 18:08:57 +03:00
Veikko Sariola
e790549d27
Add regression test to test fop opcode / addp, mulp and pop variants.
2020-04-13 19:10:46 +03:00
Veikko Sariola
08518a9527
Add regression test to test multiple instruments.
2020-04-13 17:50:09 +03:00
Veikko Sariola
b1ba5e9e6b
Add regression test to test panning opcode.
2020-04-13 17:34:46 +03:00
Veikko Sariola
f33da76d1e
Add regression test to test load opcode.
2020-04-13 17:18:26 +03:00
Veikko Sariola
1f0fdfc30e
Improve and rename envelope test. The test focuses on GO4k_ENV opcode only and does not use panning.
2020-04-13 16:53:11 +03:00
Veikko Sariola
8d984cbc38
Implement ctest unit test, first test simply testing that envelope works as it used to.
2020-04-12 22:05:39 +03:00