Open-source USB interface: Audio Widget - Page 95 - 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 20th January 2012, 06:35 AM   #942
1audio is offline 1audio  United States
diyAudio Member
 
Join Date: Mar 2004
Location: SF Bay Area
Blog Entries: 3
Alex:
I just tried the new version. No help with 44.1 chain files. I got it to screw up once on a 48K chain transition from 96 to 192 but I could not get it to happen twice.

Now I'm getting a shift from 44.1 to 48 when its not supposed to happen, in the midst of an 88.2 file the pitch jumps up. Listening to Rebecca Pidgeon shifting keys that way is unsettling. I will revert.

Except for the obvious the audio seems to be as good.
__________________
Demian Martin
Product Design Services
  Reply With Quote
Old 20th January 2012, 06:43 AM   #943
diyAudio Member
 
Join Date: Apr 2011
Hi Demian,

OK. Thanks for the report. I will have to tweak the parameters to get a reliable sampling rate change.

Alex
  Reply With Quote
Old 20th January 2012, 06:02 PM   #945
1audio is offline 1audio  United States
diyAudio Member
 
Join Date: Mar 2004
Location: SF Bay Area
Blog Entries: 3
Problems still. This is wat is reported when switching froma 44.1 to an 88.2 file:


cygnus:~# cat /proc/asound/card1/stream0
Objective Development DG8SAQ-I2C at usb-0000:00:0f.5-1, high speed : USB Audio

Playback:
Status: Running
Interface = 2
Altset = 1
URBs = 8 [ 8 8 8 8 8 8 8 8 ]
Packet Size = 392
Momentary freq = 171383 Hz (0x15.6c40)
Feedback Format = 16.16
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


And after pause then play:

Playback:
Status: Running
Interface = 2
Altset = 1
URBs = 8 [ 8 8 8 8 8 8 8 8 ]
Packet Size = 392
Momentary freq = 88195 Hz (0xb.0640)
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
It seems the feedback format is getting borked or some such.

I also get a sort of quick buzz hitting pause or stop from 88.2.
__________________
Demian Martin
Product Design Services
  Reply With Quote
Old 20th January 2012, 08:03 PM   #946
1audio is offline 1audio  United States
diyAudio Member
 
Join Date: Mar 2004
Location: SF Bay Area
Blog Entries: 3
More testing and more details:
I put togehter a playlist with 6 sample rates and 44.1 at 16 and 24 bit depth. everything else is 24 bit depth.

pause, stop and switching will produce a pop or a momentary buzz.
88.2 has problems and will often start at 177 it seems.

It sound very good otherwise. I think there is some stress in the upper ranges I can't pin down. Switching firmware is pretty disruptive making comparisons difficult.
__________________
Demian Martin
Product Design Services
  Reply With Quote
Old 20th January 2012, 09:22 PM   #947
diyAudio Member
 
Join Date: Apr 2011
Hi Demian,

The watchdog only checks for switch to 96/192 currently. 88.2/176.4 are NOT watched :-)

If u want I will add the code to watch those sampling rates as well.

Looks like this switching has caused side effects:

1. Playback software changes playback stream sampling rate unannounced
2. Widget firmware watchdog switches freq
3. Uac2 driver is caught unawares as neither playback software nor device firmware inform of freq switch
4. Uac2 driver confused. Suddenly the feedback rate is doubled from 44.1 to 88.2. The drivers automatic rate feedback format algorithm thinks format ha changed from 16.16 to 17.15. So for a while driver and firmware are out if rate feedback sync.
5. Hence pop:noise and other nasties.

So perhaps it is time to fix mpd rather than to try to force the poor watchdog to do all the dirty work :-)

Alex
  Reply With Quote
Old 20th January 2012, 09:51 PM   #948
Turbon is offline Turbon  Sweden
diyAudio Member
 
Turbon's Avatar
 
Join Date: Aug 2011
Location: South
Well I'm running pureplayer in Windows and I can imagine that the sudden distortion I get would sound as it is suddenly loosing track of what speed to use. I'm reverting back ti the20111123 code for now.

Brgds
__________________
These are my principles, and if you don't like them... well, I have others.
  Reply With Quote
Old 21st January 2012, 12:57 AM   #949
diyAudio Member
 
Join Date: Apr 2011
Hi Demian,

Try this:

audio-widget-nik-2012-01-21.elf - sdr-widget - Unified firmware for audio-wdgets. Watchdog switches sampling rate to 88.2/176.4/96/192 if incoming rate changes unannounced. This is a workaround for mpd. If you use PurePlayer and other "well behaved"

Turbon,

If you are using PurePlayer you don't need this fix. This is to fix a problem with mpd.

Alex
  Reply With Quote
Old 21st January 2012, 05:52 PM   #950
diyAudio Member
 
oneoclock's Avatar
 
Join Date: Oct 2010
Click the image to open in full size.

Red: WinXP-Foobar2000-SoX48 UAC1
Purple: Linux-44100 UAC2 Voyage Music Player

This is an excellent measure in Linux. It has taken me to get it because first I reproduced the WAB file from a old USB stick and it was pretty bad old measure. Now from another new USB stick measured very well.

Since Foobar2000 configured to play from memory and oversampling to 48,000 improvement.

I do not know, in Linux MPD server, how to configure a resamplig and a memory playback from a WAV file.
192000 resampling is even better. Playing the file from memory may be better.
  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 10:26 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