root
commited on
Commit
·
70a625a
1
Parent(s):
1e95801
ss
Browse files
app.py
CHANGED
|
@@ -304,8 +304,7 @@ def detect_beats(y, sr):
|
|
| 304 |
onset_envelope=combined_onset,
|
| 305 |
sr=sr,
|
| 306 |
tightness=100,
|
| 307 |
-
start_bpm=60
|
| 308 |
-
std_bpm=20 # Allow wider variations
|
| 309 |
)
|
| 310 |
tempo_candidates.append(tempo2)
|
| 311 |
beat_candidates.append(beats2)
|
|
|
|
| 304 |
onset_envelope=combined_onset,
|
| 305 |
sr=sr,
|
| 306 |
tightness=100,
|
| 307 |
+
start_bpm=60 # Lower starting BPM helps find different time signatures
|
|
|
|
| 308 |
)
|
| 309 |
tempo_candidates.append(tempo2)
|
| 310 |
beat_candidates.append(beats2)
|