tsm_hybrid#

hmc_mir.tsm_tools.tsm_tools.tsm_hybrid(x, alpha=1.0, sr=22050)[source]#

Time stretches the input signal using a hybrid method that combines overlap-add and phase vocoding.

Parameters:
  • x – the input signal

  • alpha – the time stretch factor, which is defined as the ratio of the synthesis hop size to the analysis hop size

  • sr – sampling rate

Returns:

the time-stretched signal y.