forked from musescore/MuseScore
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels