Re: re-route sound output to line in (for e.g. recording, audio visualization)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thanks!
i replaced "Audigy2" with "Intel" and put it in my ~/.asoundrc.
this works so far that it doesn't do any harm until i assign some value to ALSAPCM.
If i then restart mpd, there's no sound.

i also reintroduced snd-aloop.
first i tried with Paolo's asoundrc; but assigning "Loopback" to ALSAPCM does not make sndpeek analyze the actual sound mpd is playing.

in shellspeak:
sudo modprobe snd-aloop
ALSAPCM=Loopback
export ALSAPCM
sndpeek
---> still hangs on the default soundcard's first capture device

it IS possible to get sndpeek to listen to another device - by making the Loopback card the default.
i have achieved this, too, and told mpd to look for hw:1,0 instead of hw:0,0.
no problem with mpd, sndpeek opens hw:1,0 as expected but isn't getting any input.

so now i am at the point where i have sndpeek listening at the right card, 
but it doesn't get any input and  i don't know how to influence the Loopback card's channels.
alsamixer says "This sound device does not have any controls", 
the output of "amixer scontrols" is nil, the output of "amixer controls" 
is a LOT, but i don't see anything pointing to my loopback card...

right now i'm using this asoundrc: from here onward: https://bbs.archlinux.org/viewtopic.php?pid=1153194#p1153194

so i can approach this problem from different directions - i feel i'm getting closer but something is missing still.

would Paolos suggestion even work while mpd is running? meaning i "fake" sndpeek into seeing another card/device as the default while mpd is playing sound through "its own" default device?
do i even have to combine this approach with a Loopback device? i think yes.





On Sun, 17 Nov 2013 19:22:45 +0100
Paolo Bolzoni <paolo.bolzoni.brown@xxxxxxxxx> wrote:

> On Sat, Nov 16, 2013 at 11:09 PM, D.T.au <danter@xxxxxx> wrote:
> > i managed earlier to create a loopback device, and it worked so-so.
> >
> > but i have one stubborn application that insists on using the default soundcard's first capture device (sndpeek).
> 
> I use this default device, that can actually be pointed to any other
> via environment variable.
> I am not sure if it can help for your other problems, but in my system
> all the application
> used the correct pcm indicated by ALSAPCM.
> 
> (Change the hw:Audigy2 with your default)
> 
>  pcm.!default {
>    type plug
>    slave.pcm {
>      @func getenv
>      vars [ ALSAPCM ]
>      default "hw:Audigy2"
>    }
>  }




......................................................................
Olen siirtymässä uuteen s-posti-osoitteeseen, viimeistä kertaa ikinä! Sen pitäisi jo näkyä tämän viestin otsikossa (lähettäjä), mutta tässä se on: 
---> danter ät iki piste fi <--- 
Ole hyvä ja päivitä ositekirjasi. Jos ihmettelet miksi, ja miksi viimeista kertaa, katso tästä: iki.fi
......................................................................
I am changing my email-address, hopefully for the last time ever! It should show in this message's header (From), but here it is again: 
---> danter ät iki dot fi <--- 
Please update your address book. If you're wondering why, and why the last time ever, read here: iki.fi
......................................................................
Ich wechsele meine email-adresse, hoffentlich das letzte mal für immer! Man müsste sie im kopf dieser nachricht schon sehen, aber hier ist sie nochmal: 
---> danter ät iki punkt fi <--- 
Bitte aktualisiere dein Adressbuch.

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user





[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux