Re: [Alsa-user] Mixing two audio sources in virtual source

2013-12-15 Thread Clemens Ladisch
Marco Zambianchi wrote:
 What I want to achieve is to mix the audio coming from 2 different
 sources and route it to be the input of a virtual sound card for
 being then used in Google Hangout / Skype, or in a recording
 application as the input channel.

 The two sources i have to mix are:
 A) An external USB microphone (a Blue Yeti, working perfectly per se)
 B) The system audio of my computer (meaning anything that goes out
 from the computer loudspeakers)

There is no ALSA plugin that can dynamically resample the two inputs
to adjust for the clock differences.

Try PulseAudio.


Regards,
Clemens

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] teac UD-H01, bad 24 bit playback

2013-12-15 Thread Rutger Noot
Hi, 

I have difficulties with the TEAC UD-H01 usb dac. Playback is fine in 16
bit mode (even at sample rates up to 192kHz), but in 24 bit mode there
is an incredible amount of jitter (continuous clicking) at any sample
rate above 48kHz. Admittedly, there should be little (if any) audible
difference passing from 16 to 24 bits, but still it should work.

After discovering this by playing music through rhythmbox and
pulseaudio, I have tested  by converting a wav-file to different
combinations of sample-size/sample-rates and playing directly through
aplay. So the problem seems to come from the alsa driver. Any hints on
what to try?

PS using kernel 3.11.10 on fedora 18. 



--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] teac UD-H01, bad 24 bit playback

2013-12-15 Thread chris hermansen
Rutger et all,

On Dec 15, 2013 9:38 AM, Rutger Noot rutger.n...@laposte.net wrote:

 Hi,

 I have difficulties with the TEAC UD-H01 usb dac. Playback is fine in 16
 bit mode (even at sample rates up to 192kHz), but in 24 bit mode there
 is an incredible amount of jitter (continuous clicking) at any sample
 rate above 48kHz. Admittedly, there should be little (if any) audible
 difference passing from 16 to 24 bits, but still it should work.

 After discovering this by playing music through rhythmbox and
 pulseaudio, I have tested  by converting a wav-file to different

Rhythmbox uses Pulse as far as I know, and Pulse resamples again AFAIK. At
least I have never been able to convince Pulse to leave things alone.
Pulse then passes the resampled stuff to Alsa.

Players that I know that will play directly to Alsa: mpd, QuodLibet,
Guayadeque.

 combinations of sample-size/sample-rates and playing directly through
 aplay. So the problem seems to come from the alsa driver. Any hints on
 what to try?

 PS using kernel 3.11.10 on fedora 18.

With aplay have you tried using the plughw output device associated with
the Teac unit?

You can figure that out with aplay -l and/or aplay -L.

Do you have other USB cables to try?

If none of those help you need to send some diagnostic info... The two
aplay outputs above and I guess the output of lsusb.
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] teac UD-H01, bad 24 bit playback

2013-12-15 Thread Rutger Noot
Dear Chris, 

Thanks for your answer and for taking interest!

On dim., 2013-12-15 at 09:56 -0800, chris hermansen wrote:
 Rutger et all,
 
 On Dec 15, 2013 9:38 AM, Rutger Noot rutger.n...@laposte.net
 wrote:
 
  Hi,
 
  I have difficulties with the TEAC UD-H01 usb dac. Playback is fine
 in 16
  bit mode (even at sample rates up to 192kHz), but in 24 bit mode
 there
  is an incredible amount of jitter (continuous clicking) at any
 sample
  rate above 48kHz. Admittedly, there should be little (if any)
 audible
  difference passing from 16 to 24 bits, but still it should work.
 
  After discovering this by playing music through rhythmbox and
  pulseaudio, I have tested  by converting a wav-file to different
 
 Rhythmbox uses Pulse as far as I know, and Pulse resamples again
 AFAIK. At least I have never been able to convince Pulse to leave
 things alone. Pulse then passes the resampled stuff to Alsa.
 

That's also what I found. If I ask pulse to use S16_LE things are OK, but
setting to S24_LE causes all those artefacts. Anyway, for further
testing, rhythmbox  pulse are a bad choice. 

 Players that I know that will play directly to Alsa: mpd, QuodLibet,
 Guayadeque.
 
  combinations of sample-size/sample-rates and playing directly
 through
  aplay. So the problem seems to come from the alsa driver. Any hints
 on
  what to try?
 
  PS using kernel 3.11.10 on fedora 18.
 
 With aplay have you tried using the plughw output device associated
 with the Teac unit?
 
 You can figure that out with aplay -l and/or aplay -L.

