32 "category",
"SMS Transformations",
33 "description",
"SMSMorph",
36 static FactoryRegistrator<ProcessingFactory, SMSMorph>
reg =
metadata;
41 return Do( in1.GetSpectralPeakArray(),
43 in1.GetResidualSpec(),
45 in2.GetSpectralPeakArray(),
47 in2.GetResidualSpec(),
49 out.GetSpectralPeakArray(),
68 bool Harmonic =
false;
69 if ( inFund1.
GetFreq()!=0 && inFund2.
GetFreq()!=0 && mConfig.GetIsHarmonic1() && mConfig.GetIsHarmonic2 () )
75 if( Harmonic ) newPitch=0;
91 outSpectrum = inSpectrum1;