ubuntuusers.de

Problem mit Mikrofon

Status: Gelöst | Ubuntu-Version: Xubuntu 18.04 (Bionic Beaver)
Antworten |

marant-

Anmeldungsdatum:
13. September 2021

Beiträge: 363

Was kommt als Fehlermeldung?

Probiere mal so:

arecord --device="hw:0,2" -V mono -v -f cd -c 1 -t raw | lame -r -b 192 - ~/mic_test.mp3

Das ist schon seltsam:

Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 4
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

Im alsamixer steht das auf 100%. Davon mal abgesehen, das Line Boost u. Mic Boost im amixer nur jew. 1* vorh. ist.

Wie wäre es mit einer Aktualisierung auf 20.04 ?

buzz_lightzyear

(Themenstarter)

Anmeldungsdatum:
8. Juni 2008

Beiträge: 424

Wenn ich

arecord --device="hw:0,0" -V mono -v -f cd -c 1 -t raw | lame -r -b 192 - ~/mic_test.mp3

eingebe bekomme ich:

arecord: main:788: audio open error: Device or resource busy
WARNING: libsndfile may ignore -r and perform fseek's on the input.
Compile without libsndfile if this is a problem.
Assuming raw pcm input file
LAME 3.100 64bits (http://lame.sf.net)
Using polyphase lowpass filter, transition band: 18671 Hz - 19205 Hz
Encoding <stdin> to /home/binder/mic_test.mp3
Encoding as 44.1 kHz j-stereo MPEG-1 Layer III (7.3x) 192 kbps qval=3

Da lese ich einen Fehler raus, darum hier die Ausgabe von arecord -l:

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20632 Analog [CX20632 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: CX20632 Alt Analog [CX20632 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Hier der Output von

arecord --device="hw:0,2" -V mono -v -f cd -c 1 -t raw | lame -r -b 192 - ~/mic_test.mp3

Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
arecord: set_params:1305: Channels count non available
WARNING: libsndfile may ignore -r and perform fseek's on the input.
Compile without libsndfile if this is a problem.
Assuming raw pcm input file
LAME 3.100 64bits (http://lame.sf.net)
Using polyphase lowpass filter, transition band: 18671 Hz - 19205 Hz
Encoding <stdin> to /home/binder/mic_test.mp3
Encoding as 44.1 kHz j-stereo MPEG-1 Layer III (7.3x) 192 kbps qval=3

Hm... hier zumindest mal kein Fehler...

Danke & Lg

marant-

Anmeldungsdatum:
13. September 2021

Beiträge: 363

arecord: set_params:1305: Channels count non available

Das probieren

arecord --device="hw:0,2" -V mono -v -f cd -c 2 -t raw | lame -r -b 192 - ~/mic_test.mp3

buzz_lightzyear

(Themenstarter)

Anmeldungsdatum:
8. Juni 2008

Beiträge: 424

Danke, hier der Output:

Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Hardware PCM card 0 'HDA Intel PCH' device 2 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 4096
  period_time  : 92879
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 4096
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 4611686018427387904
  appl_ptr     : 0
  hw_ptr       : 0
#+                                                 | 00%
#+                                                 | 00%
#+                                                 | 00%
#+                                                 | 00%
#+                                                 | 00%
#+                                                 | 00%
#+                                                 | 00%
#+                                                 | 00%
#+                                                 | 00%

Standardmäßig hat er einmal "#+ | 00%" angezeigt, die anderen folgte mit drücken der Returntaste.

Lg ☺

marant-

Anmeldungsdatum:
13. September 2021

Beiträge: 363

Die Fehlermeldung von dem ersten sieht eigentlich Ok aus

arecord --device="hw:0,0" -V mono -v -f cd -c 1 -t raw | lame -r -b 192 - ~/mic_test.mp3

arecord: main:788: audio open error: Device or resource busy

War wohl von PA z.Zt. belegt. Etwas warten, keine Soundeingabe/ausgabe machen und dann wierdeholen, vllt 30s.

arecord --device="hw:0,0" -V mono -v -f cd -c 1 -t raw | lame -r -b 192 - ~/mic_test.mp3

arecord --device="hw:0,0" -V mono -v -f cd -c 2 -t raw | lame -r -b 192 - ~/mic_test.mp3

marant-

Anmeldungsdatum:
13. September 2021

Beiträge: 363

Danke, hier der Output:

Ist in der mp3 was drin? Du machst hoffentlich schön Krach, wenn Der aufnimmt?

buzz_lightzyear

(Themenstarter)

Anmeldungsdatum:
8. Juni 2008

Beiträge: 424

Nichts nein. Also ich puste ins Mikrofon und klatsche. (Bin in der Arbeit, da will ich mein Gesangstalent nicht vorführen 😀 )

lg

marant-

Anmeldungsdatum:
13. September 2021

Beiträge: 363

Nichts nein. Also ich puste ins Mikrofon und klatsche. (Bin in der Arbeit, da will ich mein Gesangstalent nicht vorführen 😀 )

Kommt auf Dein Alter an. 🤣

Poste mal bitte

pulsemixer --list-sources               (pulsemixer installieren)

Ok, ich fasse die Tests mal zusammen, welche nun laufen sollten

arecord --device="hw:0,0" -V mono -v -f cd -c 2 -t raw | lame -r -b 192 - ~/mic_test.mp3
arecord --device="hw:0,2" -V mono -v -f cd -c 2 -t raw | lame -r -b 192 - ~/mic_test.mp3
arecord -f dat ~/mic_test.mp3

Abbruch mit ctrl-c

Der Letztere läuft über PA. Wenn bei Keinem in der mp3(wird bei jed. Test überschrieben) etwas zu hören ist weiß ich auch nicht weiter.

buzz_lightzyear

(Themenstarter)

Anmeldungsdatum:
8. Juni 2008

Beiträge: 424

Output von:

arecord --device="hw:0,0" -V mono -v -f cd -c 1 -t raw | lame -r -b 192 - ~/mic_test.mp3

–-

arecord: main:788: audio open error: Device or resource busy
WARNING: libsndfile may ignore -r and perform fseek's on the input.
Compile without libsndfile if this is a problem.
Assuming raw pcm input file
LAME 3.100 64bits (http://lame.sf.net)
Using polyphase lowpass filter, transition band: 18671 Hz - 19205 Hz
Encoding <stdin> to /home/binder/mic_test.mp3
Encoding as 44.1 kHz j-stereo MPEG-1 Layer III (7.3x) 192 kbps qval=3

Output von:

arecord --device="hw:0,0" -V mono -v -f cd -c 2 -t raw | lame -r -b 192 - ~/mic_test.mp3

–-

arecord: main:788: audio open error: Device or resource busy
WARNING: libsndfile may ignore -r and perform fseek's on the input.
Compile without libsndfile if this is a problem.
Assuming raw pcm input file
LAME 3.100 64bits (http://lame.sf.net)
Using polyphase lowpass filter, transition band: 18671 Hz - 19205 Hz
Encoding <stdin> to /home/binder/mic_test.mp3
Encoding as 44.1 kHz j-stereo MPEG-1 Layer III (7.3x) 192 kbps qval=3

buzz_lightzyear

(Themenstarter)

Anmeldungsdatum:
8. Juni 2008

Beiträge: 424

pulsemixer --list sources:

Source output:	 ID: 19, Name: Loopback to Built-in Audio Analog Stereo, Mute: 0, Channels: 2, Volumes: ['100%', '100%']
Source:		 ID: 1, Name: Built-in Audio Analog Stereo, Mute: 0, Channels: 2, Volumes: ['100%', '100%']
Source:		 ID: 5, Name: Monitor of Built-in Audio Analog Stereo, Mute: 0, Channels: 2, Volumes: ['43%', '43%']

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Zeige mal

pacmd info | egrep "active profile:"

sowie

pacmd info | grep -i "active port: \|*"

buzz_lightzyear

(Themenstarter)

Anmeldungsdatum:
8. Juni 2008

Beiträge: 424

pacmd info | egrep "active profile:"

active profile: <output:analog-stereo+input:analog-stereo>

pacmd info | grep -i "active port: \|*"

  * index: 4
	active port: <analog-output-lineout>
  * index: 1
	active port: <analog-input-linein>

Danke ☺

marant-

Anmeldungsdatum:
13. September 2021

Beiträge: 363

loopback doch noch aktiv, ausführen

pactl unload-module module-loopback 

pacmd info | egrep "active profile:"

Kannst auch nachsehen bei

pavucontrol -t 5

und Ausgang+Eingang wählen

Servus @Kellerkind

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Das Problem

active port: <analog-input-linein>

sollte so aussehen

active port: <analog-input-front-mic>

Stelle mal um.Zeige dann wieder die Abfragen.

Servus @ marant- 😉

marant-

Anmeldungsdatum:
13. September 2021

Beiträge: 363

Hat er doch nicht, wenn überhaupt dann "rear".