We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
np.int
1 parent fcce61b commit e1f0841Copy full SHA for e1f0841
extract_f0_print.py
@@ -86,7 +86,7 @@ def coarse_f0(self, f0):
86
# use 0 or 1
87
f0_mel[f0_mel <= 1] = 1
88
f0_mel[f0_mel > self.f0_bin - 1] = self.f0_bin - 1
89
- f0_coarse = np.rint(f0_mel).astype(np.int)
+ f0_coarse = np.rint(f0_mel).astype(int)
90
assert f0_coarse.max() <= 255 and f0_coarse.min() >= 1, (
91
f0_coarse.max(),
92
f0_coarse.min(),
0 commit comments