Menu

Noise Threshold levels

Help
Teddy
2012-03-19
2012-09-22
  • Teddy

    Teddy - 2012-03-19

    I'm trying to set the threshold level so that background noise will not be
    recognized. I have found two different functions which both can set the
    thresholds, but I do not know which one to use and what is different between
    the two. Here are the two functions which I've found and tried to use:

    agc_set_threshold(agc);
    cont_ad_set_thresh(cont, sil, sp);

    Could you please help me?

    Thank you very much

    Teddy

     
  • Teddy

    Teddy - 2012-03-19

    I forgot to mention that I am using the following:
    pocketsphinx-0.7
    sphinx base-0.7
    mac OSX 10.7.3
    xCode 4.1

     
  • Nickolay V. Shmyrev

    You need to use cont_ad_set_thresh(cont, sil, sp). AGC is not used by default
    and it's related to feature extraction, not to the VAD. You can find more
    details on functions and modules in API reference.

     
  • Teddy

    Teddy - 2012-03-22

    Thank you nshmyrev! I understand now.

     

Log in to post a comment.