ScoreRound constructor

const ScoreRound({
  1. required Uint8List bytes,
  2. required String fileName,
  3. required PlayMode mode,
  4. required Hand hand,
  5. double speed = 1.0,
  6. List<int> pitches = const [],
  7. List<String> noteIds = const [],
  8. MeasureRange? measures,
  9. int? bpm,
  10. Map<String, List<OrnamentPart>> ornaments = const {},
  11. Set<String> freeNotes = const {},
  12. ExpressionMarks marks = ExpressionMarks.empty,
  13. Map<String, int> groups = const {},
  14. bool adaptiveWindow = false,
  15. bool forgiveSounding = false,
  16. bool tremoloHeads = false,
  17. String? transpose,
  18. String? keyLabel,
  19. bool curtain = false,
  20. bool untilNextDownbeat = false,
  21. int chainLength = 1,
  22. int step = 0,
  23. double speedFactor = 1.0,
  24. Set<int> hiddenMeasures = const {},
  25. bool listenFirst = false,
  26. Set<String> appNotes = const {},
  27. Set<String> hiddenNotes = const {},
  28. bool stableIds = false,
  29. List<List<String>> studentRuns = const [],
  30. Set<String> silentNotes = const {},
  31. bool rewindOnError = false,
  32. bool replayOnMiss = false,
  33. List<double> repeatSpeeds = const [],
  34. bool repeatWithoutWait = false,
  35. Map<String, String> measureLabels = const {},
  36. List<ChordDemand> chordDemands = const [],
  37. List<ChordTargetNote> chordReference = const [],
  38. EchoPlan? echo,
})

Implementation

const ScoreRound({
  required this.bytes,
  required this.fileName,
  required this.mode,
  required this.hand,
  this.speed = 1.0,
  this.pitches = const [],
  this.noteIds = const [],
  this.measures,
  this.bpm,
  this.ornaments = const {},
  this.freeNotes = const {},
  this.marks = ExpressionMarks.empty,
  this.groups = const {},
  this.adaptiveWindow = false,
  this.forgiveSounding = false,
  this.tremoloHeads = false,
  this.transpose,
  this.keyLabel,
  this.curtain = false,
  this.untilNextDownbeat = false,
  this.chainLength = 1,
  this.step = 0,
  this.speedFactor = 1.0,
  this.hiddenMeasures = const {},
  this.listenFirst = false,
  this.appNotes = const {},
  this.hiddenNotes = const {},
  this.stableIds = false,
  this.studentRuns = const [],
  this.silentNotes = const {},
  this.rewindOnError = false,
  this.replayOnMiss = false,
  this.repeatSpeeds = const [],
  this.repeatWithoutWait = false,
  this.measureLabels = const {},
  this.chordDemands = const [],
  this.chordReference = const [],
  this.echo,
});