This commit is contained in:
ChomeNS 2023-01-22 18:03:54 +07:00
parent 158eabaa45
commit f112be3efe

View file

@ -106,6 +106,8 @@ function inject (bot) {
song.name = fallbackName
break
default:
// TODO: use worker_threads so the entire bot doesn't freeze (for example parsing we are number 1 black midi)
// eslint-disable-next-line no-case-declarations
const midi = new Midi(buffer)
song = convertMidi(midi)