Synthesizer.loadPath constructor

Synthesizer.loadPath(
  1. String soundFontPath, [
  2. SynthesizerSettings? settings
])

Implementation

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