Spaces:
Runtime error
Runtime error
ButterCream
commited on
Commit
·
9bb67a6
1
Parent(s):
a81d387
attempt s curve to further reduce artefacts
Browse files
app.py
CHANGED
|
@@ -216,7 +216,7 @@ def generate(audio_path, ins, speed, alpha, beta, embedding, steps=200):
|
|
| 216 |
|
| 217 |
# Post-Processing
|
| 218 |
thresh = np.percentile(np.abs(synthaud), 95)
|
| 219 |
-
CUT_SAMPLES =
|
| 220 |
|
| 221 |
# Leading artefact removal
|
| 222 |
left = CUT_SAMPLES + 1000
|
|
|
|
| 216 |
|
| 217 |
# Post-Processing
|
| 218 |
thresh = np.percentile(np.abs(synthaud), 95)
|
| 219 |
+
CUT_SAMPLES = 20000 # max samples to cut, in practice only 4-6k are actually cut
|
| 220 |
|
| 221 |
# Leading artefact removal
|
| 222 |
left = CUT_SAMPLES + 1000
|