Forum

Results 1 to 6 of 6
  1. #1
    Join Date
    January 2011
    Location
    Germany
    Posts
    8

    Question Preprocessor AGC Options

    Hi gents,

    this is my 1st post here, so greetings to everyone.

    I have a quick question about the AGC-related parameter value ranges for ts3client_set/getPreProcessorConfigValue.

    agc:
    true or false (pretty self-explanatory), no questions here.

    agc_level:
    numeric value, default 16000. What exactly is the possible value range and what exactly does it do?

    agc_max_gain:
    numeric value, default 30. I assume that this is a max +db value that AGC can use? But again, what exactly is the possible value range and what exactly does it do?

    I don't find the answers to these questions in the SDK docu, sorry.

    And a last question: if I would disable AGC with agc false as described above (I know it's not recommended), how would I set a fixed input gain value manually?

    Thanks in advance and kind regards,
    Dunc.

  2. #2
    Join Date
    January 2011
    Location
    Germany
    Posts
    8
    Bumping this again... anyway looks like I have to find out by try and error.

    If you wanna look professional, you really should add info like valid ranges etc. to your SDK documentation.

  3. #3
    Join Date
    July 2002
    Location
    Germany
    Posts
    2,192
    agc_level: 0 to 2^15, controls what target volume we wish the agc to aim for (so if we put it to 32000 it will try and make people louder than by default).

    agc_max_gain: Maximum increase in volume in db that the AGC may use. Used to prevent the agc to boost close to silent signals "through the roof" to achieve its target. Valid values are zero and higher.

    Note: Both these parameters are direct pass through to the speex preprocessor, so if you really want to know in great detail you could download the speex source code and check out how exactly the algorithms in place function.
    You think my answer is stupid ? Read This:
    http://www.catb.org/~esr/faqs/smart-...ons.html#intro

    In a world without fences and walls - who needs windows and gates ?

  4. #4
    Join Date
    January 2011
    Location
    Germany
    Posts
    8
    Thanks a lot!

    That's some info I can work with.

    Would you have any suggestions for my last question as well?:
    Quote Originally Posted by [dunc] View Post
    And a last question: if I would disable AGC with agc false as described above (I know it's not recommended), how would I set a fixed input gain value manually?
    Thanks and kind regards,
    Dunc.

  5. #5
    Join Date
    July 2002
    Location
    Germany
    Posts
    2,192
    Quote Originally Posted by [dunc] View Post
    And a last question: if I would disable AGC with agc false as described above (I know it's not recommended), how would I set a fixed input gain value manually?.
    This is currently not possible...when you disable AGC you have no gain control as AGC is the only gain control we offer. The next SDK we will release will however allow you directly modify the captured sound stream so when it is released you could do your own gain control.
    You think my answer is stupid ? Read This:
    http://www.catb.org/~esr/faqs/smart-...ons.html#intro

    In a world without fences and walls - who needs windows and gates ?

  6. #6
    Join Date
    January 2011
    Location
    Germany
    Posts
    8
    Thanks Peter. Looking forward to the next SDK version...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [PLUGINSDK] Preprocessor PTT Delay
    By Armada651 in forum General Questions
    Replies: 5
    Last Post: August 17th, 2011, 08:50 AM
  2. no AFK options?
    By indevisions in forum General Questions
    Replies: 3
    Last Post: August 15th, 2011, 02:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •