diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index af875bf..268e160 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -117,6 +117,7 @@ if(WIN32) # The samples are currently only GMDLs based, and thus require Windows regression_test(test_oscillat_sample_stereo ENVELOPE) endif() regression_test(test_oscillat_unison ENVELOPE) +regression_test(test_oscillat_unison_phase ENVELOPE) regression_test(test_oscillat_unison_stereo ENVELOPE) regression_test(test_oscillat_lfo "ENVELOPE;VCO_SINE;VCO_PULSE;FOP_MULP2") regression_test(test_oscillat_transposemod "VCO_SINE;ENVELOPE;FOP_MULP;FOP_PUSH;SEND") diff --git a/tests/expected_output/test_oscillat_unison_phase.raw b/tests/expected_output/test_oscillat_unison_phase.raw new file mode 100644 index 0000000..4b6b8b4 Binary files /dev/null and b/tests/expected_output/test_oscillat_unison_phase.raw differ diff --git a/tests/test_oscillat_unison_phase.yml b/tests/test_oscillat_unison_phase.yml new file mode 100644 index 0000000..e4c24f7 --- /dev/null +++ b/tests/test_oscillat_unison_phase.yml @@ -0,0 +1,22 @@ +bpm: 100 +rowsperbeat: 4 +score: + rowsperpattern: 16 + length: 1 + tracks: + - numvoices: 1 + order: [0] + patterns: [[64, 0, 68, 0, 32, 0, 0, 0, 75, 0, 78, 0, 0, 0, 0, 0]] +patch: + - numvoices: 1 + units: + - type: envelope + parameters: {attack: 32, decay: 32, gain: 128, release: 64, stereo: 0, sustain: 64} + - type: oscillator + parameters: {color: 128, detune: 0, gain: 32, lfo: 0, phase: 0, shape: 64, stereo: 0, transpose: 64, type: 1, unison: 3} + - type: mulp + parameters: {stereo: 0} + - type: push + parameters: {stereo: 0} + - type: out + parameters: {gain: 128, stereo: 1}