load fonts from forked version

This commit is contained in:
Felix Roos 2022-06-20 22:00:14 +02:00
parent d5938a016c
commit 38b1717fac
3 changed files with 8 additions and 8 deletions

View file

@ -5,7 +5,7 @@ async function loadFont(name) {
}
const load = async () => {
// TODO: make soundfont source configurable
const url = `https://surikov.github.io/webaudiofontdata/sound/${name}.js`;
const url = `https://felixroos.github.io/webaudiofontdata/sound/${name}.js`;
console.log('load font', name, url);
const preset = await fetch(url).then((res) => res.text());
let [_, data] = preset.split('={');