• Home
  • Reviews
  • Articles
  • News
  • Tools
  • GamingHeaven
  • Forums
  • Network
 

Go Back   DriverHeaven.net > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Effects and the DSP

Notices

Reply
 
LinkBack Thread Tools
Old Mar 21, 2005, 03:37 AM   #1
DriverHeaven Addict
 
Join Date: Dec 2002
Posts: 259
eyagos is on a distinguished road

AGC v2.0 plugin

AGC v2.0 is finished, and you have it here:

http://ciberia.ya.com/eyagos



AGC, as many of you know, means Automatic Gain Control. AGC's circuits are widelly used as parts of many analogic and digital circuits: Amplifiers, radio tuners, radars, wireless cominications, industrial applications, etc etc. This one, as most of you can supouse, is designed for audio hearing. His functioning is very simple:

1.- Reads input Level.
2.- Compares it with a reference value (the reference is -3dB)
3.- If Level is greater than -3dB, it aplyes a little negative gain each 1 sample cycle (practically instantaneous). After a few samples (50 or 100), gain should be reduced to -3dB exactly.
4.- If Level is lower than -4dB, it aplyes a little positive gain each 1000 samples cycle. So, it takes much more time to increase gain to -3dB than to reduce it to -3dB. (if not, the invent would not function). The value of 1000 samples can be adjusted to control the speed (or the Slowness) of the algorithm.
5.- But if Level is even lower than a certain Threshold(in example -40dB), the gain will not be increased. This should prevent gain to increase too much -or indefinitelly- when input is very low (noise) -or there is no input-.


The plugin is perfect for hearing Internet music. If you have a TV card, this plugin can "eliminate" differences between different channels. It can be used too for hearing mp3 or CD music, although you must take into account that AGC can change the dynamics of sound (even changes in the same song). To reduce this, sets slowness control to maximum.

And one last recomendation: Don't use more than one plugin in the same circuit, and put it allways at the end of the circuit.

As other times, any suggestion, bug repot, doubt, or coment will be grateful. Enjoy it.


eyagos.

Last edited by eyagos; Mar 21, 2005 at 03:42 AM.
eyagos is offline   Reply With Quote
Old Mar 21, 2005, 05:41 AM   #2
DriverHeaven Lover
 
radiocolonel.it's Avatar
 
Join Date: Jan 2005
Location: Italy
Posts: 192
radiocolonel.it is on a distinguished road

EEK! ... just excellent

... what a cool surprise today!!! i was looking for an AGC from long time... no words to say thanks! I just tried a bit and it seems great, audio quality is really good and now i'lsee how to make it work with my mic.... i'll tell u how it behaves.
Thanks again!
radiocolonel.it is offline   Reply With Quote
Old Mar 21, 2005, 11:13 AM   #3
DriverHeaven Senior Member
 
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,778
Lex Nahumury is on a distinguished road

Great tool eyagos. I've always liked your AGCs!

/LeMury
Lex Nahumury is offline   Reply With Quote
Old Mar 21, 2005, 06:00 PM   #4
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 4,104
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

Pretty cool eyagos. I was just trying out out with some mp3's and it works great. I have a question though. What does it do, when it has no signal? It seems to hold the value from the previous signal. I wonder if it would be better to default to a midpoint value, or maybe even a little higher, to make it respond a little qucker to lower level signals. i.e. Going from straight music (especially if it lowers the level), to a low level source (voice only, etc), it takes a couple of seconds to bring the level up to an audible level (especially if there are pauses in the talking, etc).

For example: If a play a low level source, where the AGC Monitor shows around +20 to +25dB for the average gain, and then stop the signal. The AGC holds at around +20 to +25dB. So if I then play the same signal again, it is instantly audible. However, if I play a signal with a normal level (or higher level), and stop the signal, it holds at a much lower level, so if I then play a low level signal, it takes longer to bring the level up to an audible point (when listening at a low volume). I would like to see it more responsive on the low end if possible (maybe have it expect the signal to be low when it has no input, as it responds quicker to higher level, and thus can compensate quicker if the signal turns out to have a higher level). i.e. I imagine using the AGC for night time listening. I set my volume to a level where it will not disturb other people, but at the same time I want to be able to hear the quieter parts (parts that may be just barely audible, at this volume level without the AGC). As it is right now, the time that it takes to bring the lower levels up, I miss parts of the lower level audio (with the AGC slowness setting at zero).

Another option might be to allow us to set the nominal level, so that in situations like this, we can turn up the volume, so that it is at an optimal level for the lower end, and then set the nominal gain lower, so that the higher level sounds are still not too loud, etc.

Anyway, it is just an idea, and like I said, without the AGC some of these audio parts are just barely audible (at lower volume levels), so it allready helps with that in a big way. I am just wondering if it is possible to make it more responsive at the lower levels, without losing the responsiveness at the higher levels.

-Russ
Russ is offline   Reply With Quote
Old Mar 22, 2005, 05:01 PM   #5
DriverHeaven Addict
 
Join Date: Dec 2002
Posts: 259
eyagos is on a distinguished road

Russ, this plugin tries to adjust the level of input sounds at a confortable and constant average level (I say averge level, because a constant level is 'no sound'), but not changing the original 'dynamics' os the sound. So, it reduces gain very quickly (no average is made here) if input sound level is too loud (it prevents clipping), and increase gain very slowly (with a long averge) if input sound is too weak.
If you want to hear the quiter parts of a song or a movie louder, you should use a compressor. Try presset "Normalizer" of Dynamics Processor, and adjust the times at your taste. This could be more efective too for microphone uses, radiocolonel.it.

The Threshod value is used to avoid anoying situations.
The worst case would be this: You have AGC plugin conected, but you are not playing any sound. If threshold parameter would not exist, AGC will increase gain to the maximum (I have not tell you before, maximum gain is +60dB). If you now plays any sound at a normal volume, it should sound at +60dB until AGC could reduce the gain (it is done very quickly, but not instantenously).
Other bad situation, if you'll not had a threshold value, will be when you have a mic conected and not registering any sound: The noise floor (lets say it is at -50dB) would be amplificated. If you use a threshold value of -40dB, the plugin will not increase gain.
Well, these anoying situations are eliminated with a threshold value. But as you has said there is still a problem: AGC can mantain in memory a gain value too high, calculated from the last music. This problem could be controled with a new parameter that set the maximum gain that AGC can aply: Let's say, you don't want more amplification than +20dB... Well, this can be a good idea.

LeMury, as you can see this version can increase and decrease the volume. I think that it is a real AGC now.

Thank you guys.
eyagos is offline   Reply With Quote
Old Mar 22, 2005, 05:27 PM   #6
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 4,104
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

Good stuff. I used to have a Phillips TV with SMART sound, and it was a great feature. I was looking for something that works similair to that. I will check out your Dynamics Processor, and see how well that works.

-Russ
Russ is offline   Reply With Quote
Old Mar 22, 2005, 05:39 PM   #7
DriverHeaven Senior Member
 
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,778
Lex Nahumury is on a distinguished road

Quote:
Originally Posted by eyagos
LeMury, as you can see this version can increase and decrease the volume.
Yes I noticed. 'Threshold' and 'Gain Increase' are valuable additions indeed.
Very clever and usefull tool in cases where one needs constant average volume
but without compression.

/LeMury
Lex Nahumury is offline   Reply With Quote
Old Apr 21, 2005, 04:24 AM   #8
DriverHeaven Junior Member
 
Join Date: Jun 2004
Posts: 21
Matti is on a distinguished road

Agc

Have I done something wrong as I canīt get AGC work with latest "h" driver; the user interface doesnīt open etc. I had it working but after new installation it doesnīt.
Regards Matti
Matti is offline   Reply With Quote
Old Apr 21, 2005, 06:38 PM   #9
DriverHeaven Junior Member
 
Join Date: Jun 2004
Posts: 21
Matti is on a distinguished road

No Prob.s!

What the heg, No problems now! (shit happens when You are tired)
Thanks again! Matti
Matti is offline   Reply With Quote
Old Dec 18, 2005, 11:36 AM   #10
DriverHeaven Newbie
 
Join Date: Dec 2005
Posts: 4
rajder is on a distinguished road

is there version for 3537 ?
rajder is offline   Reply With Quote
Old Mar 27, 2006, 02:11 PM   #11
DriverHeaven Senior Member
 
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 444
Chester01 is on a distinguished road

Can you possibly recompile the agc.kxl for 3538j I can load the plugin, both agc.da and agc.kxl register but i cannot load the plugins interface... Thanks!
Chester01 is offline   Reply With Quote
Old Mar 27, 2006, 02:19 PM   #12
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 4,104
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

Which version did you download. The 3538i version should work with 3538j (works for me).
Russ is offline   Reply With Quote
Old Mar 27, 2006, 03:11 PM   #13
DriverHeaven Senior Member
 
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 444
Chester01 is on a distinguished road

