public InstrumentEffect(InstrumentEffectTarget target) { if (!target.IsDefined()) { throw new ArgumentOutOfRangeException("target"); } mTarget = target; }
public InstrumentOscillatorInfo(InstrumentEffectTarget target, float rate, float width, float fbase) { if (!target.IsDefined()) { throw new ArgumentOutOfRangeException("target"); } mTarget = target; mRate = rate; mWidth = width; mBase = fbase; mStartTable = new List <InstrumentOscillatorTable>(5); mReleaseTable = new List <InstrumentOscillatorTable>(5); }