当我播放音频时,扬声器发出奇怪的噪音

当我播放音频时,扬声器发出奇怪的噪音

声音一直都很好,直到昨天,我尝试使用复选框应用程序对我的电脑进行全面测试扫描,然后我取消了它并关闭了笔记本电脑。现在,每当我播放音频时,扬声器/耳机都会发出奇怪的噪音。

请帮忙。

答案1

懒惰的决心

如果您认为可能存在软件问题,您可以放心地重新安装音频驱动程序。作为操作方法的参考,您可以放心地遵循如何重新安装音频驱动程序?

引用#3

最好的办法是删除 alsa 并重新安装。我换主板时也遇到过同样的问题,这个方法解决了。

(1)删除 ALSA 软件包

sudo apt-get --purge 删除 linux-sound-base alsa-base alsa-utils

(2)重新安装相同的软件包

sudo apt-get 安装 linux-sound-base alsa-base alsa-utils

如果您使用的是 Gnome,则此过程中还会删除软件包 gdm 和 ubuntu-desktop。需要重新安装它们:

sudo apt-get 安装 gdm ubuntu-desktop

如果你正在使用 xubuntu,这也会发生在你身上

sudo apt-get 安装 gdm xubuntu-desktop

(3)重新启动。

正确的方向

虽然这可能不是您想要的答案,但请确保电缆和内部电线都已正确连接,并尝试不同的耳机。作为测试,您可以在控制台中运行:

sound-test -c2 -t wav

来自 sound-test 的手册页:

SPEAKER-TEST(1)                                General Commands Manual                                SPEAKER-TEST(1)

NAME
       speaker-test - command-line speaker test tone generator for ALSA

SYNOPSIS
       speaker-test [-options]

DESCRIPTION
       speaker-test generates a tone that can be used to test the speakers of a computer.

       speaker-test  by  default will test the default device. If you want to test another sound device you will have
       first to get a list of all of the sound cards in your system and the  devices  associated  with  those  cards.
       Notice  that  there  might be for example, one device for analog sound, one for digital sound and one for HDMI
       sound.  To get the list of available cards and devices you can run aplay -L.

因此每个命令的含义是-c2:

-c | --channels NUM
              NUM channels in stream

-t wav:

-t | --test pink|sine|wav
              -t pink means use pink noise (default).

              Pink noise is perceptually uniform noise -- that is, it sounds like every frequency at  once.   If  you
              can hear any tone it may indicate resonances in your speaker system or room.

              -t sine means to use sine wave.

              -t wav means to play WAV files, either pre-defined files or given via -w option.

              You can pass the number from 1 to 3 as a backward compatibility.

有关如何解决声音问题的更多信息,请访问

Linux 声音故障排除 | 故障排除程序

相关内容