|
|||||||||
|
Thread Tools | Search this Thread |
June 16th, 2009, 07:18 PM | #1 |
Wizard Status
Join Date: Jun 2005
Location: New York, NY
Posts: 239
|
Measuring audio noise levels with and without ALC
I have some audio samples that I've recorded with the Magic Lantern firmware using a JuicedLink CX231 and a mix of microphones with the 5D Mark II's ALC turned off. Unlike the Beachtek DXA5D "pilot tone", my firmware is turning the AGC off at the AK4646 chip and is also turning off the potentially noisy input gain stage (MGAIN2-0 bits in the datasheet). I have also turned off the high-pass and low-pass filters in the firmware, but am not certain if it matters.
I'd like to have a way to quantify how much the results are improved with these changes and am looking for suggestions on test conditions and software to measure the results. Elsewhere, Jon Fairhurst reported a -42 dB noise floor using a pilot tone. I'd like to know how my setup compares. Any ideas? |
June 16th, 2009, 09:42 PM | #2 |
Inner Circle
Join Date: May 2006
Location: Camas, WA, USA
Posts: 5,513
|
The simple way to test this is to play back the audio in most any editor and watch the meters during silence. In SoundForge 9 you can capture a noise print and see exactly what the frequency spectrum is.
With AGC on, I just assume that the input signal can go full scale, so you can just look at the typical level of the meters during silence. If you turn down the gain too far manually, it's possible that no matter how hot a signal you put in, you can't go full scale. That could give an overly optimistic noise reading. You might see -80dB levels during silence, but have a peak limit of only -30dB. In that case you have 50dB of dynamic range, rather than 80. I'd recommend turning down the 5D gain control to, say, 20%, and then crank the juicedLink up high and record yourself speaking very close to the mic. Play back the recording and ensure that your signal clips. If so, turn down the 5D gain and repeat. For fast turn around, assuming that you can adjust things live, make an adjustment, say "this is a gain of 20 percent, blah, blah, blah, and here are a few seconds of silence...", and then adjust and repeat. Now that you have found the optimum gain, connect a dummy connector to the 5D with the signal wires grounded. Record a few second of this, play it back and note the noise level. That will tell us the absolute best case of the 5D. This might not be the minimum system noise though. It might be that you have to crank the juicedLink full bore to get those levels, and now the juicedLink noise could become dominant. If that's the case, more measurements are needed. That initial number is helpful though. If you were to connect a CD player with the right pad to the 5D at this level, you could potentially record it with the noise that low. On the other hand, you might overdrive the input amp at that level and distort like hell. Anyway, in the next round of tests, you would turn up the gain on the 5D a bit, and test the juicedLink at a variety of levels, each time leaving a bit of time of silence. At some point, you'll find the minimum noise level at which the voice is undistorted. You'll need to do the test in a quiet environment. During silence, you might hold a box of foam over or in front of the mic. Leave the mic on a stand. If you handle it, you'll get low frequency handling noise. Again, a dummy connector can be used to remove mic self-noise and ambient noise. For reference, with a MicroTrackII, I found that I needed to set the gain at 50% (indicated) to allow full scale recording. I didn't do a dummy connector test. With a Rode NT1-A, I needed to set the juicedLink to M with the gain pot just over half way. The noise was around -70dB even with a computer running in the background. I could easily get full signal levels without audible distortion. If we can get the juicedLInk and 5D to that level, we'll really have something!
__________________
Jon Fairhurst |
June 16th, 2009, 10:11 PM | #3 | |
Wizard Status
Join Date: Jun 2005
Location: New York, NY
Posts: 239
|
Quote:
Since you have so much experience testing audio levels, I've sent you some sample audio files and "instructions" on how to make your own tests with your own camera. Thanks for the extensive writeup and good luck! |
|
June 16th, 2009, 11:59 PM | #4 |
Inner Circle
Join Date: May 2006
Location: Camas, WA, USA
Posts: 5,513
|
Thanks Tramm,
My first impressions of the audio files is that you've passed the proof of concept stage. We can get lower noise with your firmware than we can with a pilot tone. I'll need to dig in before I will know how good the results will be. My expectation is that, while nobody will be throwing away their SoundDevices 744T recorders, the 5D2 will record adequate sound for many users when coupled with a good preamp.
__________________
Jon Fairhurst |
June 17th, 2009, 12:20 AM | #5 |
Inner Circle
Join Date: Nov 2005
Location: Elk Grove CA
Posts: 6,838
|
Jon: What level of floor were you seeing ?
__________________
Chris J. Barcellos |
June 17th, 2009, 10:57 AM | #6 |
Inner Circle
Join Date: May 2006
Location: Camas, WA, USA
Posts: 5,513
|
Tramm sent an audio file, but there were no periods of true silence. If I were to guess, I'd say that we will get better than 60dB SNR. Tonight I should be able to get some real numbers - at least at one or two fixed gain levels.
One thing that is encouraging is that in the quiet moments, I didn't really hear much hiss. In a couple of quiet moments there were breaths, in a longer period there was cooking and A/C. That didn't let me get numbers, but the quality of these subtle sounds was good.
__________________
Jon Fairhurst |
June 17th, 2009, 01:14 PM | #7 | |
Major Player
Join Date: Apr 2008
Location: Beijing
Posts: 665
|
Quote:
Thanks Dan |
|
June 17th, 2009, 03:35 PM | #8 | |
Inner Circle
Join Date: May 2006
Location: Camas, WA, USA
Posts: 5,513
|
Quote:
After a quick test of audio supplied by Tramm, my guess is that we could hit 60dB or more with firmware gain control. I get 70dB or so with a Rode NT1-A/juicedLink CS231/Microtrack II with a computer running in the background. I'll know more specifics about the Magic Lantern solution tonight... One note: Noise reduction was very successful on Chris' clip. However, in my experience, when you add broadband hiss to environmental sounds like cars and HVAC, noise reduction falls apart really quickly. Given that, you might use the DXA5D into the 5D indoors when you can turn off the AC. When recording outdoors, or when you can't get the mic really close to the subject, I'd break out the separate recorder, just to be safe. I use the NR in SoundForge 9 and in GoldWave (cheap and very good!) on the PC. Apple's Soundtrack also has nice NR.
__________________
Jon Fairhurst |
|
June 17th, 2009, 08:09 PM | #9 | |
Wizard Status
Join Date: Jun 2005
Location: New York, NY
Posts: 239
|
Quote:
I have loop-through mode working, so live audio monitoring via the A/V jack works! And, since my firmware over-rides Canon's hotplug_task(), plugging in a connector to the A/V jack does not switch to composite video mode. There doesn't appear to be any obvious hum in the audio when I do this, so my guess is that the video circuit is what causes it. |
|
June 17th, 2009, 08:21 PM | #10 |
Inner Circle
Join Date: Nov 2005
Location: Elk Grove CA
Posts: 6,838
|
More great news Tramm.
I know you are a busy guy, but out of curiousity, when you disable the AV out, does that also disable HDMI out ?
__________________
Chris J. Barcellos |
June 17th, 2009, 08:33 PM | #11 | |
Wizard Status
Join Date: Jun 2005
Location: New York, NY
Posts: 239
|
Quote:
The other major problem with the HDMI output is the mode switch when recording starts. I haven't even started to look into that since I don't have an HDMI field monitor. There isn't any reason that I can think of for it to make that switch. |
|
June 17th, 2009, 08:47 PM | #12 | |
Inner Circle
Join Date: Nov 2005
Location: Elk Grove CA
Posts: 6,838
|
Quote:
__________________
Chris J. Barcellos |
|
June 18th, 2009, 12:45 AM | #13 |
Inner Circle
Join Date: May 2006
Location: Camas, WA, USA
Posts: 5,513
|
I don't have a full report yet, but the audio tests are REALLY promising. The noise floor is lower than I expected.
One problem is that there is some low frequency noise, which is possibly just a DC offset that moves around a bit. This is present on the pilot tone clips as well. This LF junk pushes the meters far above where they should be. At worst, we will want to add a subsonic filter or LF shelf in post. The good news is that the pilot tone method isn't as bad as I thought. The better news is that with the gain fixed in firmware, the noise is significantly lower still. Tomorrow I have another commitment, but by the weekend, I should be able to present some screen captures, numbers, and audio clips. The bottom line is that fixed gain is possible in firmware, and the hardware can deliver the goods.
__________________
Jon Fairhurst |
June 18th, 2009, 01:55 AM | #14 |
Inner Circle
Join Date: Nov 2005
Location: Elk Grove CA
Posts: 6,838
|
Jon: Thanks for that encouraging news. I had some feeling that the sound we were getting with pilot tone was promising, ie, the sound itself seemed real clean in the audible range. I had thought it was bleed from the tone side, but sounds like you found another source.
__________________
Chris J. Barcellos |
June 18th, 2009, 10:35 AM | #15 | |
Inner Circle
Join Date: May 2006
Location: Camas, WA, USA
Posts: 5,513
|
Quote:
1) DC/Low Frequencies: Both the pilot tone and manual gain tests have LF problems. This can be remedied in post. I can reduce the resting level of the meters by over 20 dB with a subsonic filter. 2) Pass band: The pilot tone method has noise throughout. The gain reduction method has almost none. The difference is 20 dB or more. 3) High Frequencies: On the pilot tone method, you can see the noise drop to almost nothing somewhere around 16 kHz. I presume that this is the anti-aliasing filter. It's hard to see that drop off with the manual gain method, as the noise is already near that level. 4) The pilot tone: Yes, there's some bleed at the frequency of choice. That doesn't apply with the fixed gain situation. For anybody recording into the 5D from an external source, apply EQ with a low frequency shelf at -Inf. That should calm your meters so they more accurately reflect the noise of the system.
__________________
Jon Fairhurst |
|
| ||||||
|
|