prepare method

Future<String?> prepare({
  1. required ByteData? sf2,
  2. String name = 'instrument.sf2',
})
inherited

Needed so that the sound font is loaded On iOS make sure to include the sound_font.SF2 in the Runner folder. This does not work in the simulator.

Implementation

Future<String?> prepare({
  required ByteData? sf2,
  String name = 'instrument.sf2',
}) async {
  debugPrint('Setup Midi..');
  throw UnimplementedError('prepare() has not been implemented.');
}