public virtual Chord createChord(Measure parent, ReaderInfo info) { var length = Length.createInstance((GuitarTab.NoteLength)NoteLength, (GuitarTab.TupletType)TupletType); var chord = Chord.createInstance(Position, parent.Position, length); return(chord); }
public Chord genChord(CommandSelections selection) { var length = Length.createInstance(selection.SelectedLength, selection.TupletType); return(Chord.createInstance(selection.Position, Measure?.Position, length)); }