mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-19 13:34:34 -04:00
feat(vm): add dbgain unit, where gain is defined in decibels
Closes #78
This commit is contained in:
parent
f698986718
commit
04fbc9f6a7
20
tests/test_dbgain_stereo.yml
Normal file
20
tests/test_dbgain_stereo.yml
Normal file
@ -0,0 +1,20 @@
|
||||
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: loadval
|
||||
parameters: {stereo: 0, value: 0}
|
||||
- type: loadval
|
||||
parameters: {stereo: 0, value: 128}
|
||||
- type: dbgain
|
||||
parameters: {decibels: 32, stereo: 1}
|
||||
- type: out
|
||||
parameters: {gain: 128, stereo: 1}
|
Reference in New Issue
Block a user