Merge pull request #66 from lispc/develop

fix a comment in audio_featurizer.py
pull/77/head
Yibing Liu 7 years ago committed by GitHub
commit 4bf526e78d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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