this script converts a soundfont into a json file, it has not been not used yet
2import fetch from 'node-fetch';
4const name = '0000_JCLive'; 5 6const js = await fetch(`https://felixroos.github.io/webaudiofontdata/sound/${name}_sf2_file.js`).then((res) => 7 res.text(), 8);
console.log(js);
11let [_, data] = js.split('_sf2_file='); 12data = eval(data); 13console.log(JSON.stringify(data));