<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def resample(self, target_sr):
 """ Returns a new sound with a samplerate of target_sr. """

        y_hat = librosa.core.resample(self.y, self.sr, target_sr)
        return Sound(y_hat, target_sr)