|
| Notices |
Welcome to the DriverHeaven.net forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
 |
Mar 21, 2005, 03:37 AM
|
#1
|
|
DriverHeaven Addict
Join Date: Dec 2002
Posts: 259
|
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.
|
|
|
Mar 21, 2005, 05:41 AM
|
#2
|
|
DriverHeaven Lover
Join Date: Jan 2005
Location: Italy
Posts: 192
|
... 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!
|
|
|
Mar 21, 2005, 11:13 AM
|
#3
|
|
DriverHeaven Senior Member
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,778
|
Great tool eyagos. I've always liked your AGCs!
/LeMury
|
|
|
Mar 21, 2005, 06:00 PM
|
#4
|
|
DriverHeaven Extreme Member
Join Date: Jan 2005
Posts: 4,104
|
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
|
|
|
Mar 22, 2005, 05:01 PM
|
#5
|
|
DriverHeaven Addict
Join Date: Dec 2002
Posts: 259
|
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.
|
|
|
Mar 22, 2005, 05:27 PM
|
#6
|
|
DriverHeaven Extreme Member
Join Date: Jan 2005
Posts: 4,104
|
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
|
|
|
Mar 22, 2005, 05:39 PM
|
#7
|
|
DriverHeaven Senior Member
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,778
|
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
|
|
|
Apr 21, 2005, 04:24 AM
|
#8
|
|
DriverHeaven Junior Member
Join Date: Jun 2004
Posts: 21
|
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
|
|
|
Apr 21, 2005, 06:38 PM
|
#9
|
|
DriverHeaven Junior Member
Join Date: Jun 2004
Posts: 21
|
No Prob.s!
What the heg, No problems now! (shit happens when You are tired)
Thanks again! Matti
|
|
|
Dec 18, 2005, 11:36 AM
|
#10
|
|
DriverHeaven Newbie
Join Date: Dec 2005
Posts: 4
|
is there version for 3537 ?
|
|
|
Mar 27, 2006, 02:11 PM
|
#11
|
|
DriverHeaven Senior Member
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 444
|
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!
|
|
|
Mar 27, 2006, 02:19 PM
|
#12
|
|
DriverHeaven Extreme Member
Join Date: Jan 2005
Posts: 4,104
|
Which version did you download. The 3538i version should work with 3538j (works for me).
|
|
|
Mar 27, 2006, 03:11 PM
|
#13
|
|
DriverHeaven Senior Member
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 444
|
3538i is the version i have (of agc 2.0) and the 3538j driver
|
|
|
Mar 27, 2006, 03:21 PM
|
#14
|
|
DriverHeaven Extreme Member
Join Date: Jan 2005
Posts: 4,104
|
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.
|
|
|
Mar 27, 2006, 04:00 PM
|
#15
|
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,721
|
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.
|
|
|
Mar 27, 2006, 04:02 PM
|
#16
|
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,721
|
Oh - DONT register the DA - I think I only register a single KXL file...
Im thinking registering the DA messed you up...
|
|
|
Mar 27, 2006, 07:25 PM
|
#17
|
|
DriverHeaven Senior Member
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 444
|
how can i unregister and reregister the plugin?
|
|
|
Mar 27, 2006, 07:32 PM
|
#18
|
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,721
|
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.
|
|
|
Mar 27, 2006, 07:52 PM
|
#19
|
|
DriverHeaven Senior Member
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 444
|
global reset worked, just had to reload the plugins i use... Thanks for your help 
|
|
|
Oct 4, 2006, 09:32 AM
|
#20
|
|
DriverHeaven Lover
Join Date: Dec 2002
Location: Sofia, Bulgaria
Posts: 136
|
can you make AGC work with 3538l?
|
|
|
Nov 24, 2006, 02:42 AM
|
#21
|
|
DriverHeaven Newbie
Join Date: Sep 2006
Location: cebu, philippines
Posts: 9
|
can you please post the AGC algorithm. thanks!
|
|
|
Mar 21, 2007, 11:09 PM
|
#22
|
|
DriverHeaven Newbie
Join Date: Sep 2006
Posts: 13
|
*bump*
|
|
|
Sep 10, 2007, 11:34 PM
|
#23
|
|
DriverHeaven Newbie
Join Date: Jan 2006
Location: Aussie
Posts: 5
|
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!
|
|
|
Nov 4, 2007, 06:39 AM
|
#24
|
|
DriverHeaven Lover
Join Date: Jul 2006
Posts: 129
|
Is there a version for 3538m
|
|
|
Apr 7, 2008, 04:42 PM
|
#25
|
|
DriverHeaven Junior Member
Join Date: Aug 2006
Location: Germany
Posts: 24
|
Is there a version of the Automatic Gain Control V 2.0 for 3541 available? I had problems to install it since 3538.
|
|
|
Apr 8, 2008, 01:22 AM
|
#26
|
|
Alternative Audioproductions
Join Date: Sep 2003
Location: Germany / Sachsen-Anhalt
Posts: 1,597
|
You can use "Dynamics Processor" instead, itīs bundled with the driver.
|
|
|
Apr 8, 2008, 08:02 AM
|
#27
|
|
DriverHeaven Junior Member
Join Date: Aug 2007
Posts: 46
|
Quote:
Originally Posted by BuzzT
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
|
|
|
|
|