Audio problem in leap 15.5 effect Alvin superstar

Hi guys,
I’ve been having a problem with audio for a while now, sometimes it works other times it seems to be the cipman, I can’t figure out what it depends on, whether it’s caused by some incompatible audio dependency or some open programs that make the audio do this effect.
I would like to remove it and get back to normal.
Thanks to those who can help me out.

under the pci and usb list, if it can be helpful

# lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 05)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:16.3 Serial controller: Intel Corporation 100 Series/C230 Series Chipset Family KT Redirection (rev 31)
00:17.0 RAID bus controller: Intel Corporation SATA Controller [RAID mode] (rev 31)
00:1b.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #17 (rev f1)
00:1f.0 ISA bridge: Intel Corporation C236 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M620 Mobile] (rev a2)
01:00.1 Audio device: NVIDIA Corporation GM107 High Definition Audio Controller [GeForce 940MX] (rev a1)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961/SM963

# lsusb
Bus 002 Device 014: ID 2109:0715 VIA Labs, Inc. VL817 SATA Adaptor
Bus 002 Device 003: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 046: ID 046d:081b Logitech, Inc. Webcam C310
Bus 001 Device 045: ID 0529:0001 Aladdin Knowledge Systems HASP copy protection dongle
Bus 001 Device 008: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 007: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 026: ID 046d:c062 Logitech, Inc. M-UAS144 [LS1 Laser Mouse]
Bus 001 Device 016: ID 03f0:354a HP, Inc Slim Keyboard
Bus 001 Device 003: ID 0b95:1780 ASIX Electronics Corp. AX88178
Bus 001 Device 002: ID 1b3f:2008 Generalplus Technology Inc. USB Audio Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Any ideas from the community?

in the tests i’ve done sometimes this effect disappears quicker and a few octaves higher, returning to normal; but then if i redo the same procedure after restarting the PC it comes back and even redoing the same things that had allowed me to remove the Chipmunks effect, so i don’t know what it’s due to.

Tagging @deano_ferrari the audio wizard :mage:

1 Like

I’m a regular user and volunteer like most others around here. I’ve not heard of this unwanted ‘chipmunk’ sound before. It is always useful to get defintive information about a user’s hardware environment in these sorts of situations. Graphics and audio (hardware/connections) might both play a part here…

inxi -SGAa

FWIW, here’s a thread describing similar…
https://forums.linuxmint.com/viewtopic.php?p=1877220#p1877220
This may (or may not) be due to the same cause in your openSUSE environment.

I thank you, I will try to follow the post you linked me to see if I can solve it in the meantime I will send you the result of the command:

System:
  Host: zeta-pc Kernel: 5.14.21-150500.55.52-default arch: x86_64 bits: 64
    compiler: gcc v: 7.5.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.14.21-150500.55.52-default
    root=UUID=8ee109ed-1614-4ef7-b34a-d6d378f3018d splash=silent preempt=full
    mitigations=auto quiet security=apparmor
  Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 7 dm: SDDM
    Distro: openSUSE Leap 15.5
