tc-fi you are right. Hope you and the other great users can understand that I'm a bit overwhelmed right now. I'm currently focusing on the next big thing after RaspyFi… I'm currently looking all the forum threads which need help, but time is not on my side.
Be patient then, I'm still here. Just preparing something big for all of you guys .
Which is the issue that is concerning you more than others?
Hi,
Just looking for some insight into this issue (text of post below)
http://www.raspyfi.com/forum/r…..th-smooth/
=======
I tested WebGUI playback of 24/96 ALAC files using WiFi then ETH. Files are on a Server. Note,16/44 files are no problem on WiFi. Results below,
- WiFi: 24/96 regular dropouts occur every second or so
- ETH: 24/96 no dropouts
Here is my config:
1. Raspberry Pi Model B rev 2 (512 MB)
2. Edimax 150 Mbps Wireless 11n Nano Size USB Adapter (EW-7811UnR2)
3. HP North American Power Charger FB341AA#ABA for HP 9.7'' 16GB,32GB TouchPad
4. SanDisk Extreme 8 GB SDHC Class 10 UHS-1 Flash Memory Card 80MB/s (SDSDXS-008G-AFFP)
=======
It's behaving like a buffer under run i.e., the music briefly stops then resumes. 16/44 files are ok. It's just the 24/96 files that cause the issue. Are there some settings that I could explore?
Regards,
tc-fi
Hi
If wired ethernet is working correctly, then it is likely that the Wireless connection cannot keep up with the demanded data rate . Remember that as wireless signal strength decreases and signal quality degrades, the data rate of the system reduces rapidly. In my experience the small-format usb wifi adapters have very poor antennas and unless there is an extremely strong wifi signal present, performance will be disappointingly poor. Try doing some tests with your system in the desired location to see what data rate with wifi can be achieved and if it is sufficient for your intended application. For best reliability I would strongly recommend a wired ethernet connection every time.
Regards
Peter
Thanks Peter, I will test signal strength.
What command on RaspyFi will display WiFi signal strength?
Ok, I found a command, Here is output from:
watch -n 1 cat /proc/net/wireless
WHEN NOTHING IS PLAYING
Inter-| sta-| Quality | Discarded packets | Missed | WE
face | tus | link level noise | nwid crypt frag retry misc | beacon | 22
wlan0: 0000 100. 98. 0. 0 0 0 0 0 0
WHEN MUSIC IS PLAYING INCLUDING A 24/96 TRACK
Inter-| sta-| Quality | Discarded packets | Missed | WE
face | tus | link level noise | nwid crypt frag retry misc | beacon | 22
wlan0: 0000 100. 91. 0. 0 0 0 0 0 0
I believe "level" is the signal strength and it is showing 98 at idle and 91 when music is playing.
Increase the buffer before play and buffer size…
And suggest to use a N wireless Lan. In wireless is very difficult to achieve the necessary bandwith for 24/96 playback…
So in WebGUI I increase MDP buffer to 4096 and before play buffer to 30%. This results in a slightly longer delay before dropouts occur.
Another setting I'm investigating that involves dropouts caused by buffer underrun is in alsa files named prealloc and prealloc_max in the directory /proc/asound/card*/pcm*p/sub0$.
The setting in prealloc defaults to 64 (64K) and some forum posts indicate that bumping it up can resolve audio dropouts for high bit rate files, In my configuration however, the file does not exist for card0/pcm0p/sub0 (my HRT MSII DAC) but does exist for card1/pcm1p/sub0. In either case I am unable to add or edit prealloc, probably because of permissions.
Update:
it appears that the files /proc/asound/card0/pcm0p/sub0/prealloc and prealloc_max are created dynamically by alsa when a device is connected. They disappear when the device is disconnected. In fact the entire directory struc card0/pcm0p/sub0 comes and goes as the device is connected/disconnected,
This suggests that the presence or absence of the prealloc and prealloc_max files are controlled by alsa based on what it thinks is required for the device,
Yes, proc is a virtual file system
see here:
http://en.wikipedia.org/wiki/Procfs
So these files are just controlled by alsa. Alternatively we can use a custom script to handle them. But I doubt it would be useful. This is just a bandwith problem. Is your wireless network going at N speed? And your dongle?
admin said
Be patient then, I'm still here. Just preparing something big for all of you guys .
This made me curious, could you give a hint on what it might be?
19:35
19 settembre 2013
admin said
1- New website and porting to Udoo, Beaglebone black and Cubox
2- Android app
3- i2s dac
cool,
i just sold cubox
it was cracking/zapping more that raspberry pi.
I hope that reaspyfi going to work well with async dacs on cubox!
fingers crossed
20:33
19 settembre 2013
Udoo looks interesting too
yoghurtlidlicker said
admin said
1- New website and porting to Udoo, Beaglebone black and Cubox
2- Android app
3- i2s daccool,
i just sold cubox
it was cracking/zapping more that raspberry pi.
I hope that reaspyfi going to work well with async dacs on cubox!
fingers crossed
Were you using Voyage Mubox?
RaspyFi on Cubox works like a charm for me….
Yep, udoo is the most interesting platform out there… Spdif out, i2s out, quad core, an excellent analog out… It's a game changer
Also the new cubox-i looks really promising as well. In my opinion these are the 2 best board available as of now. I speak for audio purposes obviously…
admin said
1- New website and porting to Udoo, Beaglebone black and Cubox
2- Android app
3- i2s dac
Nice
When's the ETA?
21:49
19 settembre 2013
admin said
Were you using Voyage Mubox?
RaspyFi on Cubox works like a charm for me….
Yep, udoo is the most interesting platform out there… Spdif out, i2s out, quad core, an excellent analog out… It's a game changer
Also the new cubox-i looks really promising as well. In my opinion these are the 2 best board available as of now. I speak for audio purposes obviously…
Yes I was using Voyage Mubox. Headache… just headache.
RaspyFi + Wavelength Proton (Hardware Volume Control) = nearly perfect.
I'm REALLY looking forward for your Udoo port.
Cheers
Most Users Ever Online: 200
Currently Online:
6 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Gyp: 82
yoghurtlidlicker: 37
PaulM: 36
icai: 35
Derek: 29
Karsten: 27
tc-fi: 22
Ronaldo: 21
ENSen: 21
chriz: 20
Member Stats:
Guest Posters: 3619
Members: 569
Moderators: 0
Admins: 1
Forum Stats:
Groups: 4
Forums: 10
Topics: 469
Posts: 13163
Newest Members: polo2016, dongdong8, wlpwlp, Sager, ninestab123, lmx66, lmx, jlgg, chenyan, guoyanying
Administrators: admin (401)