Thank you for the amazing library!
When trying to convert many mscz files in one process to midi, I always get error below:
[1] 67030 bus error node script.js
and the process terminates.
I am using the snippet from readme.md as below, iterating through an array of file[]:
const msczdata = fs.readFileSync(file);
const score = await WebMscore.load("mscz", msczdata, [], false);
const midi = await score.saveMidi();
fs.writeFileSync(midi_path, midi);
score.destroy();
When script is run for 10 files, no bus error is thrown. When script is run with thousands of files, it always throws.
Thank you for the amazing library!
When trying to convert many mscz files in one process to midi, I always get error below:
[1] 67030 bus error node script.js
and the process terminates.
I am using the snippet from readme.md as below, iterating through an array of file[]:
When script is run for 10 files, no bus error is thrown. When script is run with thousands of files, it always throws.