Fix c/6 rendering as c/5

This commit is contained in:
Kai Vogelgesang 2024-07-18 16:36:50 +02:00
parent 20a7d9b4df
commit 75a99bd799
Signed by: kai
GPG Key ID: 3FC8578CC818A9EB

View File

@ -19,7 +19,7 @@
{name: "g/5", target: 79},
{name: "a/5", target: 81},
{name: "b/5", target: 83},
{name: "c/5", target: 84},
{name: "c/6", target: 84},
];
let note: string;
@ -48,7 +48,8 @@
if (status >> 4 !== 0b1001) return;
// console.debug(pitch);
console.log(`pitch=${pitch} target=${target}`);
if (pitch === target) {
randomize();
};