예제 #1
0
 public TrackParser(BufferByteReader reader, int ppq, int track, MIDILoaderSettings settings)
 {
     this.settings   = settings;
     this.reader     = reader;
     this.ppq        = ppq;
     this.track      = track;
     tempoMultiplier = ((double)500000 / ppq) / 1000000;
 }
예제 #2
0
 public MIDIFile(string path, MIDILoaderSettings settings, CancellationToken cancel)
 {
     loaderSettings = settings;
     this.cancel    = cancel;
     filepath       = path;
 }