mlx-audio
mlx-audio copied to clipboard
Should we invert real-time factor?
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