Skip to content

Commit

Permalink
Decrease min tonguing detection duration.
Browse files Browse the repository at this point in the history
  • Loading branch information
roim committed Nov 24, 2015
1 parent 3276d35 commit a5d58ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tonguing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def _exponential_smoothing(x, x_s0=0, alpha=0.1):


class TonguingDetector(object):
def __init__(self, min_duration=0.015, threshold=0.107, fs=44100, step=5):
def __init__(self, min_duration=0.01, threshold=0.107, fs=44100, step=5):
# Slice the input arrays by this step.
# I know, I know... Last minute optimizations...
self.step = step
Expand Down

0 comments on commit a5d58ed

Please sign in to comment.