Beispiel #1
0
        public InstrumentEffect(InstrumentEffectTarget target)
        {
            if (!target.IsDefined())
            {
                throw new ArgumentOutOfRangeException("target");
            }

            mTarget = target;
        }
Beispiel #2
0
        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);
        }