crackling audio with PCM2704 and airplay

Hi,

I have a Raspberry PI with a PCM2704 DAC, bought for 2$ from ebay.
aliexpress.com/w/wholesale-pcm2704.html

The PI is connected by ethernet to my switch.

It is working very well (3.5 audio to headset) for music coming out of my NAS, but with Airplay from my iPhone, the sound is crackling at the same rhythm than the ethernet packets coming in, I see the cracks at the same time as the network LED is blinking.

Ideas welcome…
Charles

New bugfix version should solve this. Let me know

Hi,

I updated to 1.1beta, the “normal” playing using a NAS source or WebRadio works the same as before, but the Airplay issue is not yet fixed. It is different than before, the pops and cracks are not as loud, you could even miss them with loud stuff like rock, but with some smooth piano, you hear them every few seconds.

I have tried a different DAC, same problem.

Here are my two DAC lsmod’s :

Behringer UCA222

root@volumio:~# lsmod
Module                  Size  Used by
nfsd                  243441  2
ipv6                  304090  46
snd_bcm2835            16165  0
snd_soc_bcm2708_i2s     5474  0
regmap_mmio             2806  1 snd_soc_bcm2708_i2s
snd_soc_core          131268  1 snd_soc_bcm2708_i2s
snd_usb_audio         116191  2
regmap_spi              1897  1 snd_soc_core
snd_pcm                81593  4 snd_bcm2835,snd_usb_audio,snd_soc_core
snd_hwdep               5968  1 snd_usb_audio
snd_usbmidi_lib        18267  1 snd_usb_audio
snd_seq_midi            4682  0
snd_page_alloc          5156  1 snd_pcm
regmap_i2c              1645  1 snd_soc_core
snd_seq_midi_event      6551  1 snd_seq_midi
snd_compress            8076  1 snd_soc_core
snd_seq                53769  2 snd_seq_midi_event,snd_seq_midi
snd_timer              20133  2 snd_pcm,snd_seq
evdev                   9419  0
snd_rawmidi            21357  2 snd_usbmidi_lib,snd_seq_midi
leds_gpio               2059  0
led_class               3688  1 leds_gpio
snd_seq_device          6473  3 snd_seq,snd_rawmidi,snd_seq_midi
snd                    61291  14 snd_bcm2835,snd_usb_audio,snd_soc_core,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_seq_device,snd_compress
spi_bcm2708             4728  0
i2c_bcm2708             3949  0

Cheap 2704 DAC

root@volumio:~# lsmod
Module                  Size  Used by
nfsd                  243441  2
ipv6                  304090  62
snd_bcm2835            16165  0
snd_usb_audio         116191  2
snd_hwdep               5968  1 snd_usb_audio
snd_usbmidi_lib        18267  1 snd_usb_audio
snd_seq_midi            4682  0
snd_seq_midi_event      6551  1 snd_seq_midi
snd_rawmidi            21357  2 snd_usbmidi_lib,snd_seq_midi
snd_soc_bcm2708_i2s     5474  0
regmap_mmio             2806  1 snd_soc_bcm2708_i2s
snd_soc_core          131268  1 snd_soc_bcm2708_i2s
regmap_spi              1897  1 snd_soc_core
snd_pcm                81593  4 snd_bcm2835,snd_usb_audio,snd_soc_core
snd_page_alloc          5156  1 snd_pcm
regmap_i2c              1645  1 snd_soc_core
snd_compress            8076  1 snd_soc_core
snd_seq                53769  2 snd_seq_midi_event,snd_seq_midi
snd_timer              20133  2 snd_pcm,snd_seq
snd_seq_device          6473  3 snd_seq,snd_rawmidi,snd_seq_midi
leds_gpio               2059  0
led_class               3688  1 leds_gpio
evdev                   9419  0
snd                    61291  14 snd_bcm2835,snd_usb_audio,snd_soc_core,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_seq_device,snd_compress
spi_bcm2708             4728  0
i2c_bcm2708             3949  0

Hi Michaelangelo!
First of all, I’d like to congratulate all the developers for building such a nice system volumio.

Despite its nice interface and everything, I’d like to let you know that this built does not agree with my FiiO Olympus E10 which was previously working flawlessly with RaspyFi. Yes, I am a happy RaspyFi user and interested in migrating to volumio. When I connect my FiiO E10 to volumio, there are consistently crackling noises coming out! This does not happen with RaspyFi.

Thanks.

I get the same crackling sound when using airplay with my iphone or via itunes on Mac. Pi is connected to Cambridge Audio Azur 351A via USB. Any ideas?

And yes, obviously volumio is pretty damn fantastic. thank you

to remove crackeling sound replace dwc_otg.lpm_enable=0 for dwc_otg.speed=1 in cmdline.txt

this did it for me :laughing:

i don`t use wifi but the ethernet connection, and a cheap ebay pcm2704 soundcard with spdif out to my receiver.

Anybody managed to get this DAC working with the new version 1.4?

No - I have just installed v1.4 and I get no sound through this DAC. It works through the PI’s built in 3.5mm socket though. Does anyone have a fix for this?

Just wanted to give this a bump. I’ve not yet been able to get v1.4 working with this DAC. Has anybody managed to do this? If so, how?