def stSpectralFlux(X, Xprev):
    '\n        Computes the spectral flux feature of the current frame\n        ARGUMENTS:\n            X:        the abs(fft) of the current frame\n            Xpre:        the abs(fft) of the previous frame\n        '
    sumX = np.sum((X + eps))
    sumPrevX = np.sum((Xprev + eps))
    F = np.sum((((X / sumX) - (Xprev / sumPrevX)) ** 2))
    return F
Computes the spectral flux feature of the current frame
ARGUMENTS:
    X:        the abs(fft) of the current frame
    Xpre:        the abs(fft) of the previous frame
def stSpectralFlux(X, Xprev):
    '\n        Computes the spectral flux feature of the current frame\n        ARGUMENTS:\n            X:        the abs(fft) of the current frame\n            Xpre:        the abs(fft) of the previous frame\n        '
    sumX = np.sum((X + eps))
    sumPrevX = np.sum((Xprev + eps))
    F = np.sum((((X / sumX) - (Xprev / sumPrevX)) ** 2))
    return F