Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #159460 > unrolled thread

alsa troubles

Started byGlenn English <ghe@slsware.net>
First post2015-10-19 18:40 +0200
Last post2015-10-20 20:50 +0200
Articles 5 on this page of 25 — 8 participants

Back to article view | Back to linux.debian.user


Contents

  alsa troubles Glenn English <ghe@slsware.net> - 2015-10-19 18:40 +0200
    Re: alsa troubles <tomas@tuxteam.de> - 2015-10-19 18:50 +0200
      Re: alsa troubles Glenn English <ghe@slsware.net> - 2015-10-19 19:40 +0200
      Re: alsa troubles Elimar Riesebieter <riesebie@lxtec.de> - 2015-10-19 22:10 +0200
        Re: alsa troubles Glenn English <ghe@slsware.net> - 2015-10-19 23:00 +0200
          Re: alsa troubles Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-19 23:40 +0200
            Re: alsa troubles Glenn English <ghe@slsware.net> - 2015-10-20 00:00 +0200
              Re: alsa troubles Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-20 00:10 +0200
                Re: alsa troubles Glenn English <ghe@slsware.net> - 2015-10-20 00:20 +0200
                  Re: alsa troubles Alex Moonshine <moonshine@openmailbox.org> - 2015-10-20 01:00 +0200
                    Re: alsa troubles <briand@aracnet.com> - 2015-10-20 06:50 +0200
                Re: alsa troubles Glenn English <ghe@slsware.net> - 2015-10-20 00:50 +0200
                  Re: alsa troubles Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-20 01:00 +0200
                Re: alsa troubles Glenn English <ghe@slsware.net> - 2015-10-20 01:00 +0200
                  Re: alsa troubles Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-20 01:20 +0200
                    Re: alsa troubles Glenn English <ghe@slsware.net> - 2015-10-20 02:10 +0200
                      Re: alsa troubles Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-20 11:30 +0200
                  Re: alsa troubles <briand@aracnet.com> - 2015-10-20 06:50 +0200
              Re: alsa troubles Jude DaShiell <jdashiel@panix.com> - 2015-10-20 11:30 +0200
    Re: alsa troubles Teemu Likonen <tlikonen@iki.fi> - 2015-10-19 19:00 +0200
      Re: alsa troubles Glenn English <ghe@slsware.net> - 2015-10-19 19:40 +0200
      Re: alsa troubles Glenn English <ghe@slsware.net> - 2015-10-19 22:50 +0200
        Re: alsa troubles Teemu Likonen <tlikonen@iki.fi> - 2015-10-20 05:10 +0200
          Re: alsa troubles Glenn English <ghe@slsware.net> - 2015-10-20 20:40 +0200
            Re: alsa troubles Teemu Likonen <tlikonen@iki.fi> - 2015-10-20 20:50 +0200

Page 2 of 2 — ← Prev page 1 [2]


#159469

FromGlenn English <ghe@slsware.net>
Date2015-10-19 19:40 +0200
Message-ID<qlmzE-2TP-25@gated-at.bofh.it>
In reply to#159464
On Oct 19, 2015, at 10:51 AM, Teemu Likonen <tlikonen@iki.fi> wrote:

> I would continue with "aplay -l". What does it say?

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

> Then you could try to put some music to that device:
> 
>    $ mpv music.mp3 --ao=alsa:device='[plughw:0,0]'
> 
> Where [plughw:0,0] has first the card number (0) and then the device
> number (0).

Thanks. I'll try that after breakfast :-)

-- 
Glenn English

[toc] | [prev] | [next] | [standalone]


#159479

FromGlenn English <ghe@slsware.net>
Date2015-10-19 22:50 +0200
Message-ID<qlpxv-7it-9@gated-at.bofh.it>
In reply to#159464
On 10/19/2015 10:51 AM, Teemu Likonen wrote:

> I would continue with "aplay -l". What does it say?

ghe@sbox:~/open_goldberg_variations_mp3_24_44$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
   Subdevices: 1/1
   Subdevice #0: subdevice #0

> Then you could try to put some music to that device:
>
>      $ mpv music.mp3 --ao=alsa:device='[plughw:0,0]'

