Skip to content

Conversation

@srikaranth
Copy link

No description provided.

@srikaranth srikaranth self-assigned this Dec 11, 2025
@github-actions
Copy link
Contributor

Test Results Linux-CudaT

  1 files  ±0    1 suites  ±0   11m 58s ⏱️ + 1m 42s
420 tests ±0  288 ✅ +5  132 💤  - 4  0 ❌ ±0 
288 runs  +3  156 ✅  - 2  132 💤 +6  0 ❌ ±0 

Results for commit ea44260. ± Comparison against base commit 2538d6f.

p.wait_for_all();
}

BOOST_AUTO_TEST_CASE(vad_aggressiveness_test, *boost::unit_test::disabled())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incomplete test for now, Please add src to verify , all the different modes

include/ColorConversionXForm.h
include/Overlay.h
include/AudioToTextXForm.h
include/VADTransform.h
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please Rename it to VoiceAudioDetector

bigint::bigint
sfml-audio
whisper::whisper
fvad
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we bring it from vcpkg


enum FrameLength {
FRAME_10MS = 10,
FRAME_20MS = 20,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add comments to describe this modes, as in effects of setting frame length

bool init()
{
// Create libfvad instance
mVad = fvad_new();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use complete name (avoid abbreviation )


// Test all 4 aggressiveness modes
VADTransformProps::AggressivenessMode modes[] = {
VADTransformProps::QUALITY,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems we are supporting getProps and setProps , Please add UT for same

auto outFrame = makeFrame(sizeof(int));
int vadResult = (result == 1) ? 1 : 0;
memcpy(outFrame->data(), &vadResult, sizeof(int));

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also send input frame also , along with Voice Detection info

@srikaranth srikaranth requested a review from joiskash December 12, 2025 06:51
1. renamed vad ->voice activity detector
2. bringing fvad from vcpkg
3 . made changes in unit test
4. sending input frame also , along with Voice Detection info
false:audio has booth speech and silence
true:audio has only speech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants