Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Recording
| | |-+  5 AGC-options: What exactly are the differences?
« previous next »
  • Print
Pages: [1]

Author Topic: 5 AGC-options: What exactly are the differences?  (Read 8386 times)

Offline Arni

  • Member
  • *
  • Posts: 16
    • Arni´s TOTO-site
5 AGC-options: What exactly are the differences?
« on: September 27, 2006, 08:21:52 AM »
I realized AGC-fast for speech goes down AND up at a decent speed.
AGC-safety clip: it goes down, but when i start at gain +5dB and it should be +15dB for recording radio, it goes up to maybe +6 or +7dB after several hours but not to +15dB gain.
Is the safety-clip setting more kind of LIMITER  (fast down but no or very slow up movement)???
AGC would fit perfectly for live-music-recordings IF it would NEVER increase the levels but only decrease them for not clipping.

maybe one of the developers could modify the coding for 1 of these 5 settings...the live-music setting....to prevent from boosting levels?!  ::)
or rename the live-music seting to "concert-taper"-setting and do the modifications mentioned above?!  ::)
thx for your input
arni(vienna)
« Last Edit: September 27, 2006, 08:45:48 AM by Arni »
Logged
Iriver H120 rockboxed
DPA 4061´s omnidirectional mics
SP-SPBS-9 (12v battery box)

Offline Datman

  • Member
  • *
  • Posts: 105
Re: 5 AGC-options: What exactly are the differences?
« Reply #1 on: September 28, 2006, 04:19:14 AM »
Could be added settings for attack, release, ratio and similar parameters?
Logged

Offline petur

  • Developer
  • Member
  • *
  • Posts: 769
  • wtb: time
Re: 5 AGC-options: What exactly are the differences?
« Reply #2 on: September 28, 2006, 05:14:16 AM »
Quote from: Arni on September 27, 2006, 08:21:52 AM
AGC-safety clip: it goes down, but when i start at gain +5dB and it should be +15dB for recording radio, it goes up to maybe +6 or +7dB after several hours but not to +15dB gain.
Is the safety-clip setting more kind of LIMITER  (fast down but no or very slow up movement)???
AGC would fit perfectly for live-music-recordings IF it would NEVER increase the levels but only decrease them for not clipping.

WHOA!

thanks, you just confirmed my suspicion that there's a bug in AGC Safety. I've seen it increase levels on a very quiet recording. I was beginning to doubt my initial gain setting and blaming it on bad memory.

This is a bug. AGC Safety should *never* increase levels, only lower them if there's a risk of clipping (I think it kicks in when the signal comes above -3dB)

Please create a bug entry in the tracker.
Logged

Offline petur

  • Developer
  • Member
  • *
  • Posts: 769
  • wtb: time
Re: 5 AGC-options: What exactly are the differences?
« Reply #3 on: October 01, 2006, 06:16:06 AM »
should be fixed now, please let me know if it acts up again ;)
Logged

Offline Arni

  • Member
  • *
  • Posts: 16
    • Arni´s TOTO-site
Re: 5 AGC-options: What exactly are the differences?
« Reply #4 on: October 01, 2006, 07:50:01 AM »
Quote from: petur on October 01, 2006, 06:16:06 AM
should be fixed now, please let me know if it acts up again ;)
ok, will start an 8 hours testrecording from radio now and let you know.
thanx petur!  ;)

ähm... ;D in which build will the fix be released? me dumbhead HAHA!
Logged
Iriver H120 rockboxed
DPA 4061´s omnidirectional mics
SP-SPBS-9 (12v battery box)

Offline pabouk

  • Member
  • *
  • Posts: 387
Re: 5 AGC-options: What exactly are the differences?
« Reply #5 on: October 01, 2006, 09:34:07 AM »
It is in the current CVS build: http://www.rockbox.org/cvs.shtml
Logged

Offline Arni

  • Member
  • *
  • Posts: 16
    • Arni´s TOTO-site
Re: 5 AGC-options: What exactly are the differences?
« Reply #6 on: October 02, 2006, 01:37:38 PM »
hi petur,
i just tested the 20061002 build and the saftey-clip mode seems to work perfekt now.
i set the gain on line-in for an fm-recording to -10dB to keep the peak levels very low and during 1h15min it stayed at -10dB, so no boosting of gain anymore!  ;D
thx great work!
arni
Logged
Iriver H120 rockboxed
DPA 4061´s omnidirectional mics
SP-SPBS-9 (12v battery box)

Offline petur

  • Developer
  • Member
  • *
  • Posts: 769
  • wtb: time
