Open-source USB interface: Audio Widget - Page 196 - 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 7th December 2012, 08:02 PM   #1951
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
Hi Demian,

which one did you try? 20121206 or 20121207? Thanks for the insight. Unfortunately, I'm not quite sure how to use that information... What I'm trying to do right now is understand the logic in the feedback system. Patching on a simulator in Octave before translating the mods back to firmware C and executing it is a big boon.

Hopefully, I'll learn more about the structure of UAC2 as I go along.

BÝrge
  Reply With Quote
Old 7th December 2012, 10:23 PM   #1952
zumbik is offline zumbik  Europe
diyAudio Member
 
Join Date: Jul 2012
audio_widget_20121004_AB-1.2.elf
UAC1:
Win7_64 Foobar
44.1 BAD
linux - alsa/pulseaudio
44.1 OK
UAC2:
Win7_64 Foobar
44.1 OK
96 OK
192 OK
linux - alsa/pulseaudio
44.1 OK
96 OK
192 BAD
awx_20121206.elf
UAC1:
Win7_64 Foobar

44.1 BAD
linux - alsa/pulseaudio
44.1 OK
UAC2:
Win7_64 Foobar
44.1 OK
96 OK
192 OK
linux - alsa/pulseaudio
44.1 OK
96 OK
192 BAD

Code:
watch -n 1 "cat /proc/asound/card1/stream0"
UAC2: 44.1 OK awx_20121206.elf 3.2.0-35-generic
Code:
Every 1,0s: cat /proc/asound/card1/stream0 
Fri Dec  7 22:48:03 2012
Audio-Widget QNKTC USB DAC AB-1.2 at usb-0000:00:12.2-1, high speed : USB Audio
Playback:
  Status: Running
    Interface = 2
    Altset = 1
    URBs = 7 [ 7 8 8 7 8 8 8 ]
    Packet Size = 392
    Momentary freq = 44073 Hz (0x5.8253)
    Feedback Format = 15.17
  Interface 2
    Altset 1
    Format: S32_LE
    Channels: 2
    Endpoint: 2 OUT (ASYNC)
    Rates: 44100, 88200, 132300, 176400, 48000, 96000, 144000, 192000
    Data packet interval: 250 us
UAC2: 96 OK awx_20121206.elf 3.2.0-35-generic
Code:
Every 1,0s: cat /proc/asound/card1/stream0
Fri Dec  7 22:52:51 2012
Audio-Widget QNKTC USB DAC AB-1.2 at usb-0000:00:12.2-1, high speed : USB Audio
Playback:
  Status: Running
    Interface = 2
    Altset = 1
    URBs = 4 [ 6 6 6 7 ]
    Packet Size = 392
    Momentary freq = 96059 Hz (0xc.01e0)
    Feedback Format = 15.17
  Interface 2
    Altset 1
    Format: S32_LE
    Channels: 2
    Endpoint: 2 OUT (ASYNC)
    Rates: 44100, 88200, 132300, 176400, 48000, 96000, 144000, 192000
    Data packet interval: 250 us
UAC2: 192 BAD awx_20121206.elf 3.2.0-35-generic
Code:
Every 1,0s: cat /proc/asound/card1/stream0
Fri Dec  7 22:51:31 2012
Audio-Widget QNKTC USB DAC AB-1.2 at usb-0000:00:12.2-1, high speed : USB Audio
Playback:
  Status: Running
    Interface = 2
    Altset = 1
    URBs = 2 [ 6 7 ]
    Packet Size = 392
    Momentary freq = 191938 Hz (0x17.fe00)
    Feedback Format = 15.17
  Interface 2
    Altset 1
    Format: S32_LE
    Channels: 2
    Endpoint: 2 OUT (ASYNC)
    Rates: 44100, 88200, 132300, 176400, 48000, 96000, 144000, 192000
    Data packet interval: 250 us
  Reply With Quote
Old 7th December 2012, 10:47 PM   #1953
1audio is offline 1audio  United States
diyAudio Member
 
Join Date: Mar 2004
Location: SF Bay Area
Blog Entries: 3
Quote:
Originally Posted by borges View Post
Hi Demian,

