Skip to content

Commit

Permalink
reduce time cutoff
Browse files Browse the repository at this point in the history
  • Loading branch information
loubbrad committed Apr 24, 2024
1 parent ada0673 commit 8154b5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions amt/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ def get_wav_mid_segments(
max_pedal_len_ms=15000,
)

# Hardcoded to 10s
if _check_onset_threshold(mid_feature, 10500) is False:
print("No note messages after 10s - skipping")
# Hardcoded to 5s
if _check_onset_threshold(mid_feature, 5000) is False:
print("No note messages after 5s - skipping")
continue

else:
Expand Down

0 comments on commit 8154b5d

Please sign in to comment.