Skip to content

Commit

Permalink
Check duration as milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolson committed Nov 22, 2022
1 parent 6e2c158 commit 632db6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const CONFIG = {
DETECTION_PERCENTAGE_END: '10%',
CLAP_AMPLITUDE_THRESHOLD: 0.7,
CLAP_ENERGY_THRESHOLD: 0.3,
CLAP_MAX_DURATION: 1500,
CLAP_MAX_DURATION: 1.5,
MAX_HISTORY_LENGTH: 100 // no need to maintain big history
}

Expand Down

0 comments on commit 632db6d

Please sign in to comment.