Closed AlanPaine closed 1 year ago
Mode of use:
import { Soundfont } from "smplr";
const context = new AudioContext(); const marimba = new Soundfont(context, { instrument: "marimba" }); marimba.start({ note: 60, velocity: 80 });
I can't find the percussion, and I can't find a way to set the volume function。 https://gleitz.github.io/midi-js-soundfonts/MusyngKite/percussion-ogg.js
EncodingError: Decoding failed
It should be fixed now in latest version (0.4.3). See here: https://jsfiddle.net/k4Lodqmc/1/
Thanks for reporting
Mode of use:
import { Soundfont } from "smplr";
const context = new AudioContext(); const marimba = new Soundfont(context, { instrument: "marimba" }); marimba.start({ note: 60, velocity: 80 });
I can't find the percussion, and I can't find a way to set the volume function。 https://gleitz.github.io/midi-js-soundfonts/MusyngKite/percussion-ogg.js