到目前为止,这里的一切都很正常——最重要的是,声音可以播放。
麦克风本身是如何测试的?
nicholas@gondor:~$
nicholas@gondor:~$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC9228 Analog [STAC9228 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC9228 Digital [STAC9228 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
nicholas@gondor:~$
nicholas@gondor:~$ aplay /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
nicholas@gondor:~$
nicholas@gondor:~$ pacmd
Welcome to PulseAudio 13.99.2! Use "help" for usage information.
>>> list-sinks
1 sink(s) available.
* index: 1
name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9039
volume: front-left: 49789 / 76% / -7.16 dB, front-right: 49789 / 76% / -7.16 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 1
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 1837.50 ms
card: 0 <alsa_card.pci-0000_00_1b.0>
module: 23
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "STAC9228 Analog"
alsa.id = "STAC9228 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel"
alsa.long_card_name = "HDA Intel at 0xfe9fc000 irq 29"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "284b"
device.product.name = "82801H (ICH8 Family) HD Audio Controller (Inspiron 1420)"
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"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-speaker>
>>> q
Unknown command: q
>>> quit
Unknown command: quit
>>> exit
>>> nicholas@gondor:~$
以上来自:
https://help.ubuntu.com/community/SoundTroubleshooting
理想情况下,我会用麦克风录下一些声音然后自行排除故障zoom
。
答案1
答案2
可能足以:
arecord | aplay
不过,如果你将录音设置调整为如下形式,可能会听起来更好:
arecord -f FLOAT_LE -r 192000 -B 1 | aplay
其中,-B 1
将缓冲区大小减小到最小,以减少录制和播放之间的时间。-r 192000
将采样率增加到最大。-f FLOAT_LE
对我来说,这是听起来最好的样本格式。其他格式在手册页中列出,其中-f
有记录。
答案3
使用时,textnow
我可以拨打手机,但声音很模糊。麦克风的具体位置和质量如何,我说不上来。但在一定程度上还是有用的。
这证明麦克风可以正常工作并且浏览器允许麦克风正确使用。
这是使用戴尔 Inspiron 1420。
我认为 N0rbert 的回答已经非常完整,只是想在点击复选标记之前继续测试。
答案4
我认为测试笔记本电脑麦克风的最佳方法是使用https://webcammictest.io/麦克风测试在线工具。