mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-18 21:14:31 -04:00
fix(vm/compiler/templates/wasm): add support for mono out
Adds also a test case to make sure mono out also works.
This commit is contained in:
parent
7df8103bf9
commit
f35f948118
@ -65,6 +65,7 @@ endfunction(regression_test)
|
||||
|
||||
regression_test(test_envelope "" ENVELOPE)
|
||||
regression_test(test_envelope_stereo ENVELOPE)
|
||||
regression_test(test_out ENVELOPE)
|
||||
regression_test(test_loadval "" LOADVAL)
|
||||
regression_test(test_loadval_stereo LOADVAL LOADVAL_STEREO)
|
||||
regression_test(test_gain LOADVAL GAIN)
|
||||
|
BIN
tests/expected_output/test_out.raw
Normal file
BIN
tests/expected_output/test_out.raw
Normal file
Binary file not shown.
16
tests/test_out.yml
Normal file
16
tests/test_out.yml
Normal file
@ -0,0 +1,16 @@
|
||||
bpm: 100
|
||||
rowsperbeat: 4
|
||||
score:
|
||||
rowsperpattern: 16
|
||||
length: 1
|
||||
tracks:
|
||||
- numvoices: 1
|
||||
order: [0]
|
||||
patterns: [[64, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]]
|
||||
patch:
|
||||
- numvoices: 1
|
||||
units:
|
||||
- type: envelope
|
||||
parameters: {attack: 64, decay: 64, gain: 64, release: 80, stereo: 0, sustain: 64}
|
||||
- type: out
|
||||
parameters: {gain: 128, stereo: 0}
|
Reference in New Issue
Block a user