36 "category",
"Controls",
37 "description",
"AutoPanner",
40 static FactoryRegistrator<ProcessingFactory, AutoPanner>
reg =
metadata;
49 SetSamplingRate( 44100 );
54 : mLeft(
"Left Control", this ),
55 mRight(
"Right Control", this )
63 : mLeft(
"Left Control", this ),
64 mRight(
"Right Control", this )
76 mPhase += mDeltaPhase;
77 if (mPhase > (2*M_PI))
79 mPhase = fmod(mPhase,
TData(2*M_PI));
94 mFreq = mConfig.GetFrequency();
95 mSamplingRate = mConfig.GetSamplingRate();
96 mPhase = mConfig.GetPhase();
97 mFrameSize = mConfig.GetFrameSize();
98 mDeltaPhase = ((2*
TData(M_PI) *mFreq)/mSamplingRate)* mFrameSize;