public AddNoteToPartVal(Part p, Measure m, NoteChord c, Note n) { part = p; measure = m; chord = c; note = n; }
public ChangeNotePositionVal(Measure m, NoteChord f, NoteChord s, Note n, int?ns) { measure = m; first_chord = f; second_chord = s; note = n; new_string = ns; }
public ChangeNotePositionNewMeasureVal(Measure fm, Measure sm, NoteChord fc, NoteChord sc, Note n, int?ns) { first_measure = fm; second_measure = sm; first_chord = fc; second_chord = sc; note = n; note_string = ns; }
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 SimplifiedNote[] createNotes(NoteChord chord, WriterInfo info) { var arr = new SimplifiedNote[chord.ModelCollection.Count()]; int index = 0; foreach (Note note in chord.ModelCollection.Items()) { arr[index] = new SimplifiedNote(note, info); index++; } return(arr); }
public SimplifiedNoteChord(NoteChord chord, WriterInfo info) : base(chord) { Notes = createNotes(chord, info); }
public AddPalmMuteEffectVal(NoteChord c, IEffect p) { chord = c; palm_mute = p; }
public ChangeNoteStringVal(NoteChord c, Note n, int?s) { chord = c; note = n; new_string = s; }
public RemoveNoteFromChordVal(Measure m, NoteChord c, Note n) { measure = m; chord = c; note = n; }
public AddNoteToChordVal(NoteChord c, Note n) { chord = c; note = n; }
public AddPalmMuteEffectCom(NoteChord c, IEffect pm) { chord = c; palm_mute = pm; }
public RemoveNoteFromChordCom(NoteChord c, Note n) { chord = c; note = n; }
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)); }