Esempio n. 1
0
 public void Push(ITimedWaveArray16 i, Double Time)
 {
     if (Sealed)
     {
         throw new FieldAccessException("Attempt to push sequence into sealed sequencer.");
     }
     for (Double x = 0; x < Time; x += DeltaTime)
     {
         Int16[] newBuffer = i[x];
         if (newBuffer.Length != ChannelAmount)
         {
             throw new ArgumentException("Attempted to push data from source with different channel amount.");
         }
         for (int a = 0; a < ChannelAmount; a++)
         {
             Track[a].Add(newBuffer[a]);
         }
     }
     Edited = true;
 }
Esempio n. 2
0
 public Mixer16(ITimedWaveArray16 inputWave)
 {
     MixTarget = inputWave;
 }