mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 21:45:00 +03:00
remove unused comment
This commit is contained in:
parent
e6a3ae241d
commit
b133364b77
@ -29,9 +29,6 @@ class RMVPEPitchExtractor(PitchExtractor):
|
|||||||
audio = audio[int(np.round(real_silence_front * self.sapmle_rate)):]
|
audio = audio[int(np.round(real_silence_front * self.sapmle_rate)):]
|
||||||
silented_frames = int(audio.size(0) // window) + 1
|
silented_frames = int(audio.size(0) // window) + 1
|
||||||
|
|
||||||
print("[RMVPE AUDI]", audio.device)
|
|
||||||
print("[RMVPE RMVPE]", self.rmvpe.device)
|
|
||||||
|
|
||||||
f0 = self.rmvpe.infer_from_audio_t(audio, thred=0.03)
|
f0 = self.rmvpe.infer_from_audio_t(audio, thred=0.03)
|
||||||
# f0, pd = torchcrepe.predict(
|
# f0, pd = torchcrepe.predict(
|
||||||
# audio.unsqueeze(0),
|
# audio.unsqueeze(0),
|
||||||
|
Loading…
Reference in New Issue
Block a user