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-homebrew opened this issue Oct 18, 2024 · 4 comments
Open
2 tasks

planning: Ichigo VAD #91

dan-homebrew opened this issue Oct 18, 2024 · 4 comments
Assignees

Comments

@dan-homebrew
Copy link
Contributor

dan-homebrew 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-homebrew dan-homebrew converted this from a draft issue Oct 18, 2024
@dan-homebrew dan-homebrew added this to the Ichigo v0.4 milestone Oct 18, 2024
@dan-homebrew dan-homebrew 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

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

7 participants