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 17th January 2012, 08:21 AM   #931
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
That's what I thought. I'll give it a shot tonight. In the meantime, could you check which versions you're using? I wish to replicate your setup first, then arrive at identical .elf, then try to figure out how to do the same on a Windows installation.

BÝrge

Quote:
Originally Posted by alexlee188 View Post
Hi Borge,
Try downloading the whole AVR32 Studio. There may be header files and other files in the download.

Alex
  Reply With Quote
Old 17th January 2012, 08:33 AM   #932
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 oneoclock View Post
Do you think it's a good idea to put, instead of 0.1uF, a tantalum electrolytic capacitor 100UF 10V
why not a 100u or 220u through-hole Elna Silmic II @6.3V? they are small enough to fit and (at least for the analog psu) they'll sound much better than tantalum.
__________________
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 17th January 2012, 09:22 AM   #933
diyAudio Member
 
Join Date: Apr 2011
Hi Borge,

The info is in the make-widget shell script:

linux.x86_64_3.1.0.201012011657

Alex
  Reply With Quote
Old 17th January 2012, 01:55 PM   #934
1audio is online now 1audio  United States
diyAudio Member
 
Join Date: Mar 2004
Location: SF Bay Area
Blog Entries: 2
Quote:
Originally Posted by UnixMan View Post
why not a 100u or 220u through-hole Elna Silmic II @6.3V? they are small enough to fit and (at least for the analog psu) they'll sound much better than tantalum.
It depends on what you are powering. A well isolated crystal oscillator is as inert as a resistor. It really should not matter what cap you use as long as the value is right.
__________________
Demian Martin
Product Design Services
  Reply With Quote
Old 17th January 2012, 07:07 PM   #935
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
Okay, I Atmel's AVR32studio version 2.7 for Linux 64,
http://distribute.atmel.no/tools/avr...gtk.x86_64.zip
and easily ended up with the same subdirectory as you. I moved the stuff to /usr/local/as4e-ide, modified the sript and things compiled right out of the box. No problem, and I didn't have to worry about include file locations or anything.

The resulting .elf file is 169224 bytes long, 24 bytes larger than the usual size of Alex's binaries. Alex, I assume you're using the 64-bit variety.

When I use AVR32studio 2.7 for Windows with the same toolchain version setup I get a file which is 412991 bytes long. Only the path is changed. Makefile and source are the same. I do make clean for each run.

So clearly there are differences between compiling on a Linux and a Cygwin platform. I'll ask at avrfreaks if they know why there is a difference. Perhaps it boils down to a simple configuration issue. Where might one look for a global toolchain config file?

In the meantime I'd appreciate any input on this. Several you are more well versed with compiler setups than myself.

BÝrge


Quote:
Originally Posted by alexlee188 View Post
Hi Borge,
The info is in the make-widget shell script:
linux.x86_64_3.1.0.201012011657
Alex
  Reply With Quote
Old 19th January 2012, 05:00 PM   #936
1audio is online now 1audio  United States
diyAudio Member
 
Join Date: Mar 2004
Location: SF Bay Area
Blog Entries: 2
Supported sample rates?
I just had occasion to query the USB interface (Linux) and the AB1.1 seems to have support for some rates that don't seem right:

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 = 192031 Hz (0x18.0100)
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

132,300 and 144,000 seem odd and may not be right.
I still have the problem of the device selecting the wrong clock rate during sample rate switching from low to high sometimes.

It also seems the host's clock is a little off (16Hz at 192K) but the process is proceeding flawlessly.
__________________
Demian Martin
Product Design Services
  Reply With Quote
Old 19th January 2012, 05:38 PM   #937
Turbon is offline Turbon  Sweden
diyAudio Member
 
Turbon's Avatar
 
Join Date: Aug 2011
Location: South
2x, 3x and 4x 44100 and 48000.

Brgds
__________________
These are my principles, and if you don't like them... well, I have others.
  Reply With Quote
Old 20th January 2012, 12:19 AM   #938
diyAudio Member
 
Join Date: Apr 2011
As I posted before on the issue of clock switching under certain conditions (eg using mpd to play mixed sample rate album) the player software finds it convenient to just change the audio stream to a different sample rate without sending a proper uac2 command to switch sample rate.

The solution that I have been working on is to have a watchdog process monitoring the incoming USB stream and compute the likely sample rate (instead if the current firmware that waits for the uac2 command). It then switches the widget sample rate accordingly.

I will have to play with this to see whether this will have any adverse impact on the SQ.

If u try programs such as PurePlayer on Windows you will find it can play mixed sample rate playlist with no issues.

I will post when I have a new firmware with the unannounced sample rate change watchdog working.

Alex
  Reply With Quote
Old 20th January 2012, 12:35 AM   #939
1audio is online now 1audio  United States
diyAudio Member
 
Join Date: Mar 2004
Location: SF Bay Area
Blog Entries: 2
Maybe I can get either mpd or the USB audio driver for linux fixed if that its the problem. Is there a way I can sniff the USB traffic to look for the transition and confirm that is what is happening, without a USB2 sniffer?
__________________
Demian Martin
Product Design Services
  Reply With Quote
Old 20th January 2012, 02:09 AM   #940
diyAudio Member
 
Join Date: Apr 2011
I have uploaded a new firmware with fix for unannounced sample rate change in certain playback software issue. Only catches changing from a low samplinng rate to 96khz or 192khz.

audio-widget-nik-2011-01-20.elf - sdr-widget - Unified firmware for audio-widget. Fixed unannounced sample rate change in certain playback software issue. - Audio and Control Interface for Amateur Radio SDR and Audiophile USB-DAC - Google Project Hos

Please test and see whether it solves the mixed sampling rate album issue, and also whether there is any adverse impact on the SQ.

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 08:22 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