unsilence.lib.intervals.TimeCalculations
Module Contents
Functions
|
Generates a time estimate on the time saved if the current speed settings get applied |
- unsilence.lib.intervals.TimeCalculations.calculate_time(intervals: unsilence.lib.intervals.Intervals.Intervals, audible_speed: float, silent_speed: float)
Generates a time estimate on the time saved if the current speed settings get applied :param intervals: Intervals which should be estimated (lib.Intervals.Intervals) :param audible_speed: The speed at which audible intervals should be played back at :param silent_speed: The speed at which silent intervals should be played back at :return: Time calculation dict