Synthesizer.loadByteData constructor

Synthesizer.loadByteData(
  1. ByteData data, [
  2. SynthesizerSettings? settings
])

Implementation

factory Synthesizer.loadByteData(ByteData data, [SynthesizerSettings? settings]) {
  SoundFont sf = SoundFont.fromByteData(data);

  return Synthesizer.load(sf, settings ?? SynthesizerSettings());
}