mindspore.dataset.audio.ResampleMethod

class mindspore.dataset.audio.ResampleMethod[source]

Resample method.

Possible enumeration values are: ResampleMethod.SINC_INTERPOLATION, ResampleMethod.KAISER_WINDOW.

  • ResampleMethod.SINC_INTERPOLATION: The Whittaker-Shannon interpolation or sinc interpolation formula.

  • ResampleMethod.KAISER_WINDOW: The Kaiser window interpolation.