예제 #1
0
        public Object clone()
        {
            SequenceConfig config = new SequenceConfig();

            config.SamplingRate                  = this.SamplingRate;
            config.WaveFileOutputChannel         = this.WaveFileOutputChannel;
            config.WaveFileOutputFromMasterTrack = this.WaveFileOutputFromMasterTrack;
            return(config);
        }
예제 #2
0
 /// <summary>
 /// コンストラクタ。trackはcloneされないが、tempoはcloneされる。
 /// </summary>
 /// <param name="track"></param>
 /// <param name="tempo"></param>
 public RenderedStatus(VsqTrack track, TempoVector tempo, SequenceConfig config)
 {
     this.track = track;
     this.tempo = new TempoVector();
     foreach (var entry in tempo)
     {
         this.tempo.Add((TempoTableEntry)entry.clone());
     }
     this.config = config;
 }
예제 #3
0
 public bool equals(SequenceConfig item)
 {
     if (item == null)
     {
         return(false);
     }
     if (this.SamplingRate != item.SamplingRate)
     {
         return(false);
     }
     if (this.WaveFileOutputFromMasterTrack != item.WaveFileOutputFromMasterTrack)
     {
         return(false);
     }
     if (this.WaveFileOutputChannel != item.WaveFileOutputChannel)
     {
         return(false);
     }
     return(true);
 }
예제 #4
0
 public RenderedStatus()
 {
     track  = new VsqTrack(0, 0, 0);
     tempo  = new TempoVector();
     config = new SequenceConfig();
 }