Synthesizer.loadPath constructor
Synthesizer.loadPath(
- String soundFontPath, [
- SynthesizerSettings? settings
Implementation
factory Synthesizer.loadPath(String soundFontPath, [SynthesizerSettings? settings]) {
var sf = SoundFont.fromFile(soundFontPath);
return Synthesizer.load(sf, settings ?? SynthesizerSettings());
}