mlx-audio icon indicating copy to clipboard operation
mlx-audio copied to clipboard

Should we invert real-time factor?

Open Blaizzy opened this issue 11 months ago • 0 comments

Should we invert the real-time factor? If so, why?

The source, states that values lower than 1 are better and above 1 are worse. Inverting it will cause rtf to have significant higher values.

Formula:

def real_time_factor(processingTime, audioLength, decimals=2):

    ''' Real-Time Factor (RTF) is defined as processing-time / length-of-audio. '''

    rtf = (processingTime / audioLength)

    return round(rtf, decimals)

Source: https://openvoice-tech.net/wiki/Real-time-factor

Originally posted by @Blaizzy in https://github.com/Blaizzy/mlx-audio/issues/24#issuecomment-2716050517

Blaizzy avatar Mar 12 '25 02:03 Blaizzy