public void changeTunning(Note six, Note five, Note four, Note three, Note two, Note one)
 {
     tuning.Clear();
     tuning.Add(one);
     tuning.Add(two);
     tuning.Add(three);
     tuning.Add(four);
     tuning.Add(five);
     tuning.Add(six);
 }
示例#2
0
 public void insertNote(Note note, int index)
 {
     notes.Insert(index, note);
 }
示例#3
0
 public void addNote(Note note)
 {
     notes.Add(note);
 }
        public void changeTuning(Note six, Note five, Note four, Note three, Note two, Note one)
        {
            _guitar.changeTunning(six, five, four, three, two, one);
            TabChord tempTab;

            for (int i = 0; i < getSize(); i++)
            {
                tempTab = TabChordFactory.getTabByChord(chords.ElementAt(i), tablature.ElementAt(i).getPitch(), _guitar);
                tablature.RemoveAt(i);
                tablature.Insert(i, tempTab);
            }
        }
 public void changeKey(Note key)
 {
     _key = key;
 }
 public Progression()
 {
     _key  = new Note(4, "C");
     _mode = new Mode();
     _mode = ModeFactory.getModeByName("Ionian");
 }