basic iterations working, need to do duration mapping

This commit is contained in:
Tanishq Dubey
2022-10-21 20:25:46 -04:00
parent 6e69bf6b67
commit 80d8845eda
2 changed files with 84 additions and 26 deletions

View File

@ -25,5 +25,5 @@ class AmplitudeEditor:
long_ma = np_moving_average(self.squared_subsample, large_window * window_factor)
short_ma = np_moving_average(self.squared_subsample, small_window * window_factor)
highlights = find_moving_average_highlights(short_ma, long_ma, self.factor / self.bitrate)
return highlights
return highlights, large_window, small_window