Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

planning: Ichigo VAD #91

Open
2 tasks
dan-menlo opened this issue Oct 18, 2024 · 5 comments
Open
2 tasks

planning: Ichigo VAD #91

dan-menlo opened this issue Oct 18, 2024 · 5 comments
Assignees

Comments

@dan-menlo
Copy link
Contributor

dan-menlo commented Oct 18, 2024

Goal

  • Remove the need to press the button, detect the voice
    • Medium-term
    • Enables ambient voice detection
    • Enables interruptibility
  • Small model that has binary classifier for voice activity detection
    • Need to determine activity parameter (e.g. how many seconds)
  • Long-term: advance VAD to a listening model

Tasklist

  • Menlo Realtime API
  • Cortex Realtime API

Resources

@dan-menlo dan-menlo converted this from a draft issue Oct 18, 2024
@dan-menlo dan-menlo added this to the Ichigo v0.4 milestone Oct 18, 2024
@dan-menlo dan-menlo changed the title epic: Ichigo VAD planning: Ichigo VAD Oct 18, 2024
@hahuyhoang411
Copy link
Contributor

hahuyhoang411 commented Oct 20, 2024

e2e vad: https://github.com/modelscope/FunASR

@PodsAreAllYouNeed
Copy link

FunASR is used by huggingface to support the Paraformer STT model, while they use SileroVAD. The FSMN-VAD provided by FunASR could be useful to look into as well. Also the pipeline for FunASR includes VAD and Diarization together with STT which could indeed be very useful.

The VAD handler written by hf using some of the SileroVAD code is quite nice: https://github.com/huggingface/speech-to-speech/blob/93d74ba3bc3ad1a948cc167d7cdb95699e49d867/VAD/vad_handler.py

It includes enhancement as well, which is very useful. We can potentially adapt the handler to support other VADs as well. This can cater to #93 as well.

Current Pipeline
Audio -> Ichigo -> TTS

Pipeline using hf/s2s handler
Audio -> (VAD -> Enhancement) -> Ichigo -> TTS

@tikikun
Copy link
Collaborator

tikikun commented Nov 11, 2024

great @nguyenhoangthuan99 you can take over this if you continue on ichigo demo

@tikikun
Copy link
Collaborator

tikikun commented Nov 22, 2024

on Alex now

@hiento09 hiento09 added this to Menlo Nov 22, 2024
@github-project-automation github-project-automation bot moved this to Investigating in Menlo Nov 22, 2024
@bachvudinh bachvudinh assigned bachvudinh and unassigned bachvudinh Dec 5, 2024
@FerLuisxd
Copy link

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Investigating
Development

No branches or pull requests

8 participants