import pyfar as pf
import matplotlib.pyplot as plt
signal = pf.signals.sine(200, 4800, sampling_rate=48000)
resampled = pf.dsp.resample(signal, 96000)
pf.plot.time_freq(signal, label="original", unit='ms')
pf.plot.time_freq(resampled, c="y", ls=":", unit='ms',
                  label="resampled (time domain matched)")
plt.legend()
