CourseSoundEngines constructor

CourseSoundEngines({
  1. required SettingsCubit settings,
  2. required Future<void> settingsLoaded,
  3. required MidiDevice? keyboard(),
  4. required AppClock clock,
  5. Future<SoundEngine?> openSynth()?,
})

Implementation

CourseSoundEngines({
  required this.settings,
  required this.settingsLoaded,
  required this.keyboard,
  required this.clock,
  Future<SoundEngine?> Function()? openSynth,
}) : _openSynth = openSynth ?? openAppSoundEngine;