LeadSheetJudge constructor
- required List<
ChartSlot> slots, - required ChartSession chords,
- required MelodyJudge? melody,
- required int split,
- required int bpm,
- required List<
UnderChange> changes,
Implementation
LeadSheetJudge({
required List<ChartSlot> slots,
required ChartSession chords,
required MelodyJudge? melody,
required this.split,
required this.bpm,
required this.changes,
}) : _chords = chords,
_base = HarmonizeJudge(
chords: chords,
melody: melody,
split: split,
slots: slots,
choices: [
for (final slot in slots) [HarmonyChord(slot.degree, slot.chord!)],
],
) {
_subscriptions.add(_base.verdicts.listen(_verdicts.add));
}