예제 #1
0
 def __get_audio__(self, f):
     audio = load_audio(f, self.sr, self.min_duration)
     return audio
예제 #2
0
 def __get_audio__(self, f):
     audio = load_audio(f, self.sr, self.min_duration)
     # preprocessed_audio = torch.from_numpy(audio).unsqueeze(0)
     # print('[__get_audio__] preprocessed_audio shape', preprocessed_audio.shape)
     return audio