tfio.audio.resample

View source on GitHub

Resample audio.

Args:

  • input: A 2-D Tensor of type int16 or float. Audio input.
  • rate_in: The rate of the audio input.
  • rate_out: The rate of the audio output.
  • name: A name for the operation (optional).

Returns:

  • output: Resampled audio.