public ValueSequence(float[] times, float[] values, double length, bool isBang, AudioEngine engine) { FTimes = times; FCount = FTimes.Length; FEngine = engine; FValues = new float[FCount]; FIsBang = isBang; for (int i = 0; i < FCount; i++) { FValues[i] = values[i % values.Length]; } Array.Sort(FTimes, FValues); FLength = Math.Max(Math.Abs(length), 0.00000520833f); //set state Next(FEngine.Timer.Beat % FLength); }
public AudioInSignal(AudioEngine engine, int index) { FEngine = engine; FIndex = index; }