Dud'n work:

ghe@sbox:... mpv 
KIMIKO_ISHIZAKA-GoldbergVariations-BWV-988-01-Aria__44k-24b.mp3 
--ao=alsa:device='[plughw:0,0]'
No command 'mpv' found, did you mean:
  Command 'mpd' from package 'mpd' (main)
  Command 'mpb' from package 'mpb' (main)
  Command 'mpc' from package 'mpc' (main)
  Command 'mmv' from package 'mmv' (main)
  Command 'mpmv' from package 'mpdtoys' (main)
  Command 'mev' from package 'gpm' (main)
  Command 'pv' from package 'pv' (main)
  Command 'mcv' from package 'scotch' (main)
  Command 'mv' from package 'coreutils' (main)
  Command 'mp' from package 'mp' (main)
mpv: command not found

I tried it as root and got just the

mpv: command not found

I did an 'apt-search mpv' and got hundreds of ...mpv and ...mpv... etc, 
but no just plain mpv.

-- 
Glenn English

[toc] | [prev] | [next] | [standalone]


#159501

FromTeemu Likonen <tlikonen@iki.fi>
Date2015-10-20 05:10 +0200
Message-ID<qlvtf-7OS-3@gated-at.bofh.it>
In reply to#159479

[Multipart message — attachments visible in raw view] — view raw

Glenn English [2015-10-19 14:42:26-06] wrote:

>> Then you could try to put some music to that device:
>>
>>      $ mpv music.mp3 --ao=alsa:device='[plughw:0,0]'
>
> Dud'n work:
>
> ghe@sbox:... mpv
> KIMIKO_ISHIZAKA-GoldbergVariations-BWV-988-01-Aria__44k-24b.mp3
> --ao=alsa:device='[plughw:0,0]'
> No command 'mpv' found, did you mean:

Do:

    apt-get install mpv

The point here is that "aplay -l" finds different devices and we try to
put some sounds directly to those devices. There are higher-level tools
for configuring audio but low-level tests are pretty good starting
point and good for understanding basics.

> I did an 'apt-search mpv' and got hundreds of ...mpv and ...mpv...
> etc, but no just plain mpv.

Executable files are usually in /usr/bin, so:

    $ apt-file search /usr/bin/mpv
    mpv: /usr/bin/mpv

Meaning that package mpv has the file /usr/bin/mpv.

[toc] | [prev] | [next] | [standalone]


#159545

FromGlenn English <ghe@slsware.net>
Date2015-10-20 20:40 +0200
Message-ID<qlJZf-3xM-5@gated-at.bofh.it>
In reply to#159501
On Oct 19, 2015, at 9:08 PM, Teemu Likonen <tlikonen@iki.fi> wrote:

> Do:
> 
>    apt-get install mpv

Tried that (in Aptitude and apt-file). Maybe it just isn't in my repos, somehow.

> The point here is that "aplay -l" finds different devices

aplay -l did what you said it would. And it removed a couple variables from the problem.

> and we try to
> put some sounds directly to those devices. There are higher-level tools
> for configuring audio but low-level tests are pretty good starting
> point and good for understanding basics.

Yes. I'm a great believer in that -- several people have gone crazy when I say, "Bring up a terminal" :-)

But in this case, the high-level tools (and some random clicking) eventually found the answer.

-- 
Glenn English

[toc] | [prev] | [next] | [standalone]


#159546

FromTeemu Likonen <tlikonen@iki.fi>
Date2015-10-20 20:50 +0200
Message-ID<qlK8W-3Ji-13@gated-at.bofh.it>
In reply to#159545

[Multipart message — attachments visible in raw view] — view raw

Glenn English [2015-10-20 12:32:22-06] wrote:

>>    apt-get install mpv
>
> Tried that (in Aptitude and apt-file). Maybe it just isn't in my
> repos, somehow.

Weird. Mpv is in Jessie repos, at least. But Mplayer and Mplayer2 have
similar syntax:

    mplayer music.mp3 -ao alsa:device=plughw=0.0   # card 0, device 0

> But in this case, the high-level tools (and some random clicking)
> eventually found the answer.

Good!

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | linux.debian.user


csiph-web