mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-25 00:15:00 -04:00
fix(templates/amd64-386, tests): fix global stereo sends and add regression test for future
the send asm code is quite ugly atm (pushf & popf to save stereo flag), but the new regression test should ensure we don't break it again if we eventually refactor it
This commit is contained in:
33
tests/test_send_global_stereo.yml
Normal file
33
tests/test_send_global_stereo.yml
Normal file
@ -0,0 +1,33 @@
|
||||
bpm: 100
|
||||
rowsperpattern: 16
|
||||
rowsperbeat: 4
|
||||
tracks:
|
||||
- numvoices: 1
|
||||
sequence: [0]
|
||||
patterns: [[64, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]]
|
||||
patch:
|
||||
instruments:
|
||||
- numvoices: 1
|
||||
units:
|
||||
- type: loadval
|
||||
parameters: {stereo: 0, value: 64}
|
||||
- type: loadval
|
||||
parameters: {stereo: 0, value: 96}
|
||||
- type: send
|
||||
parameters: {amount: 128, port: 0, sendpop: 1, stereo: 1, unit: 3, voice: 2}
|
||||
- type: receive
|
||||
parameters: {stereo: 1}
|
||||
- type: out
|
||||
parameters: {gain: 128, stereo: 1}
|
||||
- numvoices: 1
|
||||
units:
|
||||
- type: loadval
|
||||
parameters: {stereo: 0, value: 0}
|
||||
- type: loadval
|
||||
parameters: {stereo: 0, value: 64}
|
||||
- type: send
|
||||
parameters: {amount: 96, port: 0, sendpop: 1, stereo: 1, unit: 3, voice: 1}
|
||||
- type: receive
|
||||
parameters: {stereo: 1}
|
||||
- type: out
|
||||
parameters: {gain: 128, stereo: 1}
|
Reference in New Issue
Block a user