Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-18 Thread Hauke Westemeier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




> "Front Right" is the name of the channel.  There could be other 
> channels such as "Side Right", "Back Right"; and the channel in
> the front would be called "Center".

So although the file is called Front_Right.wav aplay should play it on
both of my channels the same signal at the same time (as it is mono
and plughw sends it to both of my channels), correct?

> How exactly did you compile alsa-lib?  If you're using a 
> distribution, where can I find the scripts used to compile
> alsa-lib?
> 

I didn't compile it my self. I'm using Raspbian Jessie as distribution.
It is based on the Debian distribution of the same name.
I started with 2015-11-21 but run
 sudo apt-get update && sudo apt-get dist-upgrade
regularly so most of the system should be up to date.

If I check
 aplay --version
I get
aplay: version 1.0.28 by Jaroslav Kysela
Do you think it is worth a try to compile alsa 1.1.1? As a non-expert
I tried to avoid it till now.


Just for completeness, I tried
  aplay -D plughw:0,0  /usr/share/sounds/alsa/Front_Left.wav
and then I can hear the sound out of the internal sound card (as
expected). So the aplay and the wav-file are not completely broken.

Kind regards,

Hauke
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iEYEARECAAYFAlcVaA0ACgkQjz8jfoq989frxACeIIJxV1W3ExwfzK2OpOoVycM7
14EAnRUrLmjeZA/p2wGx27SVvtSqT6gK
=uOa7
-END PGP SIGNATURE-

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] combine usb microphones

2016-04-18 Thread Clemens Ladisch
joop wrote:
> i have 4 usb microphones connected to my system that i would like to combine
> into one virtual 'sound card' with 4 seperate mic channels.
>
> what would i put in my .asoundrc?

For a device without proper synchronization:
http://www.alsa-project.org/main/index.php/Asoundrc#Virtual_multi_channel_devices


Regards,
Clemens

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-18 Thread Clemens Ladisch
Hauke Westemeier wrote:
> /usr/share/sounds/alsa/Front_Right.wav
> how can it actually have front and right information in just one channel?

"Front Right" is the name of the channel.  There could be other channels
such as "Side Right", "Back Right"; and the channel in the front would
be called "Center".

> Device: hw:1 (type: HW)
> Access types: RW_INTERLEAVED
> Formats: S16_LE S24_LE S32_LE
> Channels: 2
> Sample rates: 8000 11025 16000 22050 32000 44100 48000 64000 88200 96000 
> 176400 192000
> Interrupt interval: 20-8192000 us
> Buffer time: 41-16384000 us
>
> The Device: hw:1 only reports "Channels: 2" (and not "Channels: 1 2").
>
> Naively I assumed that when using
>  aplay -D plughw:1,0 /usr/share/sounds/alsa/Front_Right.wav
> the mono signal is split up in two identical signals that are then
> send two both channels.

In theory, that is what should happen.


How exactly did you compile alsa-lib?  If you're using a distribution,
where can I find the scripts used to compile alsa-lib?


Regards,
Clemens

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user