robert bristow-johnson wrote:
> Google is your friend. try it!
>
> http://www.wcl.ee.upatras.gr/audiogr...apers/asme.pdf
>
> i read the abstract and i don't even know what it is about.
>
> r b-j
Agree, Google is my friend :-) But the article has nothing cobcrete,
except for a ref to the P.Hatziantoniou,J.Mourjopoulos paper.
At any case, I have found inside DRC code something like dtetrmining a
window width for a smotthing. Now, my python code looks this way:
def foClasicSmooth( x, octaveFraction = 1.0/3.0 ):
y = []
rightFactor = math.pow(2.0, octaveFraction / 2.0 )
leftFactor = 1.0 / rightFactor
for n in range(len(x)):
left = long(n * leftFactor)
right = long(n * rightFactor)
y.append( sum( x[left : right + 1] ) / (right - left + 1) )
return y
It works fine for me.