public override Chord createChord(Measure parent, ReaderInfo info) { var length = Length.createInstance((GuitarTab.NoteLength)NoteLength, (GuitarTab.TupletType)TupletType); var chord = NoteChord.createInstance(Position, parent.Position, length); foreach (var s_note in Notes) { chord?.Add(s_note.createNote(chord, info)); } return(chord); }
public Chord genNoteChord(CommandSelections selection) { var length = Length.createInstance(selection.SelectedLength, selection.TupletType); return(NoteChord.createInstance(selection.Position, Measure?.Position, length)); }
public NoteChord genChord(CommandSelections selection) { return(NoteChord.createInstance(0, SecondMeasure?.Position, FirstChord?.Length)); }