BitOrchestra.SequencerEvaluator.Generate C# (CSharp) Method

Generate() public method

public Generate ( Int32 Start, Int32 Buffer ) : void
Start System.Int32
Buffer System.Int32
return void
        public override void Generate(Value Start, Value[] Buffer)
        {
            this.Parameter.Generate(Start, Buffer);
            for (int t = 0; t < Buffer.Length; t++)
            {
                uint param = (uint)((UValue)Buffer[t] % (UValue)this.Items.Length);
                Buffer[t] = this.Items[param].Generate(Start)[t];
            }
        }