Exemple #1
0
 public AddNoteToPartVal(Part p, Measure m, NoteChord c, Note n)
 {
     part    = p;
     measure = m;
     chord   = c;
     note    = n;
 }
Exemple #2
0
 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;
 }
Exemple #3
0
 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;
 }
Exemple #4
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);
        }
Exemple #5
0
        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);
        }
Exemple #6
0
 public SimplifiedNoteChord(NoteChord chord, WriterInfo info)
     : base(chord)
 {
     Notes = createNotes(chord, info);
 }
Exemple #7
0
 public AddPalmMuteEffectVal(NoteChord c, IEffect p)
 {
     chord     = c;
     palm_mute = p;
 }
Exemple #8
0
 public ChangeNoteStringVal(NoteChord c, Note n, int?s)
 {
     chord      = c;
     note       = n;
     new_string = s;
 }
Exemple #9
0
 public RemoveNoteFromChordVal(Measure m, NoteChord c, Note n)
 {
     measure = m;
     chord   = c;
     note    = n;
 }
Exemple #10
0
 public AddNoteToChordVal(NoteChord c, Note n)
 {
     chord = c;
     note  = n;
 }
Exemple #11
0
 public AddPalmMuteEffectCom(NoteChord c, IEffect pm)
 {
     chord     = c;
     palm_mute = pm;
 }
Exemple #12
0
 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));
 }