Constant crackling on USB optical audio output (Edirol UA-1D)

I have a Edirol UA-1D USB digital optical and coax (SPDIF) audio device, hooked up by optical cable to an amp for playing music. No input is connected to the device. When the OS 10.4.5 iMac it is connected to is booted the device works fine, but after a while the output suddenly starts containing constant repetitive crackling on top of the audio. It may take 10 minutes for it to start, it may take an hour, it may even sometimes take several hours but it always starts sooner or later. Sometimes it eventually self-heals (to then start again sooner or later), sometimes not. It seems to happen randomly, there appears to be no association with any trigger event causing the noise to start.

Stopping iTunes audio output does not fix it nor does switching the sound output device back to the internal speaker then back to the Edirol. The only thing which stops it is disconnecting the device from the USB bus then reconnecting it, or rebooting OS X.

The same iMac can also boot MacOS 9.2.2 and Yellow Dog Linux 4.0.1. Without changing the hardware configuration I have had the Mac run MacOS 9.2.2 for a day using iTunes to play out on the same audio device, and I've had it running Yellow Dog Linux for 5 days using Amarok as the iTunes stand-in, and the Edirol has worked perfectly under both these OSs, suggesting that neither the Edirol nor the USB bus or hardware configuration is the cause of the problem.

I have done a complete clean (volume erase) reinstall of OS 10.4 from the distribution DVD thinking that there may be some kind of corruption or 3rd party software conflict on my main 10.4 volume, but the problem still happens in exactly the same way every time when booting from the clean volume.

I downloaded the AppleUSBAudio.kext extension source from www.opensource.apple.com, built it with extra logging enabled and installed it (it now generates lots of console logs when audio is started and stopped) to see if it logs anything when the crackling starts. It doesn't.

Has anyone else had these kind of problems and found any solutions? Does anyone have any hints as to what might be causing this to happen and what a possible solution might be? Please don't say "switch to Linux"...

iMac G4 800MHz Mac OS X (10.4.5)





Posted on Feb 25, 2006 2:55 AM

Reply
4 replies

Feb 25, 2006 10:31 PM in response to callmetim

I have had this exact same thing happen with a completely different audio interface (Griffin PowerWave) and Tiger using Peak LE 5 with CoreAudio (which is built into Tiger). The problem, I think (sent email to Griffin just yesterday and they have not had time to respond), is that CoreAudio by default wants to control the sample rate from within Tiger (Internal Clock Source) whereas my PowerWave also wants to control the sample rate, and doesn't seem to have a way to just let the CoreAudio do the sampling (i.e. there is no choice among clock sources). Since the sampling is being controlled from two locations at once instead of letting one device be a slave to the other, they drift in and out-of-sync with each other after a while which wreaks sonic havoc. Peak LE 5 WILL work with this PowerWave interface if I set the software to use the older OS X HAL rather than CoreAudio, which I am guessing allows the PowerWave to be the sole clock source.

If your audio interface has a CoreAudio driver available, there should be some way to select the clock source, which should hopefully cure the problem.

Feb 27, 2006 3:10 AM in response to TripleChime

Problem now solved, after many months of frustration. Check out this page:

http://forums.xlr8yourmac.com/action.lasso?-database=faq.fp3&-layout=FaqList&-re sponse=answer.faq.lasso&-recordID=34167&-search

Quite by chance, out of complete desperation, I'd moved my Edirol UA-1D to a different USB port (and the crackles stopped happening) before finding this page. Even before doing that it had been used under MacOS 9.2.2 and also Yellow Dog Linux 4.0.1 (on the same iMac) and had behaved perfectly, so the problem was clearly only in OS X.

What I can't explain is that the problem also happened with a clean erase and install of OS 10.4 (which I'd expect to reset the settings for a USB device), maybe the settings are kept in NVRAM...

Mar 1, 2006 12:51 AM in response to callmetim

This sampling frequency drift is really quite maddening. I actually managed to digitize one entire LP using the Tiger CoreAudio without having the two clock sources drift apart, but 80% of the time it sounds like a full-blast popcorn popper with just a little bit of music coming through due to the extreme amount of digital noise that occurs from the Mac and the interface being out-of-sync. I don't think my "legacy" Griffin PowerWave interface has a CoreAudio driver available. Be sure to check Edirol's website to see if one is available for your unit.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Constant crackling on USB optical audio output (Edirol UA-1D)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.