Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3383

General Questions • [Software] Sound: Audacity can record, but produces no sound output

$
0
0
TL;DR: I can play and hear sounds with mpg123. Audacity appears to play its own files, but there’s no sound output. Many thanks for any suggestions for how to fix or what to check. Let me know if any further info would help.

Audacity 3.2.4 with Debian Linux 12 “bookworm”, XFCE desktop. Pipewire, Pipewire-Pulse, and Wireplumber manage audio. Lenovo Thinkpad P51.

Code:

$ cat /proc/asound/cards: 0 [PCH            ]: HDA-Intel - HDA Intel PCH                      HDA Intel PCH at 0x2ff3010000 irq 144 1 [NVidia         ]: HDA-Intel - HDA NVidia                      HDA NVidia at 0xec000000 irq 17$ grep snd /proc/asound/modules 0 snd_hda_intel 1 snd_hda_intel
Audacity settings are
Audio Host: ALSA
Recording device: pipewire
Playback device: pipewire

I recorded some music from Firefox. Exported a portion of the Audacity project as a .mp3. I can play and hear the .mp3 using mpg123. Audacity appears to play the project: the cursor moves through the waveform display, and the playback meter bounces around. But there's no sound.

Checking pavucontrol.
With mpg123 playing (audibly), the Playback tab shows two items: (1) System Sounds and (2) mpg123: via out123, with the volume slider at 100% and a volume indicator that bounces around with the music. The Output Devices tab shows 1 item, Built-in Audio Analog Stereo, with the Port dropdown showing Speakers, volume set at 45%, and a bouncing playback meter like the one in the Playback tab. The Configuration tab shows 2 items: (1) GM206 High Definition Audio Controller, with the Profile dropdown showing Off; and (2) Built-in Audio, with the Profile dropdown showing Analog Stereo Output.

