Open-source USB interface: Audio Widget - Page 198 - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 11th December 2012, 01:56 AM   #1971
qusp is offline qusp  Australia
diyAudio Member
 
qusp's Avatar
 
Join Date: Oct 2009
Location: Brisbane, Australia
i'm not a windows guy, so cant give win specific help. the UAC1 issue confuses me as ive never had issues with any UAC1 device.

are you using FooBar on both OS? try increasing your buffer length, you have it set to minimum according to your preferences snapshot, this can easily cause dropouts.
  Reply With Quote
Old 11th December 2012, 02:24 AM   #1972
zumbik is offline zumbik  Europe
diyAudio Member
 
Join Date: Jul 2012
Hi,
I use Foobar 2k only on windows seven and occasionally. I think the last time in September.
Every day on linux with XBMC player, with pulseaudio and now with alsa too, only in UAC2 mode. The problem exists on linux at 192 with UAC2 and now in windows7 64 on 44.1 with UAC1.
I do not know why is this problem exists on windows. In my free time, I try made ​​fresh installation of windows7 on a separate disk. Very possible that the problem is elsewhere.
I have tested large and small buffer in foobar2000, there is no change.
  Reply With Quote
Old 11th December 2012, 04:08 AM   #1973
diyAudio Member
 
Join Date: Apr 2011
When you use pulse audio to play back 192k, you need to ensure that your pulse setting is ALSO 192k.

Search for the file daemon.conf (usually found in /etc/pulse. Google for pulse-daemon.conf). You should make a copy of this file into .pulse/daemon.conf and then edit it so that the sampling rate is 192000. I am at work so have no access to my PC at the moment. I will post my daemon.conf later.

Also you need to give real time priority to you audio software. I will also post the file later.

Alex
  Reply With Quote
Old 11th December 2012, 04:43 AM   #1974
diyAudio Member
 
Join Date: Apr 2011
you need to set the default pulse to 32 bit. *For example, this is the setting in my .pulse/daemon.conf file (change default-sample-rate to what you use pulse for. *44100 for playback of CD music, 48000 for most movies, higher rates for HD music in FLAC or wav format etc.):

default-sample-format = s32le
default-sample-rate = 88200
default-sample-channels = 2
default-channel-map = front-left,front-right
  Reply With Quote
Old 11th December 2012, 05:30 AM   #1975
diyAudio Member
 
Join Date: Apr 2011
4. *Have you done the audio priority as indicated in the Wiki?

Tweak System for realtime performance

For realtime audio add the following to:
/etc/security/limits.conf
@audio - rtprio 99
@audio - memlock unlimited
and reboot and enjoy your system.
  Reply With Quote
Old 11th December 2012, 05:48 AM   #1976
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
In UAC2 I've been trying various feedback strategies after I found a bug in earlier code. One thing I'd like to experiment with is how often the Host requests sample rate information from the Device. According to Nikolay that's part of the enumeration. Does anyone remember which setting this is?

The recent (20121206 and '07) .elf files use an older version of UAC1 feedback code, to test UAC1 stability primarily on Macs.

Zumbik, could you check if you can replicate the errors you are seeing on the 20121004 firmware? That's the latest "stable" version.

My hunch is that instabilities tend to happen on certain computers, perhaps where there is a larger than normal discrepancy in absolute frequency between available USB clock and the internal XOs in the DAC.

BÝrge
  Reply With Quote
Old 11th December 2012, 06:46 PM   #1977
zumbik is offline zumbik  Europe
diyAudio Member
 
Join Date: Jul 2012
Hi,
here #1952, I posted output of this command
Code:
watch -n 1 "cat /proc/asound/card1/stream0"
It looks good to me, but not necessarily be a correct.
I added recommended entries for limits.conf, but there is no improvement.
Thanks Alex.

@Borge
I have exact same problem with audio_widget_20121004_AB-1.2.elf and awx_20121206.elf ...
I do not see any differences between them.
I suppose that the problem is a conflict drivers in win7.
I'll try install fresh copy of win7 on another computer in this weekend and I'll tell you if it works properly.
  Reply With Quote
Old 12th December 2012, 05:08 AM   #1978
diyAudio Member
 
Join Date: Apr 2011
hi.Zumbik,

Are u using the AW with another usb device sharing a hub or usb host controller?

what about 176.4k files?

I use Linux and have had no.problems with 192k files.

I have also uploaded firmware audio-widget-2012-11-08.elf which is from the audio-widget (not experimental)
which u can try.

Alex
  Reply With Quote
Old 12th December 2012, 08:25 AM   #1979
UnixMan is offline UnixMan  Europe
diyAudio Member
 
UnixMan's Avatar
 
Join Date: Apr 2005
Location: Perugia + L'Aquila, Italy
Send a message via ICQ to UnixMan
Quote:
Originally Posted by alexlee188 View Post
I have also uploaded firmware audio-widget-2012-11-08.elf which is from the audio-widget (not experimental)
what are the differences between this one and the latest (BÝrge's -12-06) -experimental one?
__________________
Quote:
"We should no more let numbers define audio quality than we would let chemical analysis be the arbiter of fine wines." N.P.
  Reply With Quote
Old 12th December 2012, 08:46 AM   #1980
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
Alex, did you commit and push to audio-widget?

My latest firmware work has mainly been:

1 - Investigating UAC1 on Macs. I got access to a Mac yesterday, and it looks like the switch from 44.1 to 48 doesn't happen the right way. I'll look through the frequency select code and add debug messages before I get access to that computer again. I have tried two different feedback regulators in UAC1, and both are unstable on 48.

2 - Finding a bug in the UAC2 feedback regulator. The 20121004 firmware added a lot of stability on UAC2. It has a bug in the code which doesn't seem to influence performance. But I'd like to remove the bug regardless! To understand the code I've been toying with alternative regulators, and I must admit I have still not fully understood how the dual-buffer code works.

3 - As part of the UAC2 debug process there have been some reports of certain sample rates not working on Macs. One hunch I had was that the code replacing the Linux Quirk may cause instabilities on Macs. (Hence the difference between 20121206 and '07 firmware.) After yesterday I rather believe there may be a sample frequency change issue.

Demian wrote in a previous post that the frequency set-up protocol is different on Macs and other computers. When I have the time I'll try to translate that to working code.

BÝrge
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Async 192Khz USB - the SDR-Widget collaborative project SunRa PC Based 5 26th April 2011 06:38 PM
usb audio interface david12 Equipment & Tools 14 10th October 2010 02:58 AM
Cheap Audio Interface (USB?) to PC agm2003 Instruments and Amps 11 16th September 2007 07:48 AM
Open call for suggestions on Open Source DIY Audio Design gfergy Everything Else 1 15th April 2007 07:33 AM
USB Interface Perfect?- Computer Audio fmak Digital Source 3 4th December 2004 10:24 PM


New To Site? Need Help?

All times are GMT. The time now is 11:48 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright ©1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2