which one did you try? 20121206 or 20121207? Thanks for the insight. Unfortunately, I'm not quite sure how to use that information... What I'm trying to do right now is understand the logic in the feedback system. Patching on a simulator in Octave before translating the mods back to firmware C and executing it is a big boon.

Hopefully, I'll learn more about the structure of UAC2 as I go along.

BÝrge
I was using 20121206. Should I try 20121207? It wasn't there when I downloaded the file.

A simulator is a great idea. Save a lot of time.
The USB spec is huge. I understand you would start with chapter 9 of the UAC part.
__________________
Demian Martin
Product Design Services
  Reply With Quote
Old 8th December 2012, 01:30 AM   #1954
diyAudio Member
 
Join Date: Apr 2011
HI all,

I have updated the widget-control.c program in the git repository audio-widget-experimental branch to include the latest VENDOR ID and PRODUCT IDs.

Alex
  Reply With Quote
Old 8th December 2012, 07:47 AM   #1955
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
Quote:
Originally Posted by 1audio View Post
I was using 20121206. Should I try 20121207?
The only difference is that in '07 I temporarily commented out some 88.2 and 96 code I don't quite understand. I'm sure it's there for a purpose, but my thought was to test if it correlates with any Mac issues at those sample rates.

So '06 is slightly less experimental :-)

BÝrge
  Reply With Quote
Old 8th December 2012, 08:47 AM   #1956
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
Zumbik,

just to check: did you change f2k to DirectSound playback for UAC1? Nikolay's ASIO driver doesn't support UAC1 on Windows.

This is the first report of any kind of UAC1 failing on Windows, so I'm curious.

Also, could you explain what goes wrong on UAC2/192/Linux?

BÝrge
  Reply With Quote
Old 8th December 2012, 09:57 AM   #1957
diyAudio Member
 
oneoclock's Avatar
 
Join Date: Oct 2010
MAC:

UAC1:
44 Bad.
48 OK.

UAC2:
44 OK
48 OK
88 OK.
96 Bad.
192 OK
  Reply With Quote
Old 8th December 2012, 11:19 AM   #1958
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
Quote:
Originally Posted by oneoclock View Post
MAC:
UAC1:
44 Bad.
48 OK.

UAC2:
44 OK
48 OK
88 OK.
96 Bad.
192 OK
I assume that's with the '07 firmware? When you say BAD, what exactly is happening?

BÝrge
  Reply With Quote
Old 8th December 2012, 04:22 PM   #1959
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
Oneclock, did you had a chance to try any of the specific "debugging firmwares" prepared by BÝrge?

(...unfortunately, I had no chance to do any more testing on MacOS/X yet).

__________________
Quote:
"We should no more let numbers define audio quality than we would let chemical analysis be the arbiter of fine wines." N.P.

Last edited by UnixMan; 8th December 2012 at 04:25 PM.
  Reply With Quote
Old 8th December 2012, 04:42 PM   #1960
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
To debug on the Mac, please use the avx_20121207 and '06 .elf files. A while ago Alex, Demian & Co. did a great job in tracking down a feedback bug on Linux. My suspicion is that this fix for Linux may have had an adverse effect on Mac.

To test for this, please do as follows: Use Mac and UAC2. Try to change sampling frequencies back and forth. (The Linux instability was observed for changes from 44.1 to 88.2 or 96ksps.) Firmware '06 does have the Linux fix in while '07 has the Linux fix commented out.

If you observe something strange on one firmware version, try to replicate it systematically on that version and then see if you can observe the same pattern with the other version.

If '06 and '07 behave differently on UAC2/Mac at 88.2 and 96, there may be a connection.

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 07:38 PM
usb audio interface david12 Equipment & Tools 14 10th October 2010 03:58 AM
Cheap Audio Interface (USB?) to PC agm2003 Instruments and Amps 11 16th September 2007 08:48 AM
Open call for suggestions on Open Source DIY Audio Design gfergy Everything Else 1 15th April 2007 08:33 AM
USB Interface Perfect?- Computer Audio fmak Digital Source 3 4th December 2004 11:24 PM


New To Site? Need Help?

All times are GMT. The time now is 05:46 AM.


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