If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
deleted by uploader
Re: AGC to keep audio energy to some target level
martinvicanek wrote:The original idea of the device was to avoid clipping, so it will only reduce, not increase volume automatically. I thought about adding a Reset button, but that would be the same as turning up the Volume knob which is already there. Would it make sense to add an option for automatic gain build-up at some (adjustable) rate like 0.1 dB per second? It would go on until it hits the limit, gain is reduced, starts to creep up again, and so on? Is there a better way?
https://www.youtube.com/watch?v=EJ7Pu93x_gk
A correct one need ACG + LIMITER
Your control level is nice martin but is slow, and not provide anyway to recover the volume
Again a correct system should target signal to some specific level, for sure preferred in LUFS not in dbfs
I love your example, you think is possible speedup the process?
idea of recover level at 01.db per second, is ultra slow.
About how prevent clip again, I think signal shoul be metered before apply any increase, in that way you not increase unlimited making audio clip again. Meter before make audio go up is needed.
That's work? What you think?
Can be done this with lufs not with dbsfs ?
And I think a compressor/limiter is needed for handle audio with that under little range.........but out of that range use your method for up and down the level.
I think something like this Frankestein work.
What you think?
-
ElCuco - Posts: 23
- Joined: Sat May 16, 2015 3:10 am
Re: AGC to keep audio energy to some target level
Check this example, do veryell but sound really bad.
MMM I think should be some combination of this with your example.
MMM I think should be some combination of this with your example.
- Attachments
-
- limit test.fsm
- (50.86 KiB) Downloaded 893 times
-
ElCuco - Posts: 23
- Joined: Sat May 16, 2015 3:10 am
Re: AGC to keep audio energy to some target level
Just a classic AGC...
- Attachments
-
- AGC (MyCo).fsm
- (146.41 KiB) Downloaded 948 times
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
Re: AGC to keep audio energy to some target level
Wow Myco, you construct this?
Is very accurate, super clean sound and soft work, is very good.
Anyway with AMP to 0db the audio clip.
And some times audio sound very distorted and I have to move the amp knob and that stop the distortion and back all to normal.
I testing this a lot, when this troubles not happen, wow is very good.
Is very accurate, super clean sound and soft work, is very good.
Anyway with AMP to 0db the audio clip.
And some times audio sound very distorted and I have to move the amp knob and that stop the distortion and back all to normal.
I testing this a lot, when this troubles not happen, wow is very good.
-
ElCuco - Posts: 23
- Joined: Sat May 16, 2015 3:10 am
Re: AGC to keep audio energy to some target level
The distortion could happen when the measured amplitude in the Envelope follower drops very low (the input is just above noise floor). In that case when a spike come in, it is amplified a lot more than necessary due to the attack time. You can look at the dB output in the attached schematic. When you hear the distortion, the readout should read very low.
BTW: when you want to try out a ridiculous advanced AGC, try this chrome plugin:
https://chrome.google.com/webstore/deta ... odgcoklfio
BTW: when you want to try out a ridiculous advanced AGC, try this chrome plugin:
https://chrome.google.com/webstore/deta ... odgcoklfio
- Attachments
-
- AGC 2 (MyCo).fsm
- (145.69 KiB) Downloaded 948 times
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
Re: AGC to keep audio energy to some target level
Yes, MyCo, that's a better approach to AGC. There will be some slight distortion from the envelope follower ripples, noticeable for low frequency input at short attack/decay settings. Moreover, if you set target level to 0 dB it will clip because (1) the envelope follower does not quite measure the peak level and (2) clipping occurs at 0.99 not 1.0. But that's really only nitpicking, the schematic does its job well for reasonable settings.
-
martinvicanek - Posts: 1328
- Joined: Sat Jun 22, 2013 8:28 pm
Re: AGC to keep audio energy to some target level
Myco you are right, that google plugin do the job in a perfect way, will be nice your AGC can do the same. a single knob or slider for adjust all.
Will be usefull for you the source code of that chrome extension?
Will be usefull for you the source code of that chrome extension?
-
ElCuco - Posts: 23
- Joined: Sat May 16, 2015 3:10 am
Re: AGC to keep audio energy to some target level
I've been working on the Chrome plugin, so I know the real source. However, I'm not allowed to talk about how it works...
BTW: The JavaScript source is pretty useless, as it is just compiler output.
BTW: The JavaScript source is pretty useless, as it is just compiler output.
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
Re: AGC to keep audio energy to some target level
Oh!
Mmmm bad news, so we never see something working in similar way in Flowstone.............well not with my knowledge lol.
Myco, can do something for improve your FSM , please!
Mmmm bad news, so we never see something working in similar way in Flowstone.............well not with my knowledge lol.
Myco, can do something for improve your FSM , please!
-
ElCuco - Posts: 23
- Joined: Sat May 16, 2015 3:10 am
Re: AGC to keep audio energy to some target level
AGC, myco design is not correct, first -40 noisefloor is not used as standard, also adding -40 won't make any difference, also 0 dB doesn't make any sense????? just few over cpu cycles... If you ask me, you can try FOLDBACK waveform design with limiter, that's what your after, I don't think you probably understood AGC , when AGC used in MOBILE, ADVANCED CARS, Limiters are not used, AGC is actually automatically kind of LIMITER/EXPANDER.
I am into sound reinforcement business 25+ years of experience as manufacturer, advanced level technician, etc and I don't think you understand yourself what your asking. AGC is different it's kind Automatic Gain adjuster, but NOT NOISEFLOOR. GAIN is magnitude of power . Noisefloor is dynamic range. Hope you understood. Anyhow foldback with limiter, this way it won't clip as well limiter (up/down) will perfectly adjust It, use BRICKWALL for that purpose.
Myco make something this:
dBFS input detect values assume -80 dB. Automatic gain, in*(in^2). Rather sound clips limit gain, remember ur doubling power. Brickwall. So values dont exceed and limits automatically. That would be AGC
I am into sound reinforcement business 25+ years of experience as manufacturer, advanced level technician, etc and I don't think you understand yourself what your asking. AGC is different it's kind Automatic Gain adjuster, but NOT NOISEFLOOR. GAIN is magnitude of power . Noisefloor is dynamic range. Hope you understood. Anyhow foldback with limiter, this way it won't clip as well limiter (up/down) will perfectly adjust It, use BRICKWALL for that purpose.
Myco make something this:
dBFS input detect values assume -80 dB. Automatic gain, in*(in^2). Rather sound clips limit gain, remember ur doubling power. Brickwall. So values dont exceed and limits automatically. That would be AGC
- mrking
- Posts: 16
- Joined: Tue Mar 10, 2015 8:58 pm
Who is online
Users browsing this forum: No registered users and 65 guests