I tried with hw:1,0 and (just now) with plughw:1,0  The result is the
same. Changing USB cables didn't help either.

 
 Do you have other USB cables to try?
 
 If none of those help you need to send some diagnostic info... The two
 aplay outputs above and I guess the output of lsusb.
 

Some diagnostics output is given below.
Thanks again, 
Rutger.

(I am talking about card 1)
==

$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: 92HD90BXX Analog [92HD90BXX Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: DEVICE [TEAC USB AUDIO DEVICE], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

==

$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
HDA Intel PCH, 92HD90BXX Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, 92HD90BXX Analog
Front speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, 92HD90BXX Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, 92HD90BXX Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, 92HD90BXX Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, 92HD90BXX Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, 92HD90BXX Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
hdmi:CARD=PCH,DEV=1
HDA Intel PCH, HDMI 1
HDMI Audio Output
hdmi:CARD=PCH,DEV=2
HDA Intel PCH, HDMI 2
HDMI Audio Output
sysdefault:CARD=DEVICE
TEAC USB AUDIO DEVICE, USB Audio
Default Audio Device
front:CARD=DEVICE,DEV=0
TEAC USB AUDIO DEVICE, USB Audio
Front speakers
surround40:CARD=DEVICE,DEV=0
TEAC USB AUDIO DEVICE, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=DEVICE,DEV=0
TEAC USB AUDIO DEVICE, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=DEVICE,DEV=0
TEAC USB AUDIO DEVICE, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=DEVICE,DEV=0
TEAC USB AUDIO DEVICE, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=DEVICE,DEV=0
TEAC USB AUDIO DEVICE, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=DEVICE,DEV=0
TEAC USB AUDIO DEVICE, USB Audio
IEC958 (S/PDIF) Digital Audio Output

==

$ lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 

[Alsa-user] alsa clearifications

2013-12-15 Thread Henry W. Peters

Hi,

Trying to get my newly purchased Native Instruments Komplete Audio 6 to 
function more fully on my Linux Mint Mate Petra system (using a HP 
500-46 Pavillion desktop, dual booting w/Windows 8.1).


For starters, I think I may need to update my alsa... (perhaps it is 
other problems, that is, other than updating alsa??). The alsa page 
supporting this piece of hardware says to install the latest alsa 
drivers, etc... on the alsa project page, I do not see a file called 
alsa driver ( my version of alsa-base is 1.0.25).


Current versions

 * stable linux kernel http://www.kernel.org
 * alsa-lib-1.0.27.2
   ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.27.2.tar.bz2
 * alsa-utils-1.0.27.2
   ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.27.2.tar.bz2
 * alsa-tools-1.0.27
   ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.0.27.tar.bz2
 * alsa-firmware-1.0.27
   ftp://ftp.alsa-project.org/pub/firmware/alsa-firmware-1.0.27.tar.bz2
 * alsa-plugins-1.0.27
   ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-1.0.27.tar.bz2
 * alsa-oss-1.0.25
   ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-1.0.25.tar.bz2
 * pyalsa-1.0.26
   ftp://ftp.alsa-project.org/pub/pyalsa/pyalsa-1.0.26.tar.bz2

Development versions

 * alsa-driver: none
 * alsa-lib: none
 * alsa-utils: none
 * alsa-tools: none
 * alsa-firmware: none
 * alsa-plugins: none
 * alsa-oss: none
 * pyalsa: none

The Development versions are located on the alsa page, opposite side 
of the Current versions so it appears the stable linux kernel is the 
asla driver... I'm a bit confused here... clarifications welcome (i.e., 
what is the alsa driver file?).


Thanks much,
Henry

P.s., if any can offer suggestions regarding getting this hardware 
(Komplete Audio 6) setup,  fully functioning, that would be nice, too! 
(some features are recognized  work out of the box... (i.e., VLC 
player, sound on Firefox) but I use Jack, Ardour, Rosegarden, etc.,  
midi functions with Rosegarden,  not with Ardour , in fact, not been 
able to get Ardour to recognize audio inputs, other than already 
recorded wave files,  the like.)
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] alsa clearifications

2013-12-15 Thread Ralf Mardorf
http://www.alsa-project.org/main/index.php/Main_Page -
How do I install the ALSA driver from source
http://www.alsa-project.org/main/index.php/Download -
alsa-driver

[snip]

This package is now obsolete, as kernel.org is now taking updates to the
modules directly from the ALSA GIT server. 


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user