14
submitted 6 months ago* (last edited 6 months ago) by FUsername@feddit.de to c/linux@lemmy.ml

I got a microphone connected via a XLR adapter to the rear mic jack of my mainboard. The audio dialog of KDE seems to detect that, as does not mark it as not connected (which it does for the front mic and line in). But selecting the audio device as source does not produce any useful sound. What makes you sure that the mic work, you may ask? If I enable the loopback in alsamixer (and pump up the boost), it works. Unfortunately, that is the only way I can get sound out of that.

It seems, as if the system realizes two possible sources from the audio device. But there is no option GUI wise where I can select the second input to test if that helps.

alsactl info
#
# Sound card
#
- card: 0
[....]
#
# Sound card
#
- card: 1
  id: Generic
  name: HD-Audio Generic
  longname: HD-Audio Generic at 0xba600000 irq 68
  driver_name: HDA-Intel
  mixer_name: Realtek ALC1220
  components: HDA:10ec1168,10438724,00100003
  controls_count: 47
  pcm:
    - stream: PLAYBACK
      devices:
        - device: 0
          id: ALC1220 Analog
          name: ALC1220 Analog
          subdevices:
            - subdevice: 0
              name: subdevice #0
        - device: 1
          id: ALC1220 Digital
          name: ALC1220 Digital
          subdevices:
            - subdevice: 0
              name: subdevice #0
    - stream: CAPTURE
      devices:
        - device: 0
          id: ALC1220 Analog
          name: ALC1220 Analog
          subdevices:
            - subdevice: 0
              name: subdevice #0
        - device: 2
          id: ALC1220 Alt Analog
          name: ALC1220 Alt Analog
          subdevices:
            - subdevice: 0
              name: subdevice #0
  hwdep:
    - device: 0
      id: HDA Codec 0
      name: HDA Codec 0
      iface: 16
[...]
arecord -l                                            Do 14 Dez 2023 14:53:16 CET
**** 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
[...]

Does anyone have any clue what I could do to use that mic?

top 9 comments
sorted by: hot top controversial new old
[-] GreyFalcon@iusearchlinux.fyi 5 points 6 months ago

depending on the mic you might need https://en.m.wikipedia.org/wiki/Phantom_power

the yamaha cm500 headsets come with a dongle to supply dc.

what type of mic?

[-] FUsername@feddit.de 3 points 6 months ago

It's a dynamic mic. I feared the same, but the fact that I can hear something using the loopback suggests that phantom power isn't the cause, right?

[-] GreyFalcon@iusearchlinux.fyi 2 points 6 months ago

https://www.audio-technica.com/en-us/support/what-is-bias-voltage/

i think you need some voltage because you can only hear it with the gain cranked up.

[-] FUsername@feddit.de 3 points 6 months ago

Thank you for pointing me at bias voltage, I've never heard of that. The text explicitly mentions condenser mics requiring that voltage. Does this also apply to dynamic mics?

Besides, even if the signal is nasty, I would like to receive that in the system. So if this is an issue, it's currently rather a side quest.

[-] nickwitha_k@lemmy.sdf.org 5 points 6 months ago

I think that I have an answer for you.

From the other comments, it sounds like you're using a dynamic mic. So, you can very likely rule out phantom power as, while they may exist, I'm not aware of any dynamic mics that use phantom power.

Additionally, from your original post, you note that you are using an XLR to phono adapter to connect and can get some signal, if you crank up the boost.

Are you by chance running direct from the mic to the on-board soundcard?

If so, that is probably your issue. The mic-in on most non-audio production soundcards isn't designed for this. They are intended for things like electret condensor mics that have built-in pre-amps or others that produce a signal that is closer to line-level.

Most stage and studio mics that use XLR connections produce a very low signal that is intended to run through a pre-amplifier to bring it up to line-level before it goes to tape/DAW/PA power amp.

So, my recommendation would be to take one of two routes:

  1. Obtain a mic pre-amp and add it to your signal chain between the mic and computer.

  2. Obtain an audio interface that contains a decent mic pre-amp.

I would recommend the second, if practical as the ADCs in on-board soundcards are historically mediocre to poor. You will probably be much happier with the result.

[-] MangoPenguin@lemmy.blahaj.zone 2 points 6 months ago

Given that you have to pump up the boost a lot to hear anything, I suspect the mic is not getting phantom power? XLR is usually 48V, whereas mic jack plug in power is usually only 5V or so.

[-] FUsername@feddit.de 1 points 6 months ago

That might be the case, but despite this, I would like to receive the miniscule signal I can loop back in my system. But do dynamic microphones require phantom power?

[-] MangoPenguin@lemmy.blahaj.zone 1 points 6 months ago

Hmm good point they generally don't need it

this post was submitted on 14 Dec 2023
14 points (100.0% liked)

Linux

45443 readers
1170 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS