From 9ad837544c30a913c6c32f59868ef6fc47b79db5 Mon Sep 17 00:00:00 2001 From: sean <129997175+seaspaces27@users.noreply.github.com> Date: Tue, 19 Dec 2023 22:12:23 +0000 Subject: [PATCH] Axx command to allow hexadecimals fixed bug where only Txx would take hexadecimal values. Axx can do this now, too. --- it2fss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it2fss.py b/it2fss.py index 9ab0636..e9255a4 100644 --- a/it2fss.py +++ b/it2fss.py @@ -148,7 +148,7 @@ def calc_new_speed(cur_cmd, tempo: int, speed: int): tempo = int(cur_cmd[1:], 16) new_speed = get_fsound_tempo(tempo, speed) elif cur_cmd.startswith("A"): - speed = int(cur_cmd[1:]) + speed = int(cur_cmd[1:], 16) new_speed = get_fsound_tempo(tempo, speed) return tempo, speed, new_speed