add sfumato soundfont player

This commit is contained in:
Felix Roos 2022-08-07 21:30:02 +02:00
parent 467b3db824
commit 8bd56d29d6
4 changed files with 51 additions and 6 deletions

View file

@ -1,6 +1,6 @@
import { getFontBufferSource } from './fontloader.mjs';
import * as soundfontList from './list.mjs';
import { loadSoundfont, startPresetNote } from 'sfumato';
import './sfumato.mjs';
globalThis.getFontBufferSource = getFontBufferSource;
globalThis.soundfontList = soundfontList;
globalThis.soundfontList = soundfontList;
export { loadSoundfont, startPresetNote, getFontBufferSource, soundfontList };