Results 1 to 2 of 2

Thread: can't record sound

  1. #1
    Join Date
    Oct 2012
    Beans
    50
    Distro
    Xubuntu

    can't record sound

    I'm trying to record some sound from a flash game that has a rather neat soundtrack, so I start the game up, and then run this in the terminal:
    Code:
    arecord -f cd -t raw | oggenc - -r -o out.ogg
    ...after about 40 seconds, I press CTRL-C:
    Code:
    james@james-OptiPlex-GX620:~$ arecord -f cd -t raw | oggenc - -r -o out.oggEncoding standard input to 
             "out.ogg" 
    at quality 3.00
    Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
        Encoding [ 0m41s so far] \ ^CAborted by signal Interrupt...
    
    
    james@james-OptiPlex-GX620:~$
    The sound file is created, it's about 487.4 KB, and the Audio tab of its properties looks like this:
    General
    Title: Unknown
    Artist: Unknown
    Album: Unknown
    Year: Unknown
    Duration: Unknown
    Comment:


    Audio
    Codec: Vorbis
    Channels: Stereo
    Sample rate: 44100 Hz
    Bitrate: 112 kbps
    Everything appears to be fine, but when I try to play it, I hear nothing. I've tried Rythmbox, Movie Player, and VLC, and the result is identical.

    Perhaps I'm recording the sound from the wrong input device? If so, what is the correct argument to "listen in" to Adobe Flash Player?
    Apparently I've found the one situation in which Windows provides more low-level hardware access than Linux…
    https://unix.stackexchange.com/q/446088/26420

  2. #2
    Join Date
    May 2009
    Location
    Courtenay, BC, Canada
    Beans
    1,661

    Re: can't record sound

    Code:
    sudo apt-get install pavucontrol
    pavucontrol
    start recording then set the input to a mirror of whatever your desktop sounds are

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
  •