Re: 5 AGC-options: What exactly are the differences?
« Reply #7 on: October 02, 2006, 01:58:39 PM »
Quote from: Arni on October 02, 2006, 01:37:38 PM
i just tested the 20061002 build and the saftey-clip mode seems to work perfekt now.
i set the gain on line-in for an fm-recording to -10dB to keep the peak levels very low and during 1h15min it stayed at -10dB, so no boosting of gain anymore!  ;D
I hope you mean +10dB

I wouldn't set line levels much below 0dB as the negative gain is done by the decimator. If your signal clips at 0dB, it will be clipped and a bit smaller when using negative gain.
Logged

Offline Arni

  • Member
  • *
  • Posts: 16
    • Arni´s TOTO-site
Re: 5 AGC-options: What exactly are the differences?
« Reply #8 on: October 02, 2006, 04:17:11 PM »
Quote from: petur on October 02, 2006, 01:58:39 PM
Quote from: Arni on October 02, 2006, 01:37:38 PM
i just tested the 20061002 build and the saftey-clip mode seems to work perfekt now.
i set the gain on line-in for an fm-recording to -10dB to keep the peak levels very low and during 1h15min it stayed at -10dB, so no boosting of gain anymore!  ;D
I hope you mean +10dB

I wouldn't set line levels much below 0dB as the negative gain is done by the decimator. If your signal clips at 0dB, it will be clipped and a bit smaller when using negative gain.
nope i meant -10dB  ;D to make sure it´s 100% too low, when recording from fm(carbon cable antenna coming out of my wall connected to my standalone-fm-tuner which is connected to the iriver´s line-in) the AGC is balanced(reaches it´s maximum peak )between -5dB and -3dB. when recording FM with the headphones as antenna, it reaches it´s maximum peak at a gain of +13dB as the signal is much weaker and needs more amplification.
« Last Edit: October 02, 2006, 04:30:49 PM by Arni »
Logged
Iriver H120 rockboxed
DPA 4061´s omnidirectional mics
SP-SPBS-9 (12v battery box)

Offline whatboutbob

  • Member
  • *
  • Posts: 178
Re: 5 AGC-options: What exactly are the differences?
« Reply #9 on: October 06, 2006, 08:28:52 PM »
petur: any chance you could make it so that AGC never goes into negative gain? (for the reason you stated above)
Logged

Offline petur

  • Developer
  • Member
  • *
  • Posts: 769
  • wtb: time
Re: 5 AGC-options: What exactly are the differences?
« Reply #10 on: October 07, 2006, 04:18:04 AM »
sure, but that would be a bit against the RockBox policy of giving full flexibility. So there should come a minimum AGC gain setting ;)
Logged

Offline Arni

  • Member
  • *
  • Posts: 16
    • Arni´s TOTO-site
Re: 5 AGC-options: What exactly are the differences?
« Reply #11 on: October 07, 2006, 04:24:33 AM »
Quote from: petur on October 07, 2006, 04:18:04 AM
sure, but that would be a bit against the RockBox policy of giving full flexibility. So there should come a minimum AGC gain setting ;)
and i would have clipping when recording radio from cable-source(not headphones as antenna) where i need -4.5dB for "Bayern 3" for instance as the signal comin out of my wall is pretty strong for this station.
thx for NOT changing anything petur  ::)
Logged
Iriver H120 rockboxed
DPA 4061´s omnidirectional mics
SP-SPBS-9 (12v battery box)

Offline whatboutbob

  • Member
  • *
  • Posts: 178
Re: 5 AGC-options: What exactly are the differences?
« Reply #12 on: October 07, 2006, 05:16:32 AM »
Quote from: petur on October 07, 2006, 04:18:04 AM
sure, but that would be a bit against the RockBox policy of giving full flexibility. So there should come a minimum AGC gain setting ;)

I just can't see any point to applying negative gain...ever...but especially with the AGC (ie when you know you're clipping).  Am I missing something?

It doesn't bother me as a rockbox user, because I understand the concepts and can be careful to avoid the situation...but there are plenty of users who don't understand and think 'well...my peak meters say its not clipping so it mustn't be'.
Logged

Offline petur

  • Developer
  • Member
  • *
  • Posts: 769
  • wtb: time
Re: 5 AGC-options: What exactly are the differences?
« Reply #13 on: October 07, 2006, 07:48:40 AM »
As Arni wrote (and I have verified in the past) you can have a strong signal (almost clipping) with a negative gain and it may still not clip.

How this is possible, I don't know. But I did tests with a signal that clipped at 0dB and didn't at about -5dB.

See here:
http://forums.rockbox.org/index.php?topic=2513.msg44335#msg44335
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Recording
| | |-+  5 AGC-options: What exactly are the differences?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.098 seconds with 16 queries.