Cannot record audio from browser, only microphone [SOLVED]

Help for Audacity 2.x.x on GNU/Linux.

ImageThis forum is for Audacity 2.x.x on GNU/Linux and Unix-like operating systems.
Please state which version of Linux you are using, the exact three-section version number of Audacity from Help > About Audacity... and whether you installed your distribution's release or daily version of Audacity or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.

Cannot record audio from browser, only microphone [SOLVED]

Permanent link to this post Posted by sav » Wed May 17, 2017 8:58 am

Hello,

I've read several wiki pages, articles, saw video how to do that, but still cannot get it worked.

OS is Ubuntu and ALSA is installed (by default)

#lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

#cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k4.4.0-75-generic.


In preferences of Audacity, list of devices:
Interface, HOST: ALSA (cannot choose anything else)


Playback Devices:
default
pulse
hdmi
HDA Intel PCH: HDMI 0 (hw:0,3)


Recording devices:
default
pulse
HD Pro Webcam C920: USB Audio (hw:1,0)


Audacity can record everything I talk via microphone.
But it does not record anything I listen via browser. I'm trying to write audio from http://www.oddcast.com/demos/tts/tts_example.php?sitepal

I run alsamixer, but have no idea how to configure it and what it shows. But can add information that may help.

Can you please help.

Best regards
sav
 
Posts: 3
Joined: Wed May 17, 2017 8:43 am
Operating System: Linux *buntu

Re: Cannot record audio from browser, it records only microp

Permanent link to this post Posted by sav » Wed May 17, 2017 9:22 am

When I run audacity via command line, here is an output:
audacity

(Audacity:6252): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
11:13:39: Debug: Unknown accel modifier: 'left'
11:13:39: Debug: Unknown accel modifier: 'click/left'
11:13:39: Debug: Unrecognized accel key 'drag', accel string ignored.
11:13:39: Debug: Unknown accel modifier: 'left'
11:13:39: Debug: Unrecognized accel key 'click', accel string ignored.
11:13:39: Debug: Unknown accel modifier: 'right'
11:13:39: Debug: Unrecognized accel key 'click', accel string ignored.
11:13:39: Debug: Unknown accel modifier: 'left'
11:13:39: Debug: Unknown accel modifier: 'click/left'
11:13:39: Debug: Unrecognized accel key 'drag', accel string ignored.
11:13:39: Debug: Unknown accel modifier: 'left'
11:13:39: Debug: Unrecognized accel key 'click', accel string ignored.
11:13:39: Debug: Unknown accel modifier: 'right'
11:13:39: Debug: Unrecognized accel key 'click', accel string ignored.
sav
 
Posts: 3
Joined: Wed May 17, 2017 8:43 am
Operating System: Linux *buntu

Re: Cannot record audio from browser, it records only microp

Permanent link to this post Posted by steve » Wed May 17, 2017 1:54 pm

Select "Pulse" or "Default" as the recording input in the device toolbar.

Click on the recording meter in Audacity to start monitoring.

Open "PulseAudio Volume Control" (from the command line, that's: pavucontrol) and look in the "Recording" tab and select the "Monitor" for the device that your browser uses for playback.

For more information, see: http://manual.audacityteam.org/man/tuto ... linux.html
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 45305
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Cannot record audio from browser, only microphone[SOLVED

Permanent link to this post Posted by sav » Thu May 18, 2017 12:43 pm

Thank you very much!

I had only ASTRA, but not Pulsaudio. So removing ASTRA and installing Pulsaudion, fixed the problem.
sav
 
Posts: 3
Joined: Wed May 17, 2017 8:43 am
Operating System: Linux *buntu


Return to GNU/Linux and Unix-like



Who is online

Users browsing this forum: joseluisbz and 3 guests