コード例 #1
0
 public MidiEventsTimeline(string eventName, MidiPitchBend pb)
 {
     this.eventName = eventName;
     this.time      = pb.time.midi;
     this.note      = null;
     this.pb        = pb;
     this.ts        = null;
     this.midiTime  = pb.time;
 }
コード例 #2
0
 public MidiEventsTimeline(string eventName, MidiTimeSignature ts)
 {
     this.eventName = eventName;
     this.time      = ts.time.midi;
     this.note      = null;
     this.pb        = null;
     this.ts        = ts;
     this.midiTime  = ts.time;
 }
コード例 #3
0
 public MidiEventsTimeline(string eventName, MidiNote note)
 {
     this.eventName = eventName;
     this.time      = note.time.midi;
     this.note      = note;
     this.pb        = null;
     this.ts        = null;
     this.midiTime  = note.time;
 }