CourseSoundEngines constructor
- required SettingsCubit settings,
- required Future<
void> settingsLoaded, - required MidiDevice? keyboard(),
- required AppClock clock,
- Future<
SoundEngine?> openSynth()?,
Implementation
CourseSoundEngines({
required this.settings,
required this.settingsLoaded,
required this.keyboard,
required this.clock,
Future<SoundEngine?> Function()? openSynth,
}) : _openSynth = openSynth ?? openAppSoundEngine;