[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to record sound being played using arecord



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-


Reply to: