"The AK4646 has a gain amplifier for microphone input. The gain of
MIC-Amp is selected by the MGAIN2-0 bits (Table 19). The typical input
impedance is 30kΩ (typ)."
In audio.c, ML enables microphone power by default, and in this case:
"When PMMP bit = “1”, the MPWR pin supplies power for the microphone.
This output voltage is typically 0.8 x AVDD and the load resistance is
minimum 0.5kΩ. In case of using two sets of stereo microphone, the
load resistance is minimum 2kΩ for each channel. "
There are quite a bit of issues saying certain microphones have low
input levels with Magic Lantern (e.g. Rode VideoMic). It may be
possible that the cause may be the lower input impedance caused by
forcing mic-power on, even if it's not needed.
Therefore, I've created an experimental changeset which adds mic power
control to the user interface, to see if it helps fixing low input
level issues:
https://bitbucket.org/hudson/magic-lantern/changeset/7e54c91ac878 550D
https://bitbucket.org/hudson/magic-lantern/changeset/c6497b2166dc 60D
I did not run this code yet, because I have no camera with me right
now (I'll test tonight). If you can compile this code and run some
tests, it would be great. If you want to run my untested
autoexec.bin's (for either 550D or 60D), just ask.
It certainly looks that disabling the mic power will remove approx 2k of (parallel) impedance from the input.
The internal microphone requires power, so disabling it only makes sense for modes that don't also use the internal mic.
It's also probably a good idea to offer a ext balanced only (no internal) option with power off, since the power configuration is incompatible with balanced mics anyway (see fig 23 as implemented by canon vs fig 22 requirement for balanced mic with power). This would allow powering balanced mics without any further decoupling capacitors.
Morgan.
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to ml-devel+u...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/ml-devel?hl=en
So, you suggest that, instead of a separate mic-power item in menu, we
should have these options under the input source?
- internal mic (power=1)
- int Left ext Right (power=1)
- external stereo (power=1)
- external stereo high-Z (power=0)
- int Left ext Balanced (power=1)
- Balanced high-Z (power=0)
- Auto int/ext (how to detect if a mic needs power or not?!)
Any suggestions about the wording for these options in the menu?
Additionally; A balanced mic will always "see" the 2k resistors. With mic power enabled this will present 2k impedance to AC ground on each side (not sure if this is equivalent to 1k in a balanced case or not?). With mic power disabled this will present 4k (2x2k in series) impedance across the balanced lines.
Hmm... also in the stereo case there is 4k between the channels (but not to AC ground), not sure what effect this will have.
Also powering a balanced mic without additional decoupling will mean that the internal mic is connected via a (star) network of 2k resistors, but "should" be getting zero volts (assuming all 2k resistors are of equal value). Either way it's probably safe, I'm just putting it here so people have been warned.
Morgan.
https://bitbucket.org/hudson/magic-lantern/changeset/195d5b97fc64
Can you suggest a better help text for this item? (58 characters max).
1) displays the digital gain used by AGC, when that setting is on;
2) allows you to change the digital output gain, which might increase
the volume for audio monitoring;
3) uses Morgan Look's masked_audio_ic_write to preserve the values of
some audio flags which seem unrelated to ML (effects of those flags
are unknown to me right now).
This patch should work unchanged on 550D and 60D, and maybe on 5D2 too.
Also, I've noticed that AGC is only applied in digital domain (i.e.
analog gain still has effect even if AGC is on, and this is confirmed
by the datasheet).
I don't have the cables with me right now to test it myself. Does it work?
If you don't know how to use a patch:
1) patch -p1 < audio.patch
2) http://magiclantern.wikia.com/wiki/Build_instructions/550D