Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #184803 > unrolled thread
| Started by | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| First post | 2017-08-07 14:20 +0200 |
| Last post | 2017-08-14 22:50 +0200 |
| Articles | 13 on this page of 33 — 7 participants |
Back to article view | Back to linux.debian.user
Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-07 14:20 +0200
Re: Help with USB audio card Jeremy Nicoll <jn.ml.dbn.25@letterboxes.org> - 2017-08-07 18:10 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-07 18:30 +0200
Re: Help with USB audio card David Christensen <dpchrist@holgerdanske.com> - 2017-08-08 02:30 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-08 09:40 +0200
Re: Help with USB audio card David Wright <deblis@lionunicorn.co.uk> - 2017-08-08 15:50 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-08 17:00 +0200
Re: Help with USB audio card David Christensen <dpchrist@holgerdanske.com> - 2017-08-09 06:10 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-09 08:40 +0200
Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-09 11:10 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-09 14:10 +0200
Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-09 14:50 +0200
Re: Help with USB audio card deloptes <deloptes@gmail.com> - 2017-08-08 19:20 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-08 20:10 +0200
Re: Help with USB audio card deloptes <deloptes@gmail.com> - 2017-08-09 00:10 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-09 01:50 +0200
Re: Help with USB audio card deloptes <deloptes@gmail.com> - 2017-08-09 20:30 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-09 22:50 +0200
Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-10 13:20 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-10 15:10 +0200
Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-10 17:10 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-10 17:20 +0200
Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-10 18:10 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-10 20:30 +0200
Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-10 20:40 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-10 21:10 +0200
Re: Help with USB audio card Ric Moore <wayward4now@gmail.com> - 2017-08-11 19:00 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-11 22:40 +0200
Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-12 14:50 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-12 22:00 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-14 09:00 +0200
Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-14 11:10 +0200
Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-14 22:50 +0200
Page 2 of 2 — ← Prev page 1 [2]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2017-08-10 17:10 +0200 |
| Message-ID | <ucXfY-7nB-5@gated-at.bofh.it> |
| In reply to | #184988 |
On 2017-08-10, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: >> >> This makes no sense BTW. Unmuted everything? You're *recording*, so what >> you want to do in alsamixer is to select your external usb audio card >> (F6), display its capture device(s) (F5), and toggle on the input >> channel of your choice (space bar). >> >> But I assume you have arrived at this crucial result in one way or another. > > > I did. Besides, the USB card does not even work with headphones: when > headphones are plugged into it, no sound is heard from them. Try making the USB audio dongle the first sound card (0). I'm not certain how to do that. Perhaps comment out the following line in '/etc/modprobe.d/alsa-base.conf': # Keep snd-usb-audio from beeing <sic> loaded as first soundcard options snd-usb-audio index=-2 > Rodolfo > > -- "Until the Lion learns to write, tales of the hunt shall always glorify the Hunter." — African proverb
[toc] | [prev] | [next] | [standalone]
| From | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| Date | 2017-08-10 17:20 +0200 |
| Message-ID | <ucXpE-7qP-29@gated-at.bofh.it> |
| In reply to | #184996 |
Curt <curty@free.fr> writes: > On 2017-08-10, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: >>> >>> This makes no sense BTW. Unmuted everything? You're *recording*, so what >>> you want to do in alsamixer is to select your external usb audio card >>> (F6), display its capture device(s) (F5), and toggle on the input >>> channel of your choice (space bar). >>> >>> But I assume you have arrived at this crucial result in one way or another. >> >> >> I did. Besides, the USB card does not even work with headphones: when >> headphones are plugged into it, no sound is heard from them. > > Try making the USB audio dongle the first sound card (0). > > I'm not certain how to do that. > > Perhaps comment out the following line in '/etc/modprobe.d/alsa-base.conf': > > # Keep snd-usb-audio from beeing <sic> loaded as first soundcard > options snd-usb-audio index=-2 No '/etc/modprobe.d/alsa-base.conf' on my PC... /etc/modprobe.d is empty. There's /usr/share/alsa.conf, but it doesn't contain any occurrence of `usb'. Thanks, Rodolfo
[toc] | [prev] | [next] | [standalone]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2017-08-10 18:10 +0200 |
| Message-ID | <ucYc1-7WK-3@gated-at.bofh.it> |
| In reply to | #184998 |
On 2017-08-10, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
>>
>> Perhaps comment out the following line in '/etc/modprobe.d/alsa-base.conf':
>>
>> # Keep snd-usb-audio from beeing <sic> loaded as first soundcard
>> options snd-usb-audio index=-2
>
>
> No '/etc/modprobe.d/alsa-base.conf' on my PC... /etc/modprobe.d is empty.
> There's /usr/share/alsa.conf, but it doesn't contain any occurrence of `usb'.
https://wiki.debian.org/ALSA
?
/etc/modprobe.d/sound
options snd-usb-audio index=0
options snd_hda_codec_hdmi(or whatever it's called)=1
options snd(etc...)=2
There's a plethora of info on sound card ordering, but much of it is
obsolete I'm afraid.
Whether making the usb dongle the default card by creating a ~.asoundrc file:
pcm.!default {
type hw
card 2
}
ctl.!default {
type hw
card 2
}
would work or not I dunno. I read that for the Lenovo to get an external
usb sound card working the card must be indexed as card 0 (numero uno).
> Thanks,
>
> Rodolfo
>
>
--
"Until the Lion learns to write, tales of the hunt shall always glorify the Hunter."
— African proverb
[toc] | [prev] | [next] | [standalone]
| From | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| Date | 2017-08-10 20:30 +0200 |
| Message-ID | <ud0nv-ME-3@gated-at.bofh.it> |
| In reply to | #184999 |
Curt <curty@free.fr> writes:
> Whether making the usb dongle the default card by creating a ~.asoundrc file:
>
> pcm.!default {
> type hw
> card 2
> }
>
> ctl.!default {
> type hw
> card 2
> }
>
> would work or not I dunno.
It seems it does: now I get:
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 2: ALC662 rev3 Alt Analog [ALC662 rev3 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
but still the card does not work, neither with headphones nor with microphone:
to record from mic, I do now:
$ sox -t alsa hw:1,0 output.wav
but no sound is recorded.
> I read that for the Lenovo to get an external
> usb sound card working the card must be indexed as card 0 (numero uno).
The card doesn't work with my netbook Acer Aspire One either...
Thanks,
Rodolfo
[toc] | [prev] | [next] | [standalone]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2017-08-10 20:40 +0200 |
| Message-ID | <ud0xc-TH-7@gated-at.bofh.it> |
| In reply to | #185005 |
On 2017-08-10, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: > >> I read that for the Lenovo to get an external >> usb sound card working the card must be indexed as card 0 (numero uno). > > The card doesn't work with my netbook Acer Aspire One either... Maybe it's defective. > Thanks, > > Rodolfo > > -- "Until the Lion learns to write, tales of the hunt shall always glorify the Hunter." — African proverb
[toc] | [prev] | [next] | [standalone]
| From | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| Date | 2017-08-10 21:10 +0200 |
| Message-ID | <ud10e-1xP-17@gated-at.bofh.it> |
| In reply to | #185007 |
Curt <curty@free.fr> writes: > On 2017-08-10, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: >> >>> I read that for the Lenovo to get an external >>> usb sound card working the card must be indexed as card 0 (numero uno). >> >> The card doesn't work with my netbook Acer Aspire One either... > > Maybe it's defective. No, it was tested by the shop owner and works fine with MS Windows... Rodolfo
[toc] | [prev] | [next] | [standalone]
| From | Ric Moore <wayward4now@gmail.com> |
|---|---|
| Date | 2017-08-11 19:00 +0200 |
| Message-ID | <udlrY-5XG-5@gated-at.bofh.it> |
| In reply to | #184988 |
On 08/10/2017 09:06 AM, Rodolfo Medina wrote: > Curt <curty@free.fr> writes: > >> On 2017-08-07, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: >>> >>> Besides, I ran alsamixer, selected the USB card and unmuted everything. But >>> then, when I try to record, no sound is recorded. I do: >>> >> >> This makes no sense BTW. Unmuted everything? You're *recording*, so what >> you want to do in alsamixer is to select your external usb audio card >> (F6), display its capture device(s) (F5), and toggle on the input >> channel of your choice (space bar). >> >> But I assume you have arrived at this crucial result in one way or another. > > > I did. Besides, the USB card does not even work with headphones: when > headphones are plugged into it, no sound is heard from them. If you were running pulseaudio, you would merely select the headphones. I suggest you use USB headphones. They are cheap. Works a charm. Ric -- My father, Victor Moore (Vic) used to say: "There are two Great Sins in the world... ..the Sin of Ignorance, and the Sin of Stupidity. Only the former may be overcome." R.I.P. Dad. http://linuxcounter.net/user/44256.html
[toc] | [prev] | [next] | [standalone]
| From | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| Date | 2017-08-11 22:40 +0200 |
| Message-ID | <udoSS-86n-17@gated-at.bofh.it> |
| In reply to | #184988 |
Rodolfo Medina <rodolfo.medina@gmail.com> writes: > Curt <curty@free.fr> writes: > >> On 2017-08-07, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: >>> >>> Besides, I ran alsamixer, selected the USB card and unmuted everything. >>> But then, when I try to record, no sound is recorded. I do: >>> >> >> This makes no sense BTW. Unmuted everything? You're *recording*, so what >> you want to do in alsamixer is to select your external usb audio card >> (F6), display its capture device(s) (F5), and toggle on the input >> channel of your choice (space bar). >> >> But I assume you have arrived at this crucial result in one way or another. > > > I did. Besides, the USB card does not even work with headphones: when > headphones are plugged into it, no sound is heard from them. I had the USB work with headphones doing: $ mplayer -ao alsa:device=hw=2.0 <file> Can this help to solve also the recording problem...? I get no sound recorded doing: $ sox -t alsa hw:2,0 output.wav Rodolfo
[toc] | [prev] | [next] | [standalone]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2017-08-12 14:50 +0200 |
| Message-ID | <udE1z-Nl-9@gated-at.bofh.it> |
| In reply to | #185068 |
On 2017-08-11, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: >>> >>> This makes no sense BTW. Unmuted everything? You're *recording*, so what >>> you want to do in alsamixer is to select your external usb audio card >>> (F6), display its capture device(s) (F5), and toggle on the input >>> channel of your choice (space bar). >>> >>> But I assume you have arrived at this crucial result in one way or another. >> >> >> I did. Besides, the USB card does not even work with headphones: when >> headphones are plugged into it, no sound is heard from them. > > > I had the USB work with headphones doing: > > $ mplayer -ao alsa:device=hw=2.0 <file> > Can this help to solve also the recording problem...? I get no sound recorded > doing: The wild goose is getting further and further away. It's strange to record to the same device number you listened to above, but who knows? There's only one input device on the dongle. Have you tried recording to the laptop's mic with the sox command below? Does that work? Is your microphone busted? Are you singing loud enough (from the diaphragm)? > $ sox -t alsa hw:2,0 output.wav ffmpeg -f alsa -i hw:2 -t 30 out.wav Thirty seconds. I'd open pavucontrol, select your usb audio dongle's mic as your input device, start singing (after plugging in your microphone), and see if you can get that input level gauge to start hopping to the tune of your dulcet tenor arpeggios on the upper end of the Richter scale. > Rodolfo > > -- "Until the Lion learns to write, tales of the hunt shall always glorify the Hunter." — African proverb
[toc] | [prev] | [next] | [standalone]
| From | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| Date | 2017-08-12 22:00 +0200 |
| Message-ID | <udKJH-5f3-1@gated-at.bofh.it> |
| In reply to | #185092 |
Curt <curty@free.fr> writes: > On 2017-08-11, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: >>>> >>> I did. Besides, the USB card does not even work with headphones: when >>> headphones are plugged into it, no sound is heard from them. >> >> >> I had the USB work with headphones doing: >> >> $ mplayer -ao alsa:device=hw=2.0 <file> > >> Can this help to solve also the recording problem...? I get no sound >> recorded doing: > > The wild goose is getting further and further away. > > It's strange to record to the same device number you listened to above, but > who knows? $ arecord -l **** List of CAPTURE Hardware Devices **** card 1: Generic [HD-Audio Generic], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic [HD-Audio Generic], device 2: ALC662 rev3 Alt Analog [ALC662 rev3 Alt Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 > There's only one input device on the dongle. Have you tried recording to > the laptop's mic with the sox command below? Does that work? Is your > microphone busted? Are you singing loud enough (from the diaphragm)? > >> $ sox -t alsa hw:2,0 output.wav Yes everything. Voice is recorded fine if the microphone is plugged into the `mic' entry of the PC, with the command `sox -t alsa default output.wav'. So it is not busted. It's not a matter of loudness either... > ffmpeg -f alsa -i hw:2 -t 30 out.wav > > Thirty seconds. What's this for? ffmpeg complains: [alsa @ 0x562c7a3dbe40] cannot set channel count to 2 (Invalid argument) hw:2: Input/output error > I'd open pavucontrol, select your usb audio dongle's mic as your input > device, How? I see a list of three input devices: Monitor of Built-in Audio Analog Stereo Built-in Audio Analog Stereo CM108 Audio Controller Analog Mono How do I choose the one I want? Each of them has a red button with a check in it, but nothing changes if I click on them... > start singing (after plugging in your microphone), and see if > you can get that input level gauge to start hopping to the tune of your > dulcet tenor arpeggios on the upper end of the Richter scale. Well, no, wherever I click that level does not arise... Thanks, Rodolfo
[toc] | [prev] | [next] | [standalone]
| From | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| Date | 2017-08-14 09:00 +0200 |
| Message-ID | <uehvX-LZ-19@gated-at.bofh.it> |
| In reply to | #185099 |
Rodolfo Medina <rodolfo.medina@gmail.com> writes: > How do I choose the one I want? Each of them has a red button with a check > in it, but nothing changes if I click on them... ...Sorry, a green button, not red... Rodolfo
[toc] | [prev] | [next] | [standalone]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2017-08-14 11:10 +0200 |
| Message-ID | <uejxL-2gt-13@gated-at.bofh.it> |
| In reply to | #185151 |
On 2017-08-14, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: > Rodolfo Medina <rodolfo.medina@gmail.com> writes: > >> How do I choose the one I want? Each of them has a red button with a check >> in it, but nothing changes if I click on them... > > > ...Sorry, a green button, not red... Right. I have successfully recorded my speaking voice using a usb sound device (webcam, but that's all I got) with audacity. So you attach your usb dongle and plug in your microphone (turn it on, if it turns on), then open audacity. There are two microphone icons with drop down menus on the toolbar in audacity. Next to the lower left microphone icon, I selected 'USB Device' (hw:2,0) in the drop down menu. The mic's mono so no choice there for me. For the upper right mic icon select 'start monitoring' in the drop down menu. Now when you make a sound into the microphone the red monitoring meter should hop to the right. If that doesn't happen you can stop right there because something is wrong that must be fixed first. No meter movement--no sound input detected; you will end up with another empty wav. Press red button to record. > Rodolfo > > -- "Until the Lion learns to write, tales of the hunt shall always glorify the Hunter." — African proverb
[toc] | [prev] | [next] | [standalone]
| From | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| Date | 2017-08-14 22:50 +0200 |
| Message-ID | <ueutd-n0-31@gated-at.bofh.it> |
| In reply to | #185156 |
Curt <curty@free.fr> writes: > On 2017-08-14, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: >> Rodolfo Medina <rodolfo.medina@gmail.com> writes: >> >>> How do I choose the one I want? Each of them has a red button with a check >>> in it, but nothing changes if I click on them... >> >> >> ...Sorry, a green button, not red... > > Right. > > I have successfully recorded my speaking voice using a usb sound device > (webcam, but that's all I got) with audacity. > > So you attach your usb dongle and plug in your microphone (turn it on, if it > turns on), then open audacity. > > There are two microphone icons with drop down menus on the toolbar in > audacity. Next to the lower left microphone icon, I selected 'USB > Device' (hw:2,0) in the drop down menu. The mic's mono so no choice > there for me. > > For the upper right mic icon select 'start monitoring' in the drop down > menu. Now when you make a sound into the microphone the red monitoring > meter should hop to the right. If that doesn't happen you can stop right > there because something is wrong that must be fixed first. No meter > movement--no sound input detected; you will end up with another empty > wav. > > Press red button to record. Yes, thanks... Something is wrong with the device: the test with Audacity is negative. Besides, today I got a new USB audio card, that I bought in internet when I saw that the first one wouldn't work: here it is: https://www.amazon.it/dp/B01KLZR3TY/ref=pe_3310731_189395851_TE_dp_1 I bought it because it was claimed to be working with Linux. And in fact, it works perfectly, also with the test you suggested with pavucontrol, and also with this test in Audacity, and it records fine. But maybe, it is simply that the first one is defective... Thank you indeed, Curt, for your help... Thanks to all. Cheers, Rodolfo
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | linux.debian.user
csiph-web