test for effect Axy
This commit is contained in:
parent
570aa33a20
commit
267ecbeffb
3 changed files with 50 additions and 6 deletions
|
|
@ -95,11 +95,7 @@ function eff_t0_9(ch, data) { // sample offset
|
|||
|
||||
function eff_t0_a(ch, data) { // volume slide
|
||||
if (data) {
|
||||
if (data & 0x0f) {
|
||||
ch.volumeslide = -(data & 0x0f);
|
||||
} else {
|
||||
ch.volumeslide = data >> 4;
|
||||
}
|
||||
ch.volumeslide = -(data & 0x0f) + (data >> 4);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue