Re: [Alsa-user] recording audio from speakers

2013-07-29 Thread Robert M. Riches Jr.
> From:  ?? 
> Date: Mon, 29 Jul 2013 13:50:01 +0700
> To: Ralf Mardorf 
> X-Headers-End: 1V3hHm-0005Gs-GX
> Cc: 72-alsa 
>
> you may also try alsa's loopback module
> https://bbs.archlinux.org/viewtopic.php?pid=765075#p765075

At least with some distribution releases, the ALSA loopback
module doesn't work well.  For example, with Mageia 1 it worked
perfectly.  Then, with Mageia 2, it has severe xruns, both with
net-JACK and with only aplay and arecord.  Evidence suggests the
loopback module accepts samples too rapidly from the sending
client, which overruns the buffer of the receiving client.

I asked here a while ago if there were solutions.  Yes, I ought
to file a bug report if I could scrape together a few minutes to
do so.

Robert

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] recording audio from speakers

2013-07-29 Thread YuGiOhJCJ Mailing-List
When I speak about jack, I speak about the hardware, not the software.
So, I have never used the jack software.
When I use alsaloop, I do this:
$ alsaloop -C hw:0,0 -P hw:0,0 -t 5

After typing this command, I can hear in my headphones a looping noise.
So, I am not sure I am using it as I should.

Is it a normal behaviour ?

On Tue, 30 Jul 2013 00:12:32 +0700
Ильдар Ахметгалеев  wrote:

> if you using jack you can configure alsa2jack emulation and use it
> without loopback devices. You can route everything inside jack. Your
> application will be visible in jack as native jack application. But
> some applications works bad wtih alsa2jack emulation.
> 
> https://wiki.archlinux.org/index.php/JACK_Audio_Connection_Kit#Playing_nice_with_ALSA
> 
> 2013/7/29 Dominique Michel :
> > Le Mon, 29 Jul 2013 13:50:01 +0700,
> > Ильдар Ахметгалеев  a écrit :
> >
> >> you may also try alsa's loopback module
> >> https://bbs.archlinux.org/viewtopic.php?pid=765075#p765075
> >
> > For me, it is the definitive solution. You can configure ALSA to use
> > the loopback device as first sound card, and use alsa_in and alsa_out,
> > or for a better sound quality, zita-ajbridge (zita-a2j and zita-j2a) to
> > interface jack and alsa.
> >
> > That way, all the ALSA applications will use the loopback by default
> > and will be available in jack. Of course, you will have to run jack all
> > the time.
> >
> > It is a  French how-to here:
> > http://www.linuxmao.org/TUTO+%3A+ALSA+vers+JACK&structure=Accueil+Logiciels
> > and another one here:
> > http://alsa.opensrc.org/Jack_and_Loopback_device_as_Alsa-to-Jack_bridge
> > but the alsa wiki seam to be down.
> >
> > You can also use zita-*2* directly, but I did not try it. I prefer the
> > automatic way with the loopback device.
> >
> > Dominique
> >
> >>
> >> 2013/7/29 Ralf Mardorf :
> >> > On Mon, 2013-07-29 at 08:27 +0200, YuGiOhJCJ Mailing-List wrote:
> >> >> Do you mean I am in the wrong mailing list for support on alsa on
> >> >> Linux ?
> >> >
> >> > What if the best solution has less to do with ALSA? People
> >> > subscribed to Linux audio users mailing list (LAU) opened several
> >> > threads. I didn't follow those threads completely, so I don't know
> >> > if they found a good solution. At least there's more traffic at LAU
> >> > and it's an issue that was discussed there several times.
> >> >
> >> >
> >> > --
> >> > See everything from the browser to the database with AppDynamics
> >> > Get end-to-end visibility with application monitoring from
> >> > AppDynamics Isolate bottlenecks and diagnose root cause in seconds.
> >> > Start your free trial of AppDynamics Pro today!
> >> > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> >> > ___
> >> > Alsa-user mailing list
> >> > Alsa-user@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/alsa-user
> >>
> >>
> >>
> >
> >
> > --
> > "We have the heroes we deserve."
> >
> > --
> > Get your SQL database under version control now!
> > Version control is standard for application code, but databases havent
> > caught up. So what steps can you take to put your SQL databases under
> > version control? Why should you start doing it? Read more to find out.
> > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> > ___
> > Alsa-user mailing list
> > Alsa-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/alsa-user
> 
> 
> 
> -- 
> ===8@))-\-<
> http://akhil.ru
> 
> --
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent 
> caught up. So what steps can you take to put your SQL databases under 
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> ___
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] recording audio from speakers

2013-07-29 Thread Ильдар Ахметгалеев
if you using jack you can configure alsa2jack emulation and use it
without loopback devices. You can route everything inside jack. Your
application will be visible in jack as native jack application. But
some applications works bad wtih alsa2jack emulation.

https://wiki.archlinux.org/index.php/JACK_Audio_Connection_Kit#Playing_nice_with_ALSA

2013/7/29 Dominique Michel :
> Le Mon, 29 Jul 2013 13:50:01 +0700,
> Ильдар Ахметгалеев  a écrit :
>
>> you may also try alsa's loopback module
>> https://bbs.archlinux.org/viewtopic.php?pid=765075#p765075
>
> For me, it is the definitive solution. You can configure ALSA to use
> the loopback device as first sound card, and use alsa_in and alsa_out,
> or for a better sound quality, zita-ajbridge (zita-a2j and zita-j2a) to
> interface jack and alsa.
>
> That way, all the ALSA applications will use the loopback by default
> and will be available in jack. Of course, you will have to run jack all
> the time.
>
> It is a  French how-to here:
> http://www.linuxmao.org/TUTO+%3A+ALSA+vers+JACK&structure=Accueil+Logiciels
> and another one here:
> http://alsa.opensrc.org/Jack_and_Loopback_device_as_Alsa-to-Jack_bridge
> but the alsa wiki seam to be down.
>
> You can also use zita-*2* directly, but I did not try it. I prefer the
> automatic way with the loopback device.
>
> Dominique
>
>>
>> 2013/7/29 Ralf Mardorf :
>> > On Mon, 2013-07-29 at 08:27 +0200, YuGiOhJCJ Mailing-List wrote:
>> >> Do you mean I am in the wrong mailing list for support on alsa on
>> >> Linux ?
>> >
>> > What if the best solution has less to do with ALSA? People
>> > subscribed to Linux audio users mailing list (LAU) opened several
>> > threads. I didn't follow those threads completely, so I don't know
>> > if they found a good solution. At least there's more traffic at LAU
>> > and it's an issue that was discussed there several times.
>> >
>> >
>> > --
>> > See everything from the browser to the database with AppDynamics
>> > Get end-to-end visibility with application monitoring from
>> > AppDynamics Isolate bottlenecks and diagnose root cause in seconds.
>> > Start your free trial of AppDynamics Pro today!
>> > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>> > ___
>> > Alsa-user mailing list
>> > Alsa-user@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/alsa-user
>>
>>
>>
>
>
> --
> "We have the heroes we deserve."
>
> --
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> ___
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user



-- 
===8@))-\-<
http://akhil.ru

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] recording audio from speakers

2013-07-29 Thread Dominique Michel
Le Mon, 29 Jul 2013 13:50:01 +0700,
Ильдар Ахметгалеев  a écrit :

> you may also try alsa's loopback module
> https://bbs.archlinux.org/viewtopic.php?pid=765075#p765075

For me, it is the definitive solution. You can configure ALSA to use
the loopback device as first sound card, and use alsa_in and alsa_out,
or for a better sound quality, zita-ajbridge (zita-a2j and zita-j2a) to
interface jack and alsa.

That way, all the ALSA applications will use the loopback by default
and will be available in jack. Of course, you will have to run jack all
the time.

It is a  French how-to here:
http://www.linuxmao.org/TUTO+%3A+ALSA+vers+JACK&structure=Accueil+Logiciels
and another one here:
http://alsa.opensrc.org/Jack_and_Loopback_device_as_Alsa-to-Jack_bridge
but the alsa wiki seam to be down.

You can also use zita-*2* directly, but I did not try it. I prefer the
automatic way with the loopback device.

Dominique

> 
> 2013/7/29 Ralf Mardorf :
> > On Mon, 2013-07-29 at 08:27 +0200, YuGiOhJCJ Mailing-List wrote:
> >> Do you mean I am in the wrong mailing list for support on alsa on
> >> Linux ?
> >
> > What if the best solution has less to do with ALSA? People
> > subscribed to Linux audio users mailing list (LAU) opened several
> > threads. I didn't follow those threads completely, so I don't know
> > if they found a good solution. At least there's more traffic at LAU
> > and it's an issue that was discussed there several times.
> >
> >
> > --
> > See everything from the browser to the database with AppDynamics
> > Get end-to-end visibility with application monitoring from
> > AppDynamics Isolate bottlenecks and diagnose root cause in seconds.
> > Start your free trial of AppDynamics Pro today!
> > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> > ___
> > Alsa-user mailing list
> > Alsa-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/alsa-user
> 
> 
> 


-- 
"We have the heroes we deserve."

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Soundblaster Audigy 2 NX- Still buggy after all these years

2013-07-29 Thread Mark DM
I am posting what I see ! Perhaps your interpretation is contradictory as
it appears to be with the alsa devs. The point being is that what I can
toggle with amixer and hardware mute on audigy or remote,  is not available
in any mixer control! You can say they are contradictory however what I
need is to change the mute/unmute behavior to conform to the hardware mute
method such as I use amixer for. Amixer is the ONLY available unmute method
when hardware mute is used on Audigy or remote.

I know the xbmc does a different mute because I programmed the xbmc mute on
the remote . Even when deactivated or when not running xbmc the
aforementioned hardware mute buttons behave differently than a software
mute


I have also created situations where the hardware mute is off and the
software mute is on and visa versa



On Mon, Jul 29, 2013 at 2:45 AM, Clemens Ladisch wrote:

> Mark DM wrote:
> > "Master Playback Switch" is clearly missing from the mixer.
>
> > amixer controls shows among other items numid=5,iface=MIXER,name='Master
> Playback Switch'
>
> These two statements are contradictory.
>
> > when I use the remotes mute function (which is also configured to send
> > a mute via XBMC), or the mute on Audigy unit itself, the "mute"
> > indicator on Audigy lights up. Unit can only be unmuted with amixer
>
> The remote's and device's mute buttons work automatically.  Unmuting
> must be handled by some software that listens for these events.
>
> Obviously, nothing is actually listening.  Why do you think that XMBC
> is configured for this?
>
> As far as I know, the only software that can handle the Audigy 2 NX's
> remote events is LIRC: .
> (Use driver "alsa_usb" and remote "RM-1500".)
>
> > Must always mute with: amixer -c 1 cset numid=5 0
> > Then we can always unmute with: amixer -c 1 cset numid=5 1
>
> Or just use "amixer -c1 cset numid=5 toggle".
>
>
> Regards,
> Clemens
>
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Soundblaster Audigy 2 NX- Still buggy after all these years

2013-07-29 Thread Clemens Ladisch
Mark DM wrote:
> "Master Playback Switch" is clearly missing from the mixer.

> amixer controls shows among other items numid=5,iface=MIXER,name='Master 
> Playback Switch'

These two statements are contradictory.

> when I use the remotes mute function (which is also configured to send
> a mute via XBMC), or the mute on Audigy unit itself, the "mute"
> indicator on Audigy lights up. Unit can only be unmuted with amixer

The remote's and device's mute buttons work automatically.  Unmuting
must be handled by some software that listens for these events.

Obviously, nothing is actually listening.  Why do you think that XMBC
is configured for this?

As far as I know, the only software that can handle the Audigy 2 NX's
remote events is LIRC: .
(Use driver "alsa_usb" and remote "RM-1500".)

> Must always mute with: amixer -c 1 cset numid=5 0
> Then we can always unmute with: amixer -c 1 cset numid=5 1

Or just use "amixer -c1 cset numid=5 toggle".


Regards,
Clemens

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user