load fonts from forked version
This commit is contained in:
parent
d5938a016c
commit
38b1717fac
3 changed files with 8 additions and 8 deletions
|
|
@ -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('={');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue