ws-audio2: music/ult (UltraTracker): it family, two effect columns folded into the IT volume column, sustain loops, auto tone portamento (also from the volume column)

This commit is contained in:
4DBug committed 2026-10-31 14:25:08 -05:00
1 parent 80f5fd2c5b
commit f3299bf70f
8 files changed
+489 -2

No files matched your search

@@ -201,6 +201,10 @@ function Load.fillTwo(e1: string?, p1: number, e2: string?, p2: number): (number
for n = 0, 3 do
local v = Load.itVolume(e1, p1, n > 1)
if e1 == nil or v then
if v == nil and (e2 == "volume" or e2 == "volume8") then
-- the engine's IT family sets volumes in the volume column only
return Load.itVolume(e2, p2, true) or 0, nil, 0, nil, 0
end
return v or 0, e2, p2, nil, 0
end
e1, p1, e2, p2 = e2, p2, e1, p1
+2 -2
View File
@@ -1737,10 +1737,10 @@ local function processRow(st: any)
-- 669: any effect stops the auto slides
c.autoPorta, c.autoTone = 0, false
end
local tp = isPorta(st, fx, 0)
local tp = isPorta(st, fx, vcmd)
c.tonePortaRow = tp
if tp and st.autoTonePorta then
c.autoTone = param ~= 0 or not st.autoReset
c.autoTone = param ~= 0 or not st.autoReset or not isPorta(st, fx, 0)
end
c.triggered = false
local delay = noteDelayOf(st, fx, param)