Open-source USB interface: Audio Widget - Page 54 - 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 10th December 2011, 06:47 PM   #531
Turbon is offline Turbon  Sweden
diyAudio Member
 
Turbon's Avatar
 
Join Date: Aug 2011
Location: South
Ok, I have set the 8 boxes as you showed in the picture exept the UAC1_audio - then what?
Read firmware doesn't give anything. Reset toggles the leds but tells me that a DG8SAQ/MOBO device not found. Factory reset gives the same as do Start USB...

Brgds

BTW, this was on winxp...

Does anyone have instructions of what is needed for installing widget-control on linux?
__________________
These are my principles, and if you don't like them... well, I have others.

Last edited by Turbon; 10th December 2011 at 07:12 PM.
  Reply With Quote
Old 10th December 2011, 10:01 PM   #532
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 Turbon View Post
Does anyone have instructions of what is needed for installing widget-control on linux?
a recent version of "Python" (I have 2.7, maybe 2.6 is ok too) with some modules (pythoncard, python-usb, wx, ...).

If you have python installed, just run "WidgetControl.py" from a cmd line. If some module is missing, you'll see which one from the error messages.
__________________
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 December 2011, 10:16 PM   #533
Turbon is offline Turbon  Sweden
diyAudio Member
 
Turbon's Avatar
 
Join Date: Aug 2011
Location: South
Thanks UnixMan, just what I did and got some of the stuff installed. Now I'm stuck with this error:

File "/usr/lib/pymodules/python2.7/PythonCard/components/statictext.py", line 39, in __init__
widget.Widget.__init__( self, aParent, aResource )
File "/usr/lib/pymodules/python2.7/PythonCard/widget.py", line 68, in __init__
self._setBackgroundColor(self._resource.background Color)
File "/usr/lib/pymodules/python2.7/PythonCard/widget.py", line 115, in _setBackgroundColor
self.SetBackgroundColour( aColor )
File "/usr/lib/python2.7/dist-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 9509, in SetBackgroundColour
return _core_.Window_SetBackgroundColour(*args, **kwargs)
TypeError: Expected a wxColour object or a string containing a colour name or '#RRGGBB'.

Brgds
__________________
These are my principles, and if you don't like them... well, I have others.
  Reply With Quote
Old 11th December 2011, 02:22 AM   #534
diyAudio Member
 
Join Date: Apr 2011
WidgetControl works after u have made the selections and then press Reset.

After that the settings are stored in the EEPROM.

U can now try to get some decent sound with WinXP.

If u have problems it is likely to be hardware issue or Windows driver issue.

Alex
  Reply With Quote
Old 11th December 2011, 02:23 AM   #535
diyAudio Member
 
Join Date: Apr 2011
In Linux u need wxgtk2.8.
  Reply With Quote
Old 11th December 2011, 02:24 AM   #536
diyAudio Member
 
Join Date: Apr 2011
U are running wxgtk2.6, which gives u that error.
  Reply With Quote
Old 11th December 2011, 08:05 AM   #537
Turbon is offline Turbon  Sweden
diyAudio Member
 
Turbon's Avatar
 
Join Date: Aug 2011
Location: South
Thanks Alex.

Actually it the widgetcontrol worked once on winxp last evening for some reason... The stored value is uac-2. I will continue hunting this down later today.

Brgds
__________________
These are my principles, and if you don't like them... well, I have others.
  Reply With Quote
Old 11th December 2011, 09:48 AM   #538
Turbon is offline Turbon  Sweden
diyAudio Member
 
Turbon's Avatar
 
Join Date: Aug 2011
Location: South
OK friends! Succeeded on Linux. Played the first complete song - started an album to see how long it will work.

Thanks a lot for your patience and support!

Now I just have to get rid of gnome and replace it with KDE.

Brgds
__________________
These are my principles, and if you don't like them... well, I have others.
  Reply With Quote
Old 11th December 2011, 10:09 AM   #539
diyAudio Member
 
Join Date: Apr 2011
Hi Tubon,

Congrats :-)

You need to set the audio system up in Linux to fully take advantage of the performance of the audio-widget.

Basically you want to play each song at the native sampling rate, and the maximum bit depth.

The format of the audio-widget is s32le, and the widget is capable of every sampling rate, ie: 44.1/48/88.2/96/176.4/192 khz.

Only one program, mpd, is capable of automatically playing at the correct native sampling rate.

You need to set up ~/.mpdconf properly. My looks like this:

port "6600"
music_directory "~/Music"
playlist_directory "~/.mpd/playlists"\
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
audio_output {
type "alsa"
name "My ALSA Device"
device "hw:1,0"
auto_resample "no"
}
zeroconf_enabled "yes"
zeroconf_name "Downstairs music player daemon"
#samplerate_converter "SRC_SINC_BEST_QUALITY"

The key is the autoresample "no".

For playing from other programs, such as rhythmbox, vlc etc., they will be using the pulseaudio system.

Pulse, unfortunately, can only communicate with the soundcards at a single sampling rate specified on server startup. ALL other sampling rates are automatically resampled to this server sampling rate !!! To get the best music, you will then have to manually set pulse server to the sampling rate of the music material.

Copy the /etc/pulse/daemon.conf file to ~/.pulse/daemon.conf and then edit the file. Mine (only relevant parts shown) is like:

resample-method = speex-float-8
; enable-remixing = yes
; enable-lfe-remixing = no

flat-volumes = no

; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 1000000

default-sample-format = s32le
default-sample-rate = 48000
default-sample-channels = 2
default-channel-map = front-left,front-right

So the pulse server is now set at 48khz with the correct format (note the s32le) for the audio-widget. The resampling method is speex-float-8. speex-float-1 is the lowest and -10 is the highest. 10 gives the best quality but it consumes all of your cpu. 1 is the fastest but the SQ is very bad.

After editing .pulse/daemon.conf, you need to restart the pulse server for it to take effect:

$ killall pulseaudio

After a few seconds, pulse server will be restarted by the system.

However, AVOID resampling to get the best SQ.

Once you have mpd and/or pulse setup correctly, you will enjoy the music :-)

Get some studio 192khz or 96/khz 24bit music and you should be able to hear the difference.

Give us feedback :-)

Alex
  Reply With Quote
Old 11th December 2011, 10:16 AM   #540
diyAudio Member
 
Join Date: Apr 2011
btw, to check whether indeed the software is playing at the native sampling rate, do:

(Assuming that the audio-widget is card 1):

$ cat /proc/asound/card1/pcm0p/sub0/hw_params

For example, I'm now playing with mpd a 192khz/24bit recording:

alex@downstairs:~$ cat /proc/asound/card1/pcm0p/sub0/hw_params
access: RW_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 192000 (192000/1)
period_size: 24000
buffer_size: 96000
  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 04:59 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