I am using a Tascam iM2 stereo mic connected to the dock of an iPhone 4S. When the peripheral device is connected directly, there is no problem. Hoever, when I use a dock extension cable, a strange harmonic noise is introduced. I have tried extension cables from different manufacturers, and even the highly rated dockXtender extension cable made by CableJive introduces the noise.

This is somewhat strange as the analogue-to-digital (bear with my British English) converter is built into the peripheral device. This is not analogue noise picked up in the cable as the signal is pure digital on route to the iPhone. The noise seems to be introduced in the digital domain. I recorded a sample of audio in my office and analysed it using Matlab. The noise fluctuates in amplitude, but it is clearly a harmonic complex with a very precise 1-kHz fundamental frequency. The ADC reportedly samples at 44.1 kHz, so it is particularly strange that the harmonic noise comes in with a periodicity that is not even an intiger multiple of the sampling period. As a side note, I have heard a similar harmonic noise in the past emitted from some laptop sound cards (specifically Vaio C1s models).

enter image description here

Given that the noise never fluctuates in frequency, testing has shown that I can remedy the problem by pre-processing with a fractional delay filter based on the information here . . . http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=951433 . . . but this is a computationally expensive filter to implement.

Prevention is better than cure. My question is, what is the origin of this strange harmonic noise and if possible, how do I remedy it so that I do not have to waste processing power implementing an additional filter?

  • 1
    This is a fascinating question, and I'd be interested in the answer, if you get one. The dockXtender cable you mention passes all the pins through, so it shouldn't be that. And since it's a been pre-converted to digital in the Tascam, there should be no analog noise from the environment affecting the cable. I realize you said all that already, but honestly it just doesn't make sense. Commented Mar 14, 2012 at 21:09
  • Also - In follow up to your flag, we did check with the EE site and this would get closed if asked there. Hit them up on chat to get their ideas why as written, it's not their cup of tea. It's fine here - many harder questions sit unanswered and some just take a few weeks to attract the right answerer. Without the moderator's OK-ing a transfer to another site, I don't feel comfortable moving it.
    – bmike
    Commented Mar 14, 2012 at 22:45
  • Ok - no real rush. Thanks for taking the time and effort to look into this for me bmike.
    – learnvst
    Commented Mar 14, 2012 at 23:01

3 Answers 3


What you are picking up is EMI from USB frame sync (most probably through the ground wire):

Every millisecond (12000 full-bandwidth bit times), the USB host transmits a special SOF (start of frame) token, containing an 11-bit incrementing frame number in place of a device address. This is used to synchronize isochronous data flows. High-bandwidth USB 2.0 devices receive 7 additional duplicate SOF tokens per frame, each introducing a 125 µs "microframe" (60000 high-bandwidth bit times each).

USB 2.0 added a PING token, which asks a device if it is ready to receive an OUT/DATA packet pair. The device responds with ACK, NAK, or STALL, as appropriate. This avoids the need to send the DATA packet if the device knows that it will just respond with NAK.

This could be avoided with a properly shielded extension cable. Note that even dockXtender only shields some of the wires:

A revolutionary 2-tier shielding system puts all video and audio signals inside a separate shielding to reduce interference from the other signals traveling through the wire.

If you're the DIY type of person it should be quite easy to make your own extension cable using high quality shielded wires. You will probably only need to connect just a few of the 30 pins: USB (power, gnd, data+/-), all GNDs and maybe accessory/serial (enable, rx/tx). Make sure you also shield the soldering on the connector.

  • "Every millisecond (12000 full-bandwidth bit times), the USB host transmits a special SOF (start of frame) token" This sounds promising!
    – learnvst
    Commented Mar 21, 2012 at 13:00
  • It may also explain why I have heard this type of audio contamination in laptop sound before!
    – learnvst
    Commented Mar 21, 2012 at 13:02
  • @learnvst - USB frame sync is 1kHZ, I really can't think of other source of EMI so bang on.
    – Vlad
    Commented Mar 21, 2012 at 13:46
  • Good call, I hadn't thought of the USB frame sync.
    – Adam Davis
    Commented Mar 22, 2012 at 0:13
  • 1
    "If you're the DIY type . . ", oh yes I am . . .electronics.stackexchange.com/questions/27337/…
    – learnvst
    Commented Mar 22, 2012 at 18:58

Since the A-D conversion is happening at the peripheral end, then the noise must also exist there.

Without access to the device for disassembly, I can only guess at the problem, but it's likely to be due to one or more of the following:

  • The peripheral is probably fully shielded internally from the microphones through the ipod connector. When you connect an unshilded extender cable, external environmental noise is coupled into the device through the cable. You might be able to confirm or dismiss this if you perform tests in electrically quiet areas - out in the middle of a field away from powerlines, for instance.

  • The peripheral has "just good enough" filtering, but once you add the extra length of wire reflections - which don't affect the USB signal - start to cause ground bounce or other EMI. There's no easy way to test for this without an oscilloscope and/or signal analyzer.

  • The peripheral has a 1kHz switching power converter (which may be required if, for instance, it used electrostatic microphones, certain high performance microphones, or provided "phantom power") and the extra cable length on the switching converter's input results in power signal reflections which would normally be clamped by the iOS device's power filters when they are electrically close. This too would require specialized equipment to test for.

  • There are high impedance lines usually shorted out in certain configurations in the peripheral to tell the iOS device how it plans to start communicating and what it requires in terms of power and communications. It's possible that lengthening those lines, being high impedance, couples noise into the peripheral.

  • This could be a typical ground loop problem. Simply adding a several longer ground wires, if they aren't correctly connected at the peripheral end, will cause odd current flow and may result in ground noise at the far end.

If you know which wires in the cable the peripheral actually uses (probably USB, power, and the serial wires) then you can probably craft a cable that would suit your needs and eliminate most of the above problems. You'd have to short the sense pins correctly at the iOS device end to eliminate the high impedance issue, and shield even the digital pins to eliminate EMI problems. You'll need to short the appropriate ground pins at both ends (be careful here - in some cases you want a separate ground wire - again, a careful analysis would need to be made of the peripheral to determine the correct way to short ground pins).

By eliminating the 20+ wires you don't need, and by shielding the remainder you might be able to eliminate all of the above problems.

However, unless Tascam comes out with their own extension cable, it's a long, difficult process. I'd suggest contacting them, showing them your results, and discussing possible solutions with them.


Given that this is a highly technical question and that you have done considerable work in documenting the problem, I suggest you take this up directly with the Tascam company's technical support staff. At the least, they would appreciate knowing about this problem.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .