Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        public Chord genNoteChord(CommandSelections selection)
        {
            var length = Length.createInstance(selection.SelectedLength, selection.TupletType);

            return(NoteChord.createInstance(selection.Position, Measure?.Position, length));
        }
Exemplo n.º 3
0
 public NoteChord genChord(CommandSelections selection)
 {
     return(NoteChord.createInstance(0, SecondMeasure?.Position, FirstChord?.Length));
 }