You are not logged in.
Hi there. This is a longstanding issue I've had on this system in Ubuntu, Manjaro and finally Arch, which is what I'm using now. When I try to record audio through my microphone, I get different results depending on the app:
- OBS records through the microphone in real-time with no issues at all.
- Audacity gives a "-9997 invalid sample rate" error. Previously, maybe a year or more ago, recording through Audacity would result in short high pitched output. The arch wiki has a suggested fix for that original issue using "$ env PULSE_LATENCY_MSEC=30 audacity", which doesn't seem to help the current issue.
- Ocenaudio, on beginning to record, will output audio from BEFORE the record button was even pressed, and if I talk to the microphone, that voice will be input into the program after maybe a 5 second delay. If i stop recording, then begin recording again, the maybe 5 seconds of the previous recording that was cut off (ie. the audio that was recorded while I was waiting that 5 seconds for my voice to show up before pressing stop) will be appended onto the start of the next recording. Increasing that delay to maybe 10 seconds before my newly recorded audio shows up. This happens regardless of if I close the app or not between recordings.
The mother board is an ASUS ROG Strix B450-I Gaming.
Looking at other posts, the following may be relevant:
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 2: ALC1220 Alt Analog [ALC1220 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ pacmd list-cards
2 card(s) available.
index: 0
name: <alsa_card.pci-0000_09_00.1>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "0"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xfcba0000 irq 101"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:09:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:07:00.0/0000:08:00.0/0000:09:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "ab38"
device.product.name = "Navi 10 HDMI Audio"
device.string = "0"
device.description = "Navi 10 HDMI Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: unknown)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (priority 5700, available: no)
output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (priority 600, available: no)
output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (priority 600, available: no)
off: Off (priority 0, available: unknown)
active profile: <output:hdmi-stereo>
sinks:
alsa_output.pci-0000_09_00.1.hdmi-stereo/#0: Navi 10 HDMI Audio Digital Stereo (HDMI)
sources:
alsa_output.pci-0000_09_00.1.hdmi-stereo.monitor/#0: Monitor of Navi 10 HDMI Audio Digital Stereo (HDMI)
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
device.product.name = "G2450WH"
hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-5: HDMI / DisplayPort 6 (priority 5400, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
index: 1
name: <alsa_card.pci-0000_0b_00.4>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfc700000 irq 103"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0b:00.4"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0b:00.4/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1487"
device.product.name = "Starship/Matisse HD Audio Controller"
device.string = "1"
device.description = "Starship/Matisse HD Audio Controller"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Analog Stereo Input (priority 65, available: unknown)
output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-stereo>
sinks:
alsa_output.pci-0000_0b_00.4.analog-stereo/#1: Starship/Matisse HD Audio Controller Analog Stereo
sources:
alsa_output.pci-0000_0b_00.4.analog-stereo.monitor/#1: Monitor of Starship/Matisse HD Audio Controller Analog Stereo
alsa_input.pci-0000_0b_00.4.analog-stereo/#6: Starship/Matisse HD Audio Controller Analog Stereo
ports:
analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: yes)
properties:
device.icon_name = "audio-input-microphone"
analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
properties:
analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: yes)
properties:
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
$ pacmd list-sources
5 source(s) available.
index: 0
name: <alsa_output.pci-0000_09_00.1.hdmi-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1030
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
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 1
configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
monitor_of: 0
card: 0 <alsa_card.pci-0000_09_00.1>
module: 6
properties:
device.description = "Monitor of Navi 10 HDMI Audio Digital Stereo (HDMI)"
device.class = "monitor"
alsa.card = "0"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xfcba0000 irq 101"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:09:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:07:00.0/0000:08:00.0/0000:09:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "ab38"
device.product.name = "Navi 10 HDMI Audio"
device.string = "0"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
index: 1
name: <alsa_output.pci-0000_0b_00.4.analog-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1030
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
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
fixed latency: 100.14 ms
monitor_of: 1
card: 1 <alsa_card.pci-0000_0b_00.4>
module: 7
properties:
device.description = "Monitor of Starship/Matisse HD Audio Controller Analog Stereo"
device.class = "monitor"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfc700000 irq 103"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0b:00.4"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0b:00.4/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1487"
device.product.name = "Starship/Matisse HD Audio Controller"
device.string = "1"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
* index: 3
name: <alsa_input.pci-0000_0b_00.4.analog-stereo.echo-cancel>
driver: <module-echo-cancel.c>
flags: HW_MUTE_CTRL LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1000
volume: mono: 65536 / 100%
balance 0.00
base volume: 65536 / 100%
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: float32le 1ch 32000Hz
channel map: mono
Mono
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
module: 22
properties:
device.master_device = "alsa_output.pci-0000_0b_00.4.analog-stereo"
device.class = "filter"
device.intended_roles = "phone"
device.description = "Monitor of Navi 10 HDMI Audio Digital Stereo (HDMI) (echo cancelled with Starship/Matisse HD Audio Controller Analog Stereo)"
device.icon_name = "audio-input-microphone"
index: 4
name: <alsa_output.pci-0000_0b_00.4.analog-stereo.echo-cancel.monitor>
driver: <module-echo-cancel.c>
flags: DECIBEL_VOLUME LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1000
volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: float32le 1ch 32000Hz
channel map: mono
Mono
used by: 0
linked by: 0
fixed latency: 100.14 ms
monitor_of: 2
module: 22
properties:
device.description = "Monitor of Starship/Matisse HD Audio Controller Analog Stereo (echo cancelled with Starship/Matisse HD Audio Controller Analog Stereo)"
device.class = "monitor"
device.icon_name = "audio-input-microphone"
index: 6
name: <alsa_input.pci-0000_0b_00.4.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9039
volume: front-left: 44652 / 68% / -10.00 dB, front-right: 44652 / 68% / -10.00 dB
balance 0.00
base volume: 6554 / 10% / -60.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
fixed latency: 100.14 ms
card: 1 <alsa_card.pci-0000_0b_00.4>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC1220 Analog"
alsa.id = "ALC1220 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfc700000 irq 103"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0b:00.4"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0b:00.4/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1487"
device.product.name = "Starship/Matisse HD Audio Controller"
device.string = "front:1"
device.buffering.buffer_size = "17664"
device.buffering.fragment_size = "2944"
device.access_mode = "mmap"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Starship/Matisse HD Audio Controller Analog Stereo"
alsa.mixer_name = "Realtek ALC1220"
alsa.components = "HDA:10ec1168,1043874d,00100003"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: yes)
properties:
device.icon_name = "audio-input-microphone"
analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
properties:
active port: <analog-input-rear-mic>
Any suggestions for how to fix this issue would be really appreciated.
Offline