2taud.py: fix: stereo samples not converting correctly

This commit is contained in:
minjaesong
2026-05-21 02:55:41 +09:00
parent 8e8374ba99
commit 5b9b96c8de
3 changed files with 50 additions and 22 deletions

View File

@@ -592,7 +592,7 @@ def build_sample_inst_bin(samples: list) -> tuple:
# PT hard-pans channels in LRRL order: 0=L 1=R 2=R 3=L (and tile for >4).
def _default_channel_pan(ch_idx: int) -> int:
side = (ch_idx % 4)
return 16 if side in (0, 3) else 47
return 8 if side in (0, 3) else 55
def build_pattern(grid: list, ch_idx: int, default_pan: int,