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

            mTarget = target;
        }
예제 #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);
        }