Author Topic: VOX / Voice Activate  (Read 321 times)

IvanS

  • Newbie
  • *
  • Posts: 16
VOX / Voice Activate
« on: March 04, 2025, 06:01:55 AM »
Is there a way to use some kind of VOX in Voice Attack?  So determine how loud the speech input is and neglect it when it's below a volume threshold.

The reason I ask is that I try to pass unrecognized speech on to whisper.cpp to process it further.  However, now a LOT is unrecognized.  So I do not want to launch whisper.cpp speech recognition on low volume audio like speech or the radio in the next room.   Currently I use a Push-To-Talk method on my joystick, but I'd like to be able to do it on VOX also.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4842
  • RTFM
Re: VOX / Voice Activate
« Reply #1 on: March 04, 2025, 06:43:41 AM »
Technically there is the "{STATE_AUDIOLEVEL}" token, but you'd need to rig something up yourself around that, assuming it's suitable.