Audacity does not find the correct device [SOLVED]

Help for Audacity 2.x.x on GNU/Linux.
Forum rules
ImageThis forum is for Audacity 2.x.x on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, 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 (see 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.
brunoczim
Posts: 6
Joined: Wed Oct 31, 2018 5:18 am
Operating System: GNU/Linux other

Audacity does not find the correct device [SOLVED]

Post by brunoczim » Wed Oct 31, 2018 5:30 am

I am using Arch Linux with kernel version 4.18.
Audacity version 2.3.0.
I have installed it from Arch Linux repositories.

Audio Device Info gives me:

Code: Select all

==============================
Default recording device number: -1
Default playback device number: 0
==============================
Device ID: 0
Device name: HDA Intel PCH: HDMI 0 (hw:0,3)
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1.000000
Low Playback Latency: 0.005805
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 1
Device name: HDA Intel PCH: HDMI 1 (hw:0,7)
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1.000000
Low Playback Latency: 0.005805
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 2
Device name: HDA Intel PCH: HDMI 2 (hw:0,8)
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1.000000
Low Playback Latency: 0.005805
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 3
Device name: HDA Intel PCH: HDMI 3 (hw:0,9)
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1.000000
Low Playback Latency: 0.005805
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 4
Device name: HDA Intel PCH: HDMI 4 (hw:0,10)
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1.000000
Low Playback Latency: 0.005805
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 5
Device name: hdmi
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1.000000
Low Playback Latency: 0.005805
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
No recording device found for 'HDA Intel PCH: HDMI 0 (hw:0,3)'.
Selected playback device: 0 - HDA Intel PCH: HDMI 0 (hw:0,3)
Cannot check mutual sample rates without both devices.
However, if I run

Code: Select all

alsa -l
I get:

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC256 Analog [ALC256 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
The first device reported by aplay seems to be missing in Audacity's report. I believe it is the correct device since:
1. Audacity neither plays nor records with the devices it found
2. PulseAudio (via pavucontrol) names the device it uses as "analog"

How do I proceed?

steve
Site Admin
Posts: 49027
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity does not find the correct device

Post by steve » Wed Oct 31, 2018 8:57 am

The recommended version for Linux is Audacity 2.2.2.
The 2.3.0 release is for Windows / Mac only. (2.3.0 on Linux is classed as "experimental" and has some serious bugs).
brunoczim wrote:
Wed Oct 31, 2018 5:30 am
Audio Device Info gives me:
No Pulse Audio!
Why is Pulse Audio apparently not running? Did you suspend Pulse when launching Audacity?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

brunoczim
Posts: 6
Joined: Wed Oct 31, 2018 5:18 am
Operating System: GNU/Linux other

Re: Audacity does not find the correct device

Post by brunoczim » Wed Oct 31, 2018 3:00 pm

Alright. Installing 2.2.2 seems to have fixed it for recording. However, Pulse Audio *is* running. If I run

Code: Select all

pulseaudio
I get:

Code: Select all

E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.

steve
Site Admin
Posts: 49027
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity does not find the correct device

Post by steve » Wed Oct 31, 2018 3:22 pm

What does the Audio Device Info look like with Audacity 2.2.2?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

brunoczim
Posts: 6
Joined: Wed Oct 31, 2018 5:18 am
Operating System: GNU/Linux other

Re: Audacity does not find the correct device

Post by brunoczim » Fri Nov 02, 2018 3:22 pm

Info on Audacity 2.2.2 is:

Code: Select all

==============================
Default recording device number: 0
Default playback device number: 1
==============================
Device ID: 0
Device name: HDA Intel PCH: ALC256 Analog (hw:0,0)
Host name: ALSA
Recording channels: 2
Playback channels: 0
Low Recording Latency: 0.005805
Low Playback Latency: -1.000000
High Recording Latency: 0.034830
High Playback Latency: -1.000000
Supported Rates:
==============================
Device ID: 1
Device name: HDA Intel PCH: HDMI 0 (hw:0,3)
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1.000000
Low Playback Latency: 0.005805
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 2
Device name: HDA Intel PCH: HDMI 1 (hw:0,7)
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1.000000
Low Playback Latency: 0.005805
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 3
Device name: HDA Intel PCH: HDMI 2 (hw:0,8)
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1.000000
Low Playback Latency: 0.005805
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 4
Device name: HDA Intel PCH: HDMI 3 (hw:0,9)
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1.000000
Low Playback Latency: 0.005805
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 5
Device name: HDA Intel PCH: HDMI 4 (hw:0,10)
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1.000000
Low Playback Latency: 0.005805
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 6
Device name: sysdefault
Host name: ALSA
Recording channels: 128
Playback channels: 0
Low Recording Latency: 0.021333
Low Playback Latency: -1.000000
High Recording Latency: 0.021333
High Playback Latency: -1.000000
Supported Rates:
==============================
Device ID: 7
Device name: hdmi
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1.000000
Low Playback Latency: 0.005805
High Recording Latency: -1.000000
High Playback Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 8
Device name: samplerate
Host name: ALSA
Recording channels: 128
Playback channels: 0
Low Recording Latency: 0.007755
Low Playback Latency: -1.000000
High Recording Latency: 0.023220
High Playback Latency: -1.000000
Supported Rates:
==============================
Device ID: 9
Device name: speexrate
Host name: ALSA
Recording channels: 128
Playback channels: 0
Low Recording Latency: 0.007755
Low Playback Latency: -1.000000
High Recording Latency: 0.023220
High Playback Latency: -1.000000
Supported Rates:
==============================
Device ID: 10
Device name: speex
Host name: ALSA
Recording channels: 1
Playback channels: 0
Low Recording Latency: 0.005805
Low Playback Latency: -1.000000
High Recording Latency: 0.034830
High Playback Latency: -1.000000
Supported Rates:
==============================
Device ID: 11
Device name: upmix
Host name: ALSA
Recording channels: 8
Playback channels: 0
Low Recording Latency: 0.005805
Low Playback Latency: -1.000000
High Recording Latency: 0.034830
High Playback Latency: -1.000000
Supported Rates:
==============================
Device ID: 12
Device name: vdownmix
Host name: ALSA
Recording channels: 6
Playback channels: 0
Low Recording Latency: 0.005805
Low Playback Latency: -1.000000
High Recording Latency: 0.034830
High Playback Latency: -1.000000
Supported Rates:
==============================
Selected recording device: 0 - HDA Intel PCH: ALC256 Analog (hw:0,0)
Selected playback device: 1 - HDA Intel PCH: HDMI 0 (hw:0,3)
Supported Rates:
    44100
    48000
    96000
    192000
==============================
Available mixers:
==============================
Available recording sources:
==============================
Available playback volumes:
0 - Master:0
1 - Headphone:0
2 - Speaker:0
3 - PCM:0
4 - Mic Boost:0
5 - Internal Mic Boost:0
==============================
Recording volume is emulated
Playback volume is native
Btw, Pulse Audio GUI calls the device "analog stereo duplex"

steve
Site Admin
Posts: 49027
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity does not find the correct device

Post by steve » Sat Nov 03, 2018 10:11 am

That device info looks strange. There is still no mention of Pulse, but Audacity is reporting the name of some audio "settings" as if they were "devices". Namely:

Code: Select all

Device ID: 8
Device name: samplerate

Code: Select all

Device ID: 9
Device name: speexrate

Code: Select all

Device ID: 10
Device name: speex

Code: Select all

Device ID: 11
Device name: upmix

Code: Select all

Device ID: 12
Device name: vdownmix
What is your output from:

Code: Select all

pactl list
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

brunoczim
Posts: 6
Joined: Wed Oct 31, 2018 5:18 am
Operating System: GNU/Linux other

Re: Audacity does not find the correct device

Post by brunoczim » Sun Nov 11, 2018 6:44 am

pactl list results in:

Code: Select all

Module #0
	Name: module-device-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the volume/mute state of devices"
		module.version = "12.2"

Module #1
	Name: module-stream-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the volume/mute/device state of streams"
		module.version = "12.2"

Module #2
	Name: module-card-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore profile of cards"
		module.version = "12.2"

Module #3
	Name: module-augment-properties
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Augment the property sets of streams with additional static information"
		module.version = "12.2"

Module #4
	Name: module-switch-on-port-available
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "David Henningsson"
		module.description = "Switches ports and profiles when devices are plugged/unplugged"
		module.version = "12.2"

Module #5
	Name: module-udev-detect
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Detect available audio hardware and load matching drivers"
		module.version = "12.2"

Module #6
	Name: module-alsa-card
	Argument: device_id="0" name="pci-0000_00_1f.3" card_name="alsa_card.pci-0000_00_1f.3" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
	Usage counter: 1
	Properties:
		module.author = "Lennart Poettering"
		module.description = "ALSA Card"
		module.version = "12.2"

Module #7
	Name: module-jackdbus-detect
	Argument: channels=2
	Usage counter: n/a
	Properties:
		module.author = "David Henningsson"
		module.description = "Adds JACK sink/source ports when JACK is started"
		module.version = "12.2"

Module #8
	Name: module-dbus-protocol
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Tanu Kaskinen"
		module.description = "D-Bus interface"
		module.version = "12.2"

Module #9
	Name: module-esound-protocol-unix
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "ESOUND protocol (UNIX sockets)"
		module.version = "12.2"

Module #10
	Name: module-native-protocol-unix
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Native protocol (UNIX sockets)"
		module.version = "12.2"

Module #11
	Name: module-gsettings
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Sylvain Baubeau"
		module.description = "GSettings Adapter"
		module.version = "12.2"

Module #12
	Name: module-default-device-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the default sink and source"
		module.version = "12.2"

Module #13
	Name: module-rescue-streams
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
		module.version = "12.2"

Module #14
	Name: module-always-sink
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Colin Guthrie"
		module.description = "Always keeps at least one sink loaded even if it's a null one"
		module.version = "12.2"

Module #15
	Name: module-intended-roles
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically set device of streams based on intended roles of devices"
		module.version = "12.2"

Module #16
	Name: module-suspend-on-idle
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "When a sink/source is idle for too long, suspend it"
		module.version = "12.2"

Module #17
	Name: module-console-kit
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Create a client for each ConsoleKit session of this user"
		module.version = "12.2"

Module #18
	Name: module-systemd-login
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Create a client for each login session of this user"
		module.version = "12.2"

Module #19
	Name: module-position-event-sounds
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
		module.version = "12.2"

Module #20
	Name: module-role-cork
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Mute & cork streams with certain roles while others exist"
		module.version = "12.2"

Module #21
	Name: module-filter-heuristics
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Colin Guthrie"
		module.description = "Detect when various filters are desirable"
		module.version = "12.2"

Module #22
	Name: module-filter-apply
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Colin Guthrie"
		module.description = "Load filter sinks automatically when needed"
		module.version = "12.2"

Module #23
	Name: module-x11-publish
	Argument: display=:0.0
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "X11 credential publisher"
		module.version = "12.2"

Module #24
	Name: module-x11-xsmp
	Argument: display=:0.0 session_manager=local/bzim:@/tmp/.ICE-unix/595,unix/bzim:/tmp/.ICE-unix/595
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "X11 session management"
		module.version = "12.2"

Sink #0
	State: RUNNING
	Name: alsa_output.pci-0000_00_1f.3.analog-stereo
	Description: Built-in Audio Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 6
	Mute: no
	Volume: front-left: 16383 /  25% / -36.13 dB,   front-right: 16383 /  25% / -36.13 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
	Latency: 45875 usec, configured 46439 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC256 Analog"
		alsa.id = "ALC256 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7320000 irq 130"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9d71"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC256"
		alsa.components = "HDA:10ec0256,144dc796,00100002 HDA:8086280b,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-output-speaker: Speakers (priority: 10000)
		analog-output-headphones: Headphones (priority: 9000, not available)
	Active Port: analog-output-speaker
	Formats:
		pcm

Source #0
	State: IDLE
	Name: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
	Description: Monitor of Built-in Audio Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 6
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor of Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
	Latency: 0 usec, configured 2000000 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		device.description = "Monitor of Built-in Audio Analog Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7320000 irq 130"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9d71"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Formats:
		pcm

Source #1
	State: SUSPENDED
	Name: alsa_input.pci-0000_00_1f.3.analog-stereo
	Description: Built-in Audio Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 6
	Mute: no
	Volume: front-left: 20316 /  31% / -30.52 dB,   front-right: 20316 /  31% / -30.52 dB
	        balance 0.00
	Base Volume: 6554 /  10% / -60.00 dB
	Monitor of Sink: n/a
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC256 Analog"
		alsa.id = "ALC256 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7320000 irq 130"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9d71"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC256"
		alsa.components = "HDA:10ec0256,144dc796,00100002 HDA:8086280b,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-input-internal-mic: Internal Microphone (priority: 8900)
		analog-input-mic: Microphone (priority: 8700, not available)
	Active Port: analog-input-internal-mic
	Formats:
		pcm

Sink Input #2
	Driver: protocol-native.c
	Owner Module: 10
	Client: 1
	Sink: 0
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
	Corked: no
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Buffer Latency: 0 usec
	Sink Latency: 44935 usec
	Resample method: n/a
	Properties:
		media.name = "ALSA Playback"
		application.name = "ALSA plug-in [timidity]"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "528"
		application.process.user = "bruno"
		application.process.host = "bzim"
		application.process.binary = "timidity"
		application.language = "C"
		application.process.machine_id = "1f99b08d281b44c5b0baaf6ce437303f"
		module-stream-restore.id = "sink-input-by-application-name:ALSA plug-in [timidity]"

Client #0
	Driver: module-systemd-login.c
	Owner Module: 18
	Properties:
		application.name = "Login Session 2"
		systemd-login.session = "2"

Client #1
	Driver: protocol-native.c
	Owner Module: 10
	Properties:
		application.name = "ALSA plug-in [timidity]"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "528"
		application.process.user = "bruno"
		application.process.host = "bzim"
		application.process.binary = "timidity"
		application.language = "C"
		application.process.machine_id = "1f99b08d281b44c5b0baaf6ce437303f"

Client #2
	Driver: protocol-native.c
	Owner Module: 10
	Properties:
		application.name = "xfwm4"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		window.x11.display = ":0.0"
		window.x11.screen = "0"
		application.process.id = "606"
		application.process.user = "bruno"
		application.process.host = "bzim"
		application.process.binary = "xfwm4"
		application.language = "en_US.UTF-8"
		application.process.machine_id = "1f99b08d281b44c5b0baaf6ce437303f"
		application.process.session_id = "2"

Client #3
	Driver: protocol-native.c
	Owner Module: 10
	Properties:
		application.name = "xfce4-pulseaudio-plugin"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.version = "0.4.1"
		application.id = "org.xfce.pulseaudio-plugin"
		application.icon_name = "multimedia-volume-control"
		application.process.id = "663"
		application.process.user = "bruno"
		application.process.host = "bzim"
		application.process.binary = "wrapper-2.0"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0.0"
		application.process.machine_id = "1f99b08d281b44c5b0baaf6ce437303f"
		application.process.session_id = "2"

Client #6
	Driver: module-x11-xsmp.c
	Owner Module: 24
	Properties:
		application.name = "XSMP Session on xfce4-session as 24eb6ba54-a63b-4cd6-9981-266f1276984a"
		xsmp.vendor = "xfce4-session"
		xsmp.client.id = "24eb6ba54-a63b-4cd6-9981-266f1276984a"

Client #267
	Driver: protocol-native.c
	Owner Module: 10
	Properties:
		application.name = "AudioIPC Server"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "21335"
		application.process.user = "bruno"
		application.process.host = "bzim"
		application.process.binary = "firefox"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0.0"
		application.process.machine_id = "1f99b08d281b44c5b0baaf6ce437303f"
		application.process.session_id = "2"
		application.icon_name = "firefox"

Client #275
	Driver: protocol-native.c
	Owner Module: 10
	Properties:
		application.name = "pactl"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "4097"
		application.process.user = "bruno"
		application.process.host = "bzim"
		application.process.binary = "pactl"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0.0"
		application.process.machine_id = "1f99b08d281b44c5b0baaf6ce437303f"
		application.process.session_id = "2"

Card #0
	Name: alsa_card.pci-0000_00_1f.3
	Driver: module-alsa-card.c
	Owner Module: 6
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7320000 irq 130"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9d71"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5965, available: yes)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: yes)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: yes)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: yes)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: yes)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: yes)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: yes)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: output:analog-stereo+input:analog-stereo
	Ports:
		analog-input-internal-mic: Internal Microphone (priority: 8900, latency offset: 0 usec)
			Properties:
				device.icon_name = "audio-input-microphone"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3+input:analog-stereo, output:hdmi-stereo-extra4+input:analog-stereo, output:hdmi-surround-extra4+input:analog-stereo, output:hdmi-surround71-extra4+input:analog-stereo
		analog-input-mic: Microphone (priority: 8700, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-input-microphone"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3+input:analog-stereo, output:hdmi-stereo-extra4+input:analog-stereo, output:hdmi-surround-extra4+input:analog-stereo, output:hdmi-surround71-extra4+input:analog-stereo
		analog-output-speaker: Speakers (priority: 10000, latency offset: 0 usec)
			Properties:
				device.icon_name = "audio-speakers"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-headphones: Headphones (priority: 9000, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-headphones"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71, output:hdmi-surround71+input:analog-stereo
		hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
		hdmi-output-2: HDMI / DisplayPort 3 (priority: 5700, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo
		hdmi-output-3: HDMI / DisplayPort 4 (priority: 5600, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3, output:hdmi-surround71-extra3+input:analog-stereo
		hdmi-output-4: HDMI / DisplayPort 5 (priority: 5500, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra4, output:hdmi-stereo-extra4+input:analog-stereo, output:hdmi-surround-extra4, output:hdmi-surround-extra4+input:analog-stereo, output:hdmi-surround71-extra4, output:hdmi-surround71-extra4+input:analog-stereo

steve
Site Admin
Posts: 49027
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity does not find the correct device

Post by steve » Sun Nov 11, 2018 5:29 pm

brunoczim wrote:
Sun Nov 11, 2018 6:44 am
pactl list results in:
According to that, something is playing through "Built-in Audio Analog Stereo" (Sink #0)
What is playing?

Do you have pavucontrol installed?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

brunoczim
Posts: 6
Joined: Wed Oct 31, 2018 5:18 am
Operating System: GNU/Linux other

Re: Audacity does not find the correct device

Post by brunoczim » Mon Nov 12, 2018 1:03 am

Yes I have pavucontrol installed.
Attachments
Screenshot_2018-11-11_23-04-40.png
Screenshot_2018-11-11_23-04-40.png (32.18 KiB) Viewed 147 times

steve
Site Admin
Posts: 49027
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity does not find the correct device

Post by steve » Mon Nov 12, 2018 2:28 am

Try shutting down Timidity and VLC and any other audio applications, then restart Audacity and see if you can record from you laptop's mic and play back through the laptop speakers.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked