Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Sound Recording

  1. #1
    Join Date
    Apr 2013
    Location
    Mafikeng, South Africa
    Posts
    58

    Default Sound Recording

    My Installation:

    Dell 9060 i7-3770 CPU with Nvidia GT210/PCIe/SSE2

    Apart from one short instance, which was not reproducible, I have not succeeded in recording sound input using Audacity and PulseAudio.

    YAST sound configuration shows:

    Index 0 7 Series/C216 Chipset Family High Definition Audio Controller
    Index 1 High definition Audio Controller

    Anyone able to take me through the settings?

    I must say I have attempted to scrupulously follow Googled recommendations without success.

    Thank you.

  2. #2
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Sound Recording

    Quote Originally Posted by pheine View Post
    Apart from one short instance, which was not reproducible, I have not succeeded in recording sound input using Audacity and PulseAudio.
    I confess I don't use audacity (so can not offer a suggestion how to tune it to record with it) . Does recording with any other apps work ? You could install 'pavucontrol' and confirm that pulse audio is setup to direct the audio from your mic to audacity for recording.

    If no other apps will record audio, I can look at the audio configuration of your PC to see if misconfigured. If you wish to try that, please setup your mixer best you think it should be setup to record sound, and then with PC connected to internet, in an xterm/konsole, as a regular user, send the command :
    Code:
    /usr/sbin/alsa-info.sh
    and select "share/upload" when prompted. Let the script run to completion. Then look in the xterm/konsole, and it will note there the URL where your audio configuration was copied/uploaded to. Please post here that URL/address, and we could check your sound configuration to see if misconfigured for recording.

  3. #3
    Join Date
    Apr 2013
    Location
    Mafikeng, South Africa
    Posts
    58

    Default Re: Sound Recording

    [/code]
    ...select "share/upload" when prompted. Let the script run to completion. Then look in the xterm/konsole, and it will note there the URL where your audio configuration was copied/uploaded to. Please post here that URL/address, and we could check your sound configuration to see if misconfigured for recording.[/QUOTE]

    Thank you.

    Here is the URL: http://www.alsa-project.org/db/?f=e9...1a1a27ad1cc935

  4. #4
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Sound Recording

    Quote Originally Posted by pheine View Post
    OK, I note an ALC269VB hardware audio codec ... Hopefully that is not relevant in this case ... but lets see how things proceed ...

    I note ARECORD output;
    Code:
    ARECORD
    **** List of CAPTURE Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
      Subdevices: 0/1
      Subdevice #0: subdevice #0
    which tells me your record device is hw:0,0

    I note these mixer settings for recording
    Code:
    Simple mixer control 'Capture',0
      Capabilities: cvolume cswitch
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 31
      Front Left: Capture 31 [100%] [30.00dB] [on]
      Front Right: Capture 31 [100%] [30.00dB] [on]
    .....
    Simple mixer control 'Digital',0
      Capabilities: cvolume
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 120
      Front Left: Capture 83 [69%] [11.50dB]
      Front Right: Capture 83 [69%] [11.50dB]
    .....
    Simple mixer control 'Rear Mic',0
      Capabilities: pvolume pswitch
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 31
      Mono:
      Front Left: Playback 0 [0%] [-34.50dB] [on]
      Front Right: Playback 0 [0%] [-34.50dB] [on]
    
    Simple mixer control 'Rear Mic Boost',0
      Capabilities: volume
      Playback channels: Front Left - Front Right
      Capture channels: Front Left - Front Right
      Limits: 0 - 3
      Front Left: 0 [0%] [0.00dB]
      Front Right: 0 [0%] [0.00dB]
    That tells me the internal mic (assuming there is one) is likely "Digitial" and it should nominally be recording, but the Rear Mic input (for an external mic to your laptop) is muted and will not record. I assume you are trying to use the laptop internal mic ?

    If you type in a konsole/xterm this command as a regular user:
    Code:
    arecord -vv -f S16_LE -c 2 -D hw:0,0 testnew.wav
    talk a bit to record your speech, and then press < ctrl > < c > to cancel the recording. That will create a file testnew.wav with the audio recorded (hopefully).

    and then if you have 'alsa-utils' installed you could type:
    Code:
    aplay testnew.wav
    that is a check to see if your internal headphone is recording - and trying to confirm you are experiencing an application problem and not an alsa level problem.
    Last edited by oldcpu; 07-Mar-2018 at 15:27.

  5. #5
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Sound Recording

    For any nntp thread followers, I edited my above post and might not come through the nntp gateway in time. The arecord option should have been " -c 2" (as typed below) and not " -c 0"

    Code:
    arecord -vv -f S16_LE -c 2 -D hw:0,0 testnew.wav

  6. #6
    Join Date
    Apr 2013
    Location
    Mafikeng, South Africa
    Posts
    58

    Default Re: Sound Recording

    OK. Just for clarification:

    I have a Dell 9060 Desktop, not Laptop. this PV has front and rear microphone sockets - I assume these are for sound in?

    The PC also has a front headphone socket - I assume for sound out?

    As indicated in my opening post, I did succeed once, following the exact Audacity/PulseAudio setup from the Audacity wiki, but since reboot, even with exact same settings have not been able to replicate same.

    While attempting to record my PulseAudio (pavucontrol) tabs are set as follows:

    Recording: Monitor of High Audio Controller Digital Stereo (HDMI2)

    Input Devices: 1) Monitor of High Audio Controller Digital Stereo (HDMI2) 2) Built-in Audio Analog Stereo - Front Microphone (Unplugged)

    Audacity is not getting a sound signal.

    Should I still do the terminal commands you have suggested?

  7. #7
    Join Date
    Apr 2013
    Location
    Mafikeng, South Africa
    Posts
    58

    Default Re: Sound Recording

    In any case arecord -vv -f S16_LE -c 2 -D hw:0,0 testnew.wav is unsuccessful.

    It seems the input microphone socket does not receive a signal. Is this a hardware issue or some other BIOS or system setting?

    BTW, I am able to record perfectly sound tracks from YouTube over the internet with Audacity and PulseAudio settings as they are.

    Where to from here?

  8. #8
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Sound Recording

    Quote Originally Posted by pheine View Post
    I have a Dell 9060 Desktop, not Laptop. this PV has front and rear microphone sockets - I assume these are for sound in?
    to be clear - I have never seen a Dell 9060 in my life. But I suspect the answer is "Yes".

    Quote Originally Posted by pheine View Post
    The PC also has a front headphone socket - I assume for sound out?
    Again - I assume Yes.

    Quote Originally Posted by pheine View Post
    In any case arecord -vv -f S16_LE -c 2 -D hw:0,0 testnew.wav is unsuccessful.
    I note your front mic is not muted, so I assume then hw:0,0 corresonds to both mics. That should have worked.....

    In case " hw:0,0" was wrong, you could try recording 10 seconds of audio ( " d 10 " ) :
    Code:
    arecord -f cd -d 10 test-mic.wav
    followed by
    Code:
    aplay test-mic.wav
    but I suspect no recording there also, as the previous arecord should IMHO have worked.

    I note in the Mixer for front mic should be working / setup properly (according to the script):
    Code:
    Simple mixer control 'Front Mic',0
      Capabilities: pvolume pswitch
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 31
      Mono:
      Front Left: Playback 31 [100%] [12.00dB] [on]
      Front Right: Playback 31 [100%] [12.00dB] [on]
    Simple mixer control 'Front Mic Boost',0
      Capabilities: volume
      Playback channels: Front Left - Front Right
      Capture channels: Front Left - Front Right
      Limits: 0 - 3
      Front Left: 3 [100%] [36.00dB]
      Front Right: 3 [100%] [36.00dB]
    You could unmute the rear mic (which is currently muted) , plug your mic in there, and try that - however I suspect even if that worked, it is not a solution you want. Likely it is the FRONT mic that you wish to use. I also assume given this is a Dell, that Dell properly wired the front mic. In a custom PC I would be suspicious there (as the 'arecord' should have worked).

    We could try custom configuring 'alsa sound driver' setup upon boot. Before doing that, could you please post here the content of any file /etc/modprobe.d/50-sound.conf ?

    The directory on your PC under alsa documentation: /usr/src/linux-4.4.114-42/Documentation/sound/alsa/ (or some other kernel version) .. in the file HD-Audio-Models.txt lists the various model settings for an ALC269 - and we can try those one at a time to see if any of those help.k But first I need to see the content of the 50-sound.conf file.
    .

  9. #9
    Join Date
    Apr 2013
    Location
    Mafikeng, South Africa
    Posts
    58

    Default Re: Sound Recording

    /etc/modprobe.d/50-sound.conf by user and by root provides "Permission denied"

  10. #10

    Default Re: Sound Recording

    There is the appropriate application
    https://software.opensuse.org/packag...audio-recorder

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •