Spaces:
Runtime error
Runtime error
ButterCream
commited on
Commit
·
b1f9cb6
1
Parent(s):
f2a6899
do more for trailing than leading
Browse files
app.py
CHANGED
|
@@ -218,7 +218,7 @@ def generate(audio_path, ins, speed, alpha, beta, embedding, steps=200):
|
|
| 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 |
lead_percent = 0.008
|
| 221 |
-
trail_percent = 0.
|
| 222 |
|
| 223 |
|
| 224 |
# Leading artefact removal
|
|
|
|
| 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 |
lead_percent = 0.008
|
| 221 |
+
trail_percent = 0.0085
|
| 222 |
|
| 223 |
|
| 224 |
# Leading artefact removal
|