Exemple #1
0
 public Note(int duration, bool tiedBefore, bool tiedAfter, MidiInfo pitch)
 {
     this.isRest     = false;
     this.tiedBefore = tiedBefore;
     this.tiedAfter  = tiedAfter;
     this.duration   = duration;
     this.duartionIncludingTiesAfter = duration;
     this.midiInfo = pitch;
 }
Exemple #2
0
        public object Clone()
        {
            MidiInfo p = new MidiInfo(midi, Accidental);

            p.UserOctave         = UserOctave;
            p.whiteKeyNoteNumber = whiteKeyNoteNumber;

            return(p);
        }