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; }
public object Clone() { MidiInfo p = new MidiInfo(midi, Accidental); p.UserOctave = UserOctave; p.whiteKeyNoteNumber = whiteKeyNoteNumber; return(p); }