Open-source USB interface: Audio Widget - Page 152 - 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 6th May 2012, 03:57 PM   #1511
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
Hi Alex,

Quote:
Originally Posted by alexlee188 View Post
I have applied your patch and updated to branch audio-widget.
I'm glad to have been helpful.

Quote:
Originally Posted by alexlee188 View Post
As for uac1 at 24 bits and uac2 at 32 bits, my suggestion is that if you are running Linux, just use uac2 all the time (with linux quirk applied). uac1 is more for Windows users.
yes, of course. Yet there are cases where it may be useful, e.g. on legacy hardware without an USB2 interface (or is UAC2 backward compatible with USB1.1?).

BTW, I was wondering about the reasons behind the format difference (S24_3LE vs S32_LE) mostly for a matter of consistency (not a big deal, of course...).

Quote:
Originally Posted by alexlee188 View Post
If you set Linux Quirk under Win or OSX your 88.2/96khz playback will be awful :-)
yup, that's what I was wondering.

Quote:
Originally Posted by alexlee188 View Post
We are waiting for more evidence/datapoints to be gathered for OTHER uac2 devices such as those based on CMedia and Tenor chips before we can conclusively prove that the problem is with the Linux uac2 driver and not with the AW firmware.
have the UAC2 ALSA developers been informed about the (possible) problem?
__________________
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 6th May 2012, 04:35 PM   #1512
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
Quote:
Originally Posted by palmito View Post
Is there a BOM for the AB-1.12/1.13 boards? Thanks.
Yepp,

follow my siganture and search for "Download Complete documentation" or go straight to Ab-1.12.13_20120429_xC01_doc.zip - sdr-widget - AB-1.12 / 1.13 updated documentation - Audio and Control Interface for Amateur Radio SDR and Audiophile USB-DAC - Google Project Hosting

Cheers,
BÝrge
  Reply With Quote
Old 6th May 2012, 04:37 PM   #1513
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
Quote:
Originally Posted by Gluca View Post
Borges

what size/package are the XOs on the USB-I2S board? Any suggestion for brands/types?

thanks!
5x7mm pretty standard. 4 pins used. 6 will probably fit mechanically. See my previous post for BOM files with reference to the part number.

NB: XO multiplexing is based on the ENable pin being present on the XO and doing what it's supposed to.

BÝrge
  Reply With Quote
Old 6th May 2012, 04:39 PM   #1514
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
Quote:
Originally Posted by alexlee188 View Post
As for uac1 at 24 bits and uac2 at 32 bits, my suggestion is that if you are running Linux, just use uac2 all the time (with linux quirk applied). uac1 is more for Windows users.

Alex
Hi Alex,

it would be cool if UAC1 worked on Linux as well. If it doesn't, prehaps that's a sign of dogs being burried deeper in the kernel that what we thought? That's pure speculation, of course.

BÝrge
  Reply With Quote
Old 6th May 2012, 05:31 PM   #1515
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 borges View Post
it would be cool if UAC1 worked on Linux as well.
don't worry... it DOES work, perfectly!

There's only a difference in the data format which -with some players- may require the use of the ALSA "plug" interface to do the required conversion (that is, use "plughw:x,0" instead of "hw:x,0").

In UAC2 the required format is the ubiquitous "S32_LE", while in UAC1 mode it requires the less common "S24_3LE" (both are 32bit formats). Some players (such as sox) does not support directly outputting in S24_3LE format, thus the need to let ALSA ("plug" plugin) do the (trivial and lossless) conversion.
__________________
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 10th May 2012, 08:43 AM   #1516
Remrk is offline Remrk  Romania
diyAudio Member
 
Join Date: Sep 2011
Hello everyone,

I recently bought a AB1.1 board from Borges but i have some troubles getting it work in UAC2 under debian/mpd.

Once i switch to UAC2 (using program button) the board is no longer recognized by linux.

here is aplay -l result when UAC2(red led):

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0


Switching to UAC1 ( green led) everything works ok:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: DG8SAQI2C [DG8SAQ-I2C], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0


i've tried different versions of firmware ( using cracked dfu ) with same result
audio-widget-nik-20111222.elf
audio-widget-nik-2012-01-27.elf
audio-widget-nik-2011-12-26.elf

does anyone have any clue how to fix this ?

thank you
  Reply With Quote
Old 10th May 2012, 10:00 AM   #1517
diyAudio Member
 
Join Date: Apr 2011
What is your kernel version?

Uac2 is supported by linux 2.6.38 or later.

Alex
  Reply With Quote
Old 10th May 2012, 11:03 AM   #1518
Remrk is offline Remrk  Romania
diyAudio Member
 
Join Date: Sep 2011
thank you Alex, that did the trick ... now it works
  Reply With Quote
Old 10th May 2012, 02:15 PM   #1519
diyAudio Member
 
Join Date: Nov 2010
Location: Toronto
Quote:
Originally Posted by alexlee188 View Post
Linux Quirk is for LInux only. If you set Linux Quirk under Win or OSX your 88.2/96khz playback will be awful :-)

We are waiting for more evidence/datapoints to be gathered for OTHER uac2 devices such as those based on CMedia and Tenor chips before we can conclusively prove that the problem is with the Linux uac2 driver and not with the AW firmware. The XMOS firmware seems to have figured out a way for Linux compatibility but it is NDA.

Alex
Hi Alex,
I have not been tracking the Linux problem. Could you give me a nickle tour of the issue. I can give you feedback using the Tenor TE8802 as well as the Cmedia CM6631 evaluation boards.

George
  Reply With Quote
Old 10th May 2012, 02:23 PM   #1520
diyAudio Member
 
Join Date: Apr 2011
Hi George,

In Linux, if you play mixed sample rate playlist, the async feedback fails when you

Change from 44.1 or 48 khz to 88.2 or 96 khz.

It will lock if you stop/pause and restart.

Changing from any other rates to any other rates have no problems. Eg 44.1 t to 192 or 96 to 44.1 etc.

The problem will not show up if the whole album is of the same sampling rate.

Alex
  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 06:21 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