Graphics:
  Device-1: NVIDIA GM107GLM [Quadro M620 Mobile] vendor: Hewlett-Packard
    driver: nvidia v: 550.67 alternate: nouveau,nvidia_drm non-free: 520.xx+
    status: current (as of 2022-10) arch: Maxwell code: GMxxx
    process: TSMC 28nm built: 2014-19 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: none off: DP-2 empty: DP-1,DP-3,DP-4 bus-ID: 01:00.0
    chip-ID: 10de:13b4 class-ID: 0300
  Device-2: Logitech Webcam C310 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-7.1.3:10 chip-ID: 046d:081b class-ID: 0102 serial: 8AA43D90
  Display: x11 server: X.Org v: 1.21.1.4 with: Xwayland v: 22.1.5
    compositor: kwin_x11 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,vesa alternate: nouveau,nv
    gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 93 s-size: 524x331mm (20.63x13.03")
    s-diag: 620mm (24.4")
  Monitor-1: DP-2 mapped: DP-1 note: disabled model: EIZO NANAO CX241
    serial: 44254066 built: 2016 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 519x324mm (20.43x12.76") diag: 616mm (24.2") ratio: 16:10 modes:
    max: 1920x1200 min: 640x480
  API: OpenGL v: 4.6.0 NVIDIA 550.67 renderer: Quadro M620/PCIe/SSE2
    direct render: Yes
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio
    vendor: Hewlett-Packard driver: snd_hda_intel bus-ID: 1-1:2 v: kernel
    chip-ID: 1b3f:2008 bus-ID: 00:1f.3 class-ID: 0300 chip-ID: 8086:a170
    class-ID: 0403
  Device-2: NVIDIA GM107 High Definition Audio [GeForce 940MX]
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0fbc class-ID: 0403
  Device-3: Generalplus USB Audio Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Device-4: Logitech Webcam C310 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-7.1.3:10 chip-ID: 046d:081b class-ID: 0102 serial: 8AA43D90
  Sound API: ALSA v: k5.14.21-150500.55.52-default running: yes
  Sound Server-1: PulseAudio v: 15.0 running: yes
  Sound Server-2: PipeWire v: 0.3.64 running: yes

Reading the post unlike the linuxmint user the problem I have is only when recording, and from the tests done sometimes it disappears if I exit VirtualBox other times even if it is not active it doesn’t work and records me faster and a few octaves higher like Alvin.
Of course my microphone is the logitech camera, and I have the problem especially in video calls like skype or with OBS Studio

I have heard of this problem with a USB webcam mic a long time ago … back in year 2018. Are you encountering this only with your USB web cam mic?

If so you could try adding the grub boot code:

usbcore.autosuspend=-1

Thats a very old solution and it may not be applicable any more.

I am traveling daily at the moment with limited internet access so I may not be able to follow up easily on this thread.

1 Like

Ok, your opening post was vague, nothing mentioned about recording…so left to speculate.

Try investigating the sample rate settings. The linuxmusicians forum might be of further help here. Once such thread:
https://linuxmusicians.com/viewtopic.php?t=25768
The opening post included a potentially useful link:

This topic (one of several I turned up for Logitech webcam mics) might be helpful to you, but no promises though:

Your Logitech C310 device details are as follows:

Device-4: Logitech Webcam C310 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-7.1.3:10 chip-ID: 046d:081b class-ID: 0102 serial: 8AA43D90

The topic describes creating a user ~/.asoundrc file, with entries to set the recording sample rate at 16kHz. (I’ve adjusted to use your product ID):

pcm.usb
      {
          type hw
          card U0x46d0x81b
      }

      pcm.!default
      {
          type asym
          capture.pcm
          {
              type plug
              slave.pcm "usb"
              rate 16000
          }
      }

Once done, save the custom config, and you may need to replug the web cam and restart any recording app you may be using. Then try testing the webcam mic again.

By dint of trying, I figured out what is causing my microphone to do the “Alvin super star” effect.
Basically it is VirtualBox, when I launch windows XP virtualized and launch a very old graphics program, inside WIN-XP, that has to read a USB aladin key, in order to launch the program itself, at that point when I register it gives this disturbance.
Probably the usb of the flash drive and the usb of the webcam conflict with each other, previously even with version 15.2 I never had this problem because, XP I was using it with a real PC then it broke down so I virtualized it.
I should add that the same virtualization with linuxmint does not give me the same problem, but there the microphone is not in usb because it is a laptop and not a fixed pc as in this case.
Now I just have to figure out how to make sure I don’t have the two usb’s in conflict .

Correction, actually today the problem occurred to me again when I did a test recording with OBS studio. then I launched Telegram and tried to record, there were no other applications open, not even VirtualBox. on the pc I couldn’t hear myself, and then I listened to the audio on the smatphone which was perfect and not sped up. whereupon I relaunched OBS studio and the audio was right there too. I can’t figure out if something is changing some parameter which then gets recorrected with Telegram in this case.

Blockquotepcm.usb
{
type hw
card U0x46d0x81b
}

  pcm.!default
  {
      type asym
      capture.pcm
      {
          type plug
          slave.pcm "usb"
          rate 16000
      }
  }

I’ll try to see if it works, I created the file in the user directory and see if it gives me the same errors when I reboot in the next few days

I’ve tried, but it doesn’t work, there’s something disturbing the usb and it’s restored to correct operation, sometimes not always, using a second programme such as telegram, but I don’t know what changes to make it work properly

Consider posting this (hardware-speciifc?) issue at
https://linuxmusicians.com/
Hopefully, someone may be able to advise further.

1 Like

Seen your audio settings, which reminded me on an audio configuration issue at my end, which got solved via this fantastic info here:

My other Audio issue had been Firefox breaking the audio on playing videos, which I was able to fix via uninstalling the older YaST Firefox and installing the newer Flatpak Firefox via Software.