While Audacity is playing the file it recorded (but inaudibly), the Playback tab shows two items: (1) System Sounds and (2) Pipewire ALSA [audacity]: ALSA Playback, with the volume slider at 100% (it's not muted - I checked!). Now there is no volume indicator. The Output Devices tab is the same as with mpg123 except the volume indicator is missing here too. The Configuration tab is the same as with mpg123.

The console command $ wpctl status shows 7 Clients when either Audacity or mpg123 is playing. With Audacity, one of them is 58. PipeWire ALSA [audacity]. With mpg123, that’s gone, replaced by 71. mpg123.

In the Audio section of the $ wpctl status output, there’s no difference until the Streams item. With mpg123 playing, it shows

Code:

 └─ Streams:        56. mpg123                                                                   68. output_FR       > ALC298 Analog:playback_FR[active]            165. output_FL       > ALC298 Analog:playback_FL[active]        66. PulseAudio Volume Control                                                52. input_FL        < mpg123:output_FL[active]             67. monitor_FL                  70. monitor_FR                  71. input_FR        < mpg123:output_FR[active]       156. PulseAudio Volume Control                                                61. monitor_FR                 154. input_FL        < ALC298 Analog:monitor_FL[active]            158. monitor_FL                 162. input_FR        < ALC298 Analog:monitor_FR[active]
and with Audacity playing, it is

Code:

 └─ Streams:        56. PulseAudio Volume Control                                                58. input_FR        < ALSA Playback:output_FR[active]             60. monitor_FL                  68. input_FL        < ALSA Playback:output_FL[active]            165. monitor_FR             70. PipeWire ALSA [audacity]                                                 67. output_FL       > ALC298 Analog:playback_FL[active]             71. output_FR       > PulseAudio Volume Control:input_FR[active]       156. PulseAudio Volume Control                                                61. monitor_FR                 154. input_FL        < ALC298 Analog:monitor_FL[active]            158. monitor_FL                 162. input_FR        < ALC298 Analog:monitor_FR[active]
Checking services with $ systemctl --user status pipe* and $ systemctl --user status wire* shows the following enabled & running: (1) pipewire-pulse.socket - PipeWire PulseAudio, (2) pipewire.service - PipeWire Multimedia Service, (3) pipewire-pulse.service - PipeWire PulseAudio, and (4) wireplumber.service - Multimedia Service Session Manager.

System info:

Code:

$ inxi -FxxxzSystem:  Kernel: 6.1.0-27-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0    Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm    v: 4.18.0 vt: 7 dm: LightDM v: 1.26.0 Distro: Debian GNU/Linux 12    (bookworm)Machine:  Type: Laptop System: LENOVO product: 20HJS09T00 v: ThinkPad P51    serial: <superuser required> Chassis: type: 10 serial: <superuser required>  Mobo: LENOVO model: 20HJS09T00 v: SDK0J40697 WIN    serial: <superuser required> UEFI: LENOVO v: N1UET37W (1.11 )    date: 07/24/2017Battery:  ID-1: BAT0 charge: 81.2 Wh (96.3%) condition: 84.3/90.0 Wh (93.6%)    volts: 12.0 min: 11.2 model: SMP 00NY493 type: Li-poly serial: <filter>    status: not charging cycles: 204CPU:  Info: quad core model: Intel Core i7-7820HQ bits: 64 type: MT MCP    smt: enabled arch: Kaby Lake rev: 9 cache: L1: 256 KiB L2: 1024 KiB    L3: 8 MiB  Speed (MHz): avg: 800 min/max: 800/3900 cores: 1: 800 2: 800 3: 800 4: 800    5: 800 6: 800 7: 800 8: 800 bogomips: 46398  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmxGraphics:  Device-1: Intel HD Graphics 630 vendor: Lenovo driver: i915 v: kernel    arch: Gen-9.5 ports: active: eDP-1 empty: DP-4,DP-5,HDMI-A-1 bus-ID: 00:02.0    chip-ID: 8086:591b class-ID: 0300  Device-2: NVIDIA GM206GLM [Quadro M2200 Mobile] vendor: Lenovo    driver: nouveau v: kernel arch: Maxwell pcie: speed: 2.5 GT/s lanes: 16    ports: active: none empty: DP-1,DP-2,DP-3 bus-ID: 01:00.0    chip-ID: 10de:1436 class-ID: 0302 temp: 38.0 C  Device-3: Chicony Integrated Camera type: USB driver: uvcvideo    bus-ID: 1-8:4 chip-ID: 04f2:b5ab class-ID: 0e02  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver:    X: loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915    display-ID: :0.0 screens: 1  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")    s-diag: 582mm (22.93")  Monitor-1: eDP-1 model: LG Display 0x0538 res: 1920x1080 hz: 60 dpi: 142    size: 344x194mm (13.54x7.64") diag: 395mm (15.5") modes: 1920x1080  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 630 (KBL    GT2) direct-render: YesAudio:  Device-1: Intel CM238 HD Audio vendor: Lenovo driver: snd_hda_intel    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a171 class-ID: 0403  Device-2: NVIDIA GM206 High Definition Audio driver: snd_hda_intel    v: kernel pcie: speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0fba    class-ID: 0403  API: ALSA v: k6.1.0-27-amd64 status: kernel-api  Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse    status: active 2: wireplumber status: active 3: pipewire-alsa type: pluginNetwork:  Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15e3 class-ID: 0200  IF: enp0s31f6 state: down mac: <filter>  Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel pcie:    speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:24fd class-ID: 0280  IF: wlp4s0 state: up mac: <filter>Bluetooth:  Device-1: Plugable Bluetooth 5.0 Adapter type: USB driver: btusb v: 0.8    bus-ID: 1-1:2 chip-ID: 2230:0016 class-ID: e001 serial: <filter>  Report: hciconfig ID: hci0 rfk-id: 66 state: up address: <filter>    bt-v: 3.0 lmp-v: 5.1 sub-v: 8761 hci-v: 5.1 rev: b  Report: hciconfig ID: hci1 rfk-id: 71 state: up address: <filter>    bt-v: 2.1 lmp-v: 4.2 sub-v: 100 hci-v: 4.2 rev: 100  Device-2: Intel Bluetooth wireless interface type: USB driver: btusb    v: 0.8 bus-ID: 1-14:6 chip-ID: 8087:0a2b class-ID: e001Drives:  Local Storage: total: 476.94 GiB used: 132.61 GiB (27.8%)  ID-1: /dev/nvme0n1 vendor: Samsung model: PM981a NVMe SED 512GB    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>    rev: 15302629 temp: 32.9 C scheme: GPTPartition:  ID-1: / size: 36.37 GiB used: 14.2 GiB (39.0%) fs: ext4 dev: /dev/nvme0n1p2  ID-2: /boot/efi size: 951.1 MiB used: 11.7 MiB (1.2%) fs: vfat    dev: /dev/nvme0n1p1  ID-3: /home size: 416.02 GiB used: 118.2 GiB (28.4%) fs: ext4    dev: /dev/nvme0n1p3Swap:  ID-1: swap-1 type: partition size: 15 GiB used: 210.4 MiB (1.4%)    priority: -2 dev: /dev/nvme0n1p4Sensors:  System Temperatures: cpu: 39.0 C pch: 43.0 C mobo: N/A gpu: nouveau    temp: 38.0 C  Fan Speeds (RPM): fan-1: 2309 fan-2: 2260Info:  Processes: 258 Uptime: 37d 2h 2m wakeups: 63 Memory: 15.34 GiB  used: 4.87 GiB (31.8%) Init: systemd v: 252 target: graphical (5)  default: graphical Compilers: gcc: 12.2.0 alt: 10/12 Packages: pm: dpkg  pkgs: 2310 Shell: Bash v: 5.2.15 running-in: xfce4-terminal inxi: 3.3.26

Statistics: Posted by Wm. A. Weasel — 2024-12-20 04:33 — Replies 1 — Views 76



Viewing all articles
Browse latest Browse all 3383

Trending Articles