Good day to you all.

I'm trying to implement the NNE algorithm with pd.
NNE stands for Normalized Noise Energy, and is a ratio of the energy of the noise
present (above 1 kHz) in the vocalization to the total energy of the
signal (dB). This is all the information I have....I think it is similar to SNR but I'm not sure....

This is what I have already implemented....just until the computation of the energy
of a signal, and still not sure it is write. I do not know how to go on, and I'm a bit lost.

Do you have any ideas of what to do??

http://www.pdpatchrepo.info/hurleur/wav_1024samples_50%_overlap_Hanning.pd