def sprModelAnal(x, fs, w, N, H, t, minSineDur, maxnSines, freqDevOffset, freqDevSlope):
 (tfreq, tmag, tphase) = SM.sineModelAnal(x, fs, w, N, H, t, maxnSines, minSineDur, freqDevOffset, freqDevSlope)
 Ns = 512
 xr = UF.sineSubtraction(x, Ns, H, tfreq, tmag, tphase, fs)
 return (tfreq, tmag, tphase, xr)

def sprModelAnal ( x , fs , w , N , H , t , minSineDur , maxnSines , freqDevOffset , freqDevSlope ) : ( tfreq , tmag , tphase ) = SM . sineModelAnal ( x , fs , w , N , H , t , maxnSines , minSineDur , freqDevOffset , freqDevSlope ) Ns = 512 xr = UF . sineSubtraction ( x , Ns , H , tfreq , tmag , tphase , fs ) return ( tfreq , tmag , tphase , xr )
analysis of a sound using the sinusoidal plus residual model x: input sound .