diff --git a/src/audio/voiceActivityDetection.cpp b/src/audio/voiceActivityDetection.cpp index 0b94da9..8774c68 100644 --- a/src/audio/voiceActivityDetection.cpp +++ b/src/audio/voiceActivityDetection.cpp @@ -37,7 +37,7 @@ BoundedTimeline detectVoiceActivity(std::unique_ptr audioStre audioStream = removeDCOffset(std::move(audioStream)); // Resample to remove noise - constexpr int maxFrequency = 1000; + constexpr int maxFrequency = 4000; constexpr int sampleRate = 2 * maxFrequency; audioStream = convertSampleRate(std::move(audioStream), sampleRate);