Exemplo n.º 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;
 }
Exemplo n.º 2
0
        public object Clone()
        {
            MidiInfo p = new MidiInfo(midi, Accidental);

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

            return(p);
        }