refact project

This commit is contained in:
chuxij
2025-04-25 15:45:24 +00:00
parent f91ce4867f
commit db32300e75
20 changed files with 2031 additions and 4027 deletions
-12
View File
@@ -105,15 +105,3 @@ class LogMelSpectrogram(nn.Module):
return x, self.compress(linear)
return x
def get_mel_transform():
return LogMelSpectrogram(
sample_rate=44100,
n_fft=2048,
win_length=2048,
hop_length=512,
f_min=40,
f_max=16000,
n_mels=128,
)