pattern data refactor, part 11

fix FC/FTM/TFE import. all of them were off by a couple octaves
This commit is contained in:
tildearrow 2025-10-18 03:28:54 -05:00
parent 01ce91ca2d
commit 37cc8accc3
3 changed files with 4 additions and 4 deletions

View file

@ -1758,7 +1758,7 @@ bool DivEngine::loadFTM(unsigned char* file, size_t len, bool dnft, bool dnft_si
} else if (nextNote == 0) {
pat->newData[row][DIV_PAT_NOTE] = -1;
} else if (nextNote < 0x0d) {
pat->newData[row][DIV_PAT_NOTE] = nextOctave*12 + (nextNote - 1);
pat->newData[row][DIV_PAT_NOTE] = nextOctave*12 + (nextNote - 1) + 60;
}
}