Synthesizer.loadByteData constructor
Synthesizer.loadByteData(
- ByteData data, [
- SynthesizerSettings? settings
Implementation
factory Synthesizer.loadByteData(ByteData data, [SynthesizerSettings? settings]) {
SoundFont sf = SoundFont.fromByteData(data);
return Synthesizer.load(sf, settings ?? SynthesizerSettings());
}