RaspyFi - Topic: usb dac pcm2704 http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/ Simple:Press Version 5.2.6 admin on usb dac pcm2704 http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p561 Compatibility List http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p561 You're right I don't....
I want to investigate this...
So, you've got right NAS parameters in etc/auto.conf
You've got the latest kernel fix

The last option is that you're updating your db while playing... This stresses a lot the lan connection... Could you please paste the output of:
cat /proc/asound/card0/pcm0p/sub0/hw_params

Let me know...

But I think maybe that this receiver doesn't really work on RaspyFi... Could you please also post
lsusb

and

sudo aplay -l

Thanks

]]>
Tue, 02 Jul 2013 11:30:24 +0200
kew1 on usb dac pcm2704 http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p537 Compatibility List http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p537

admin said

I think you're too short on buffering:
audio_buffer_size "2048"
buffer_before_play "10%"
Then reboot and let me know.

You are not going to like this.

I took a ordinary raspbian distribution (not raspyfi), copied it onto an sd card, installed samba, mpd and alsa to give mpd network access to music files on my network. This plays through the usb dac with NO glitches. So I'm afraid it must be the raspyfi distribution that is causing them. This is also while running a vncserver and the raspbian desktop.

]]>
Sun, 30 Jun 2013 10:30:42 +0200
akz on usb dac pcm2704 http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p529 Compatibility List http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p529 I have this exact DAC!
Haven't really experimented since I've been getting my pi to work smoothly.

If anyone manages to get smooth sound from it on XBIAN, please drop me a line because I have no clue how to set it up..

]]>
Sat, 29 Jun 2013 12:57:26 +0200
kew1 on usb dac pcm2704 http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p528 Compatibility List http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p528 These are the values I'm using now (I went back to them a few posts ago).

]]>
Sat, 29 Jun 2013 10:37:41 +0200
admin on usb dac pcm2704 http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p527 Compatibility List http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p527 I think you're too short on buffering:

audio_buffer_size "2048"
buffer_before_play "10%"

Then reboot and let me know.

]]>
Sat, 29 Jun 2013 09:57:30 +0200
kew1 on usb dac pcm2704 http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p526 Compatibility List http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p526 Well after quite a bit of testing, I have to conclude it is the usb on the pi, because:

1) running the same sound files through the usb audio dac on another computer does not have any glitches (so it's not this usb dac),

2) sound through the Pi's analogue output (or HDMI when using raspbmc) does not have any glitches (so it's not the ethernet-working),

3) sound through the Pi using the usb dac DOES have glitches, even using ramplay, and

4) sound through the Pi using a powered usb hub and then the usb dac also glitches (so it's not the power supply).

Back to using the analogue jack for now.

]]>
Sat, 29 Jun 2013 08:34:56 +0200
admin on usb dac pcm2704 http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p495 Compatibility List http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p495 "The mount command options rsize and wsize specify the size of the chunks of data that the client and server pass back and forth to each other. If no rsize and wsize options are specified, the default varies by which version of NFS we are using. The most common default is 4K (4096 bytes), although for TCP-based mounts in 2.2 kernels, and for all mounts beginning with 2.4 kernels, the server specifies the default block size."

http://nfs.sourceforge.net/nfs.....01s05.html

This means, that by separating the chunks of data into smaller blocks, we tend to slow down transmission speed in favour of a more accurate stream of data. If we do increase this sizes, also, mpd should wait for a bigger chunk to be completed, and so comes stuttering.

]]>
Tue, 25 Jun 2013 17:47:11 +0200
kew1 on usb dac pcm2704 http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p489 Compatibility List http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p489 It seems to have worked (thanks), but I still hear the occasional blip. Why does decreasing the rsize work?

I like to listen to a 1 or 2 hour long radio music programme that's broadcast at 11pm here. So I record it on a separate computer and listen to it the next day.
I've written a small batch file to break it into 5 minute chunks using mp3split (then I can fast forward through it without having the lost connection problems with a large mp3 file) and then ftp those to /run/shm on the pi and then use mpc to cause a filebase update so it is all ready for me to listen to the next morning!

]]>
Tue, 25 Jun 2013 03:31:39 +0200
admin on usb dac pcm2704 http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p469 Compatibility List http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p469 Use this parameters for the Nas, in /etc/auto.nas

Nas -fstype=cifs,file_mode=0777,dir_mode=0777,iocharset=utf8,sec=ntlm,rsize=2048,wsize=4096,cache=strict,username=pi,password= ://192.168.nasip/sharename

This will solve your issue.

]]>
Mon, 24 Jun 2013 13:03:41 +0200
kew1 on usb dac pcm2704 http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p467 Compatibility List http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p467 Some more experience with this to report. Making those changes in mpd.conf haven't really changed things, so I've gone back to the original values for audio_buffer_size (2048) and buffer_before_play (10%). Playing music with RAMPLAY has no dropouts, so I still think it is the pi's (not very good) ether-networking. I have wired ethernet, so I don't see how going to a usb wifi will help.

These random dropouts don't happen with raspbmc playing music (or videos, which are far more demanding) from nas so it is possible.

]]>
Mon, 24 Jun 2013 06:13:38 +0200
birca1987 on usb dac pcm2704 http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p451 Compatibility List http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p451 Try a usb wi-fi stick and this will solve your problem

]]>
Sat, 22 Jun 2013 13:39:53 +0200
kew1 on usb dac pcm2704 http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p445 Compatibility List http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p445 The latest beta version.

in mpd.conf,
audio_buffer_size "384"
buffer_before_play "100%

for the reasons given in that link.

The pops are not constant at all; more like a very brief dropout every couple of minutes or so. They are random, not repeatable, and I know they are not in the original source file music. I've changed the power supply for a better one, but they are still happening. They seem to be worse with nas sourced music, so maybe it is the ethernet interface. Very hard to quantify, but they are annoying and shouldn't be there at all.

]]>
Fri, 21 Jun 2013 15:03:41 +0200
admin on usb dac pcm2704 http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p443 Compatibility List http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p443 What RaspyFi version are you using?
What fix did you apply exactly? The pops are coming out constantly or when?

]]>
Fri, 21 Jun 2013 13:48:42 +0200
kew1 on usb dac pcm2704 http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p433 Compatibility List http://www.raspyfi.com/forum/compatibility-list/usb-dac-pcm2704/#p433 My pcm2704 usb dac finally arrived from DealExtreme a few days ago. dx.com/p/usb-dac-pcm2704-decoder-red-172991 Been listening to it and it does seem "better" than the pi's audio output jack, maybe the bass is tighter or something. I don't have "golden ears" so I'm never really convinced by the noises made by audio enthusiasts, especially the ones who can hear differences in power cables...

Anyway one thing I did notice was that there were very occasional dropouts (hiccups) in the music that I'm sure aren't there when using the pi's audio out. This post
http://www.raspberrypi.org/php.....;start=104
sounded like the same problem. I made the changes suggested and it seems to have fixed the problem, but what do you blokes think?

ps why does putting http etc in front of a link cause it to disappear in posts on this forum?

]]>
Thu, 20 Jun 2013 08:00:44 +0200