Audio Utilities


source

plot_waveform

 plot_waveform (waveform, sample_rate, title='Waveform', xlim=None,
                ylim=None)
wav, sr = torchaudio.load("../data/audio/obama.wav")
plot_waveform(wav,sr)