fix a comment in audio_featurizer.py

pull/66/head
lispc 7 years ago
parent f9ebff7e4d
commit 23e4483069

@ -112,7 +112,7 @@ class AudioFeaturizer(object):
if max_freq is None: if max_freq is None:
max_freq = sample_rate / 2 max_freq = sample_rate / 2
if max_freq > sample_rate / 2: if max_freq > sample_rate / 2:
raise ValueError("max_freq must be greater than half of " raise ValueError("max_freq must not be greater than half of "
"sample rate.") "sample rate.")
if stride_ms > window_ms: if stride_ms > window_ms:
raise ValueError("Stride size must not be greater than " raise ValueError("Stride size must not be greater than "

Loading…
Cancel
Save