Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #240790

Re: how to record sound being played using arecord

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: how to record sound being played using arecord
Date 2021-10-02 13:50 +0200
Message-ID <D3LGF-1vV-5@gated-at.bofh.it> (permalink)
References <D3I66-7Hf-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


lou wrote: 
> Could you give me commands that record sound being played?
> 
> i don't know how to use alsaloop
> 
> Can arecord use mp3 format?

Nothing records directly into mp3; mp3 is a compressed format.
ffmpeg or lame can turn the .wav or .au that you get from a
recording system into an mp3.

>   ~$ amixer
> Simple mixer control 'Master',0
>   Capabilities: pvolume pswitch pswitch-joined
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 65536
>   Mono:
>   Front Left: Playback 31609 [48%] [on]
>   Front Right: Playback 31609 [48%] [on]
> Simple mixer control 'Capture',0
>   Capabilities: cvolume cswitch cswitch-joined
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 65536
>   Front Left: Capture 3479 [5%] [off]
>   Front Right: Capture 3479 [5%] [off]
> 
> ~$ arecord -l
> **** List of CAPTURE Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0

Do you have a microphone plugged in?

Try

arecord test.wav

and make some noise, then hit ctrl-c to stop the recording.

Use

aplay test.wav

to play it back.

If you need a more sophisticated interface, consider installing
audacity.

-dsr-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how to record sound being played using arecord lou <loushanguan2015@sina.com> - 2021-10-02 10:00 +0200
  Re: how to record sound being played using arecord Dan Ritter <dsr@randomstring.org> - 2021-10-02 13:50 +0200
    Re: how to record sound being played using arecord lou <loushanguan2015@sina.com> - 2021-10-02 14:20 +0200
      Re: how to record sound being played using arecord Dan Ritter <dsr@randomstring.org> - 2021-10-02 15:40 +0200
        Re: how to record sound being played using arecord lou <loushanguan2015@sina.com> - 2021-10-03 04:10 +0200
          Re: how to record sound being played using arecord Michael Lange <klappnase@freenet.de> - 2021-10-03 15:30 +0200
            Re: how to record sound being played using arecord lou <loushanguan2015@sina.com> - 2021-10-03 22:30 +0200
  Re: how to record sound being played using arecord Michael Lange <klappnase@freenet.de> - 2021-10-02 20:20 +0200

csiph-web