3538i is the version i have (of agc 2.0) and the 3538j driver
Chester01 is offline   Reply With Quote
Old Mar 27, 2006, 03:21 PM   #14
DriverHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 4,104
Russ has a spectacular aura aboutRuss has a spectacular aura aboutRuss has a spectacular aura about

Quote:
Originally Posted by Chester01
3538i is the version i have (of agc 2.0) and the 3538j driver
It is actually version 2.1 (from the microcode comment), but again it works for me in 3538j, so I am guessing that something else is causing the problem.
Russ is offline   Reply With Quote
Old Mar 27, 2006, 04:00 PM   #15
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,721
Maddogg6 will become famous soon enough

Quote:
Originally Posted by Russ
Which version did you download. The 3538i version should work with 3538j (works for me).
Confirmed - it works for me as well.
Maddogg6 is offline   Reply With Quote
Old Mar 27, 2006, 04:02 PM   #16
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,721
Maddogg6 will become famous soon enough

Oh - DONT register the DA - I think I only register a single KXL file...
Im thinking registering the DA messed you up...
Maddogg6 is offline   Reply With Quote
Old Mar 27, 2006, 07:25 PM   #17
DriverHeaven Senior Member
 
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 444
Chester01 is on a distinguished road

how can i unregister and reregister the plugin?
Chester01 is offline   Reply With Quote
Old Mar 27, 2006, 07:32 PM   #18
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,721
Maddogg6 will become famous soon enough

There is registry entries that can be deleted... (I cant remeber the location)

or, do a global reset - but that removes all added plugins - IE puts KX back to fresh installed state, so youd have to re-resistar all other plugins as well.
Maddogg6 is offline   Reply With Quote
Old Mar 27, 2006, 07:52 PM   #19
DriverHeaven Senior Member
 
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 444
Chester01 is on a distinguished road

global reset worked, just had to reload the plugins i use... Thanks for your help
Chester01 is offline   Reply With Quote
Old Oct 4, 2006, 09:32 AM   #20
DriverHeaven Lover
 
Join Date: Dec 2002
Location: Sofia, Bulgaria
Posts: 136
imperia is on a distinguished road

can you make AGC work with 3538l?
imperia is offline   Reply With Quote
Old Nov 24, 2006, 02:42 AM   #21
DriverHeaven Newbie
 
Join Date: Sep 2006
Location: cebu, philippines
Posts: 9
knight23 is on a distinguished road

can you please post the AGC algorithm. thanks!
knight23 is offline   Reply With Quote
Old Mar 21, 2007, 11:09 PM   #22
DriverHeaven Newbie
 
Join Date: Sep 2006
Posts: 13
smyle is on a distinguished road

*bump*
smyle is offline   Reply With Quote
Old Sep 10, 2007, 11:34 PM   #23
DriverHeaven Newbie
 
Join Date: Jan 2006
Location: Aussie
Posts: 5
Chiltn is on a distinguished road

I still can't get the interface to work...I'm running the 3538m, but I'm about to try the new 3539...anyone tried AGC with it?

Cheers!
Chiltn is offline   Reply With Quote
Old Nov 4, 2007, 06:39 AM   #24
DriverHeaven Lover
 
Join Date: Jul 2006
Posts: 129
silvertones is on a distinguished road

Is there a version for 3538m
silvertones is offline   Reply With Quote
Old Apr 7, 2008, 04:42 PM   #25
DriverHeaven Junior Member
 
Join Date: Aug 2006
Location: Germany
Posts: 24
BuzzT is on a distinguished road

Is there a version of the Automatic Gain Control V 2.0 for 3541 available? I had problems to install it since 3538.
BuzzT is offline   Reply With Quote
Old Apr 8, 2008, 01:22 AM   #26
Alternative Audioproductions
 
TravelRec.'s Avatar
 
Join Date: Sep 2003
Location: Germany / Sachsen-Anhalt
Posts: 1,597
TravelRec. is on a distinguished road

You can use "Dynamics Processor" instead, itīs bundled with the driver.
TravelRec. is offline   Reply With Quote
Old Apr 8, 2008, 08:02 AM   #27
DriverHeaven Junior Member
 
Join Date: Aug 2007
Posts: 46
pkozerski is on a distinguished road

Quote:
Originally Posted by BuzzT View Post
Is there a version of the Automatic Gain Control V 2.0 for 3541 available? I had problems to install it since 3538.
This is my up
RapidShare: 1-Click Webhosting
3541 with many plugins, AGC is also there and it works ok with 3541
pkozerski is online now   Reply With Quote