staffNotesRound function
- StaffNotesStep step,
- List<
Pitch> notes
A rodada de notes no passo step: a pauta, no modo espera.
Implementation
ScoreRound staffNotesRound(StaffNotesStep step, List<Pitch> notes) {
final source = fromMusicXml(staffNotesXml(step, notes));
return ScoreRound(
bytes: source.bytes,
fileName: source.fileName,
mode: PlayMode.wait,
hand: step.how.clef == Clef.grand ? Hand.ambas : Hand.direita,
pitches: [for (final p in notes) p.midi],
noteIds: [for (var i = 0; i < notes.length; i++) roundNoteId(i)],
);
}