Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 40

Thread: How to record all audio output from sound card in Ubuntu 9.10 Karmic Koala

  1. #11
    Join Date
    Dec 2008
    Beans
    5

    Re: How to record all audio output from sound card in Ubuntu 9.10 Karmic Koala

    Well, I have tried both scripts i.e. pa-clone and that of komputes'. Both of them created reasonably sized wav files with silence as a content. I use Lucid. What can be wrong?

  2. #12
    Join Date
    Jan 2008
    Beans
    69
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How to record all audio output from sound card in Ubuntu 9.10 Karmic Koala

    it just didn't work under alsa, never mind though I went back to pulse audio

  3. #13
    Join Date
    Nov 2004
    Beans
    226
    Distro
    Ubuntu

    Re: How to record all audio output from sound card in Ubuntu 9.10 Karmic Koala

    This is great. I can use this to finally record from my speakers audio output and mic at the same time.

  4. #14
    Join Date
    Nov 2009
    Beans
    6

    Re: How to record all audio output from sound card in Ubuntu 9.10 Karmic Koala

    Hey guys!! I made a graphical application for this script:
    http://outrec.sourceforge.net

    Enjoy!

  5. #15
    Join Date
    Jul 2010
    Beans
    17

    Re: How to record all audio output from sound card in Ubuntu 9.10 Karmic Koala

    Quote Originally Posted by zoli4290 View Post
    Well, I have tried both scripts i.e. pa-clone and that of komputes'. Both of them created reasonably sized wav files with silence as a content. I use Lucid. What can be wrong?
    I'm having the same problem, too - it outputs a .wav file but when I play it, there's no sound. This would be a handy application to use, since I can't seem to get Audacity or Sound Recorder to record speaker output...

  6. #16
    Join Date
    Apr 2007
    Location
    UK
    Beans
    189
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How to record all audio output from sound card in Ubuntu 9.10 Karmic Koala

    You can now do this through a GUI application called "OutRec"
    -KVarley
    -Proud member of the Linux Foundation

  7. #17
    Join Date
    Jul 2010
    Beans
    17

    Re: How to record all audio output from sound card in Ubuntu 9.10 Karmic Koala

    Quote Originally Posted by kvarley View Post
    You can now do this through a GUI application called "OutRec"
    Through both terminal and OutRec, it creates a .wav file that's completely silent.

  8. #18
    Join Date
    Nov 2004
    Beans
    226
    Distro
    Ubuntu

    Re: How to record all audio output from sound card in Ubuntu 9.10 Karmic Koala

    Quote Originally Posted by braniac5 View Post
    Through both terminal and OutRec, it creates a .wav file that's completely silent.
    You must be sure to be running pulseaudio (the ubuntu default), and not only alsa, oss, or esd.

    Also, you should obviously play something through your speakers when you run this. Perhaps try recording something different than what you already tried?

    I'm sorry if these tips don't help. There isn't much else I can tell you without some kind of error output.

  9. #19
    Join Date
    Jul 2007
    Beans
    414
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: How to record all audio output from sound card in Ubuntu 9.10 Karmic Koala

    Quote Originally Posted by komputes View Post
    I changed the script a bit, this way, you don't have to define output path in case you need to quickly record something. It will simply write the date and time of the recording in the filename and write it to the home directory.

    Code:
    #!/bin/bash
    #This script require sox
    #sudo apt-get install sox
    TIME=$(date +%d-%b-%y_%H%M-%Z)
    
    # Get sink monitor:
    MONITOR=$(pactl list | grep -A2 '^Source #' | \
        grep 'Name: .*\.monitor$' | awk '{print $NF}' | tail -n1)
    
    # Record it raw, and convert to a wav
    echo "Recording. Ctrl-C or close window to stop"
    parec -d "$MONITOR" | sox -t raw -r 44100 -sLb 16 -c 2 - ~/Taped_Recording_$TIME.wav
    I also add an entry to my .bashrc to make aliases for quick recording.

    Code:
    alias tape ="~/bin/soundrip.sh"
    Can anyone take this and make it a gnome panel applet for quick graphical recording. I think the functionality is already done (take a look at gtk-recordmydesktop code).
    Thanks for this. For ages I thought my crappy in-built sound card was to blame. Every attempt I made at recording the speaker output failed, but this script captures the output perfectly.

  10. #20
    Join Date
    Jul 2010
    Beans
    17

    Re: How to record all audio output from sound card in Ubuntu 9.10 Karmic Koala

    Quote Originally Posted by Sepero View Post
    You must be sure to be running pulseaudio (the ubuntu default), and not only alsa, oss, or esd.

    Also, you should obviously play something through your speakers when you run this. Perhaps try recording something different than what you already tried?

    I'm sorry if these tips don't help. There isn't much else I can tell you without some kind of error output.
    It works now - wasn't anything wrong with outRec/the script. I re-installed pulseaudio/padevchooser/pavumeter/pavucontrol. Then I changed my sound preferences to "Internal Audio" for hardware, "Internal Analog Stereo" for output, and "Analog Headphones" for connector. Now I can record through outRec and regular ol' gnome sound recorder.

    I'm not sure exactly what I did, but it works now...

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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