Re: how to record sound to mp3 [wav, for those who can]

2021-03-26 Thread David Wright
On Thu 25 Mar 2021 at 23:22:35 (+0100), Nicolas George wrote: > David Wright (12021-03-25): > > > > $ arecord -d 10 -f cd -v -v -v -D plughw:0,0 /tmp/audiofile.wav > > > This command does not record the sound being played. > > … on your machine. > > On no machine, unless specifically configured,

Re: how to record sound to mp3 [wav, for those who can]

2021-03-26 Thread Michael Lange
On Fri, 26 Mar 2021 09:47:28 +0100 Michael Lange wrote: > Plus, I don't know how to switch the OSS capture > device programmatically (if this is important for the OP's purpose). uh, got it. $ aumix -v R sets "Vol" as capture device. Regards Michael .-.. .. ...- . .-.. --- -. --. .- -.

Re: how to record sound to mp3 [wav, for those who can]

2021-03-26 Thread Michael Lange
Hi, On Fri, 26 Mar 2021 08:38:02 +0100 wrote: > On Thu, Mar 25, 2021 at 11:22:35PM +0100, Nicolas George wrote: > > David Wright (12021-03-25): > > > > > $ arecord -d 10 -f cd -v -v -v -D plughw:0,0 /tmp/audiofile.wav > > > > This command does not record the sound being played. > > > … on your

Re: how to record sound to mp3 [wav, for those who can]

2021-03-26 Thread tomas
On Thu, Mar 25, 2021 at 11:22:35PM +0100, Nicolas George wrote: > David Wright (12021-03-25): > > > > $ arecord -d 10 -f cd -v -v -v -D plughw:0,0 /tmp/audiofile.wav > > > This command does not record the sound being played. > > … on your machine. > > On no machine, unless specifically

Re: how to record sound to mp3 [wav, for those who can]

2021-03-25 Thread Linux-Fan
David Wright writes: On Thu 25 Mar 2021 at 17:40:51 (+0100), Nicolas George wrote: > David Wright (12021-03-25): [...] > > To record, you could type, for example, in another xterm: > > > > $ arecord -d 10 -f cd -v -v -v -D plughw:0,0 /tmp/audiofile.wav > > This command does not record the

Re: how to record sound to mp3 [wav, for those who can]

2021-03-25 Thread Nicolas George
David Wright (12021-03-25): > > > $ arecord -d 10 -f cd -v -v -v -D plughw:0,0 /tmp/audiofile.wav > > This command does not record the sound being played. > … on your machine. On no machine, unless specifically configured, which is not trivial at all. It would be helpful if people around here

Re: how to record sound to mp3 [wav, for those who can]

2021-03-25 Thread David Wright
On Thu 25 Mar 2021 at 17:40:51 (+0100), Nicolas George wrote: > David Wright (12021-03-25): > > > now i modify my requirement to how to use arecord to record sound being > > > played to wav file > > > To record, you could type, for example, in another xterm: > > > > $ arecord -d 10 -f cd -v -v

Re: how to record sound to mp3

2021-03-25 Thread Celejar
On Thu, 25 Mar 2021 19:51:42 +0100 Nicolas George wrote: > Greg Wooledge (12021-03-25): > > However, this is NOT something you can do with MP3 files. They are not > > designed to be concatenated. (Ogg Vorbis files *are*. MP3 files aren't.) > > It's the other way around. Pure MP3 files are

Re: how to record sound to mp3

2021-03-25 Thread Nicolas George
Greg Wooledge (12021-03-25): > I was told *by the developer* (Monty, in #vorbis IRC long ago) that > Ogg Vorbis files were designed for this. Yes, I know concatenation is supposed to be a feature, but they messed it up. You may not know, but the expert consensus is that, although the codec

Re: how to record sound to mp3

2021-03-25 Thread Greg Wooledge
On Thu, Mar 25, 2021 at 07:51:42PM +0100, Nicolas George wrote: > On the other hand, Ogg files are NOT concatenable, even those that > contain only Vorbis audio. Some player will ignore the discontinuity at > the concatenation points, but not all. I was told *by the developer* (Monty, in #vorbis

Re: how to record sound to mp3

2021-03-25 Thread Nicolas George
Greg Wooledge (12021-03-25): > However, this is NOT something you can do with MP3 files. They are not > designed to be concatenated. (Ogg Vorbis files *are*. MP3 files aren't.) It's the other way around. Pure MP3 files are just a concatenation of self-delimited packets, concatenation will just

Re: how to record sound to mp3

2021-03-25 Thread Greg Wooledge
On Thu, Mar 25, 2021 at 06:29:43PM +, Long Wind wrote: > i ask other question: which command can merge two mp3 file?this command is > mp3 file version of DOS command "copy file1+file2 file3" The Unix version of that is: cat file1 file2 > file3 However, this is NOT something you can do with

Re: how to record sound to mp3

2021-03-25 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 ‐‐‐ Original Message ‐‐‐ On Thursday, March 25, 2021 10:40 AM, Nicolas George wrote: > David Wright (12021-03-25): > > > > now i modify my requirement to how to use arecord to record sound being > > > played to wav file > > > To record,

Re: how to record sound to mp3

2021-03-25 Thread Nicolas George
David Wright (12021-03-25): > > now i modify my requirement to how to use arecord to record sound being > > played to wav file > To record, you could type, for example, in another xterm: > > $ arecord -d 10 -f cd -v -v -v -D plughw:0,0 /tmp/audiofile.wav This command does not record the sound

Re: how to record sound to mp3

2021-03-25 Thread David Wright
On Thu 25 Mar 2021 at 12:20:56 (+), Long Wind wrote: > now i modify my requirement to how to use arecord to record sound being > played to wav file That makes it easier as there's less work for the CPU to do. > i use buster, how to set default sound recording source? One way is to run

Re: how to record sound to mp3

2021-03-25 Thread Darac Marjal
On 25/03/2021 11:37, Long Wind wrote: > i use mplayer to play sound > i urgently want a program that can record sound being played to mp3 > which package shall i install? IF you're using pulseaudio as your sound server, there are some neat solutions on the AskUbuntu site|[1]. In particular, the

Re: how to record sound to mp3

2021-03-25 Thread Victor A. Stoichita
Le 25 Mar 2021, Nicolas George a écrit : I am quite sure (and certain in the case of FFmpeg) that none of them can record the sound being played. If it’s about playing a file and recording its audio to mp3, the following will work: ffmpeg -i your-file.avi your-file.mp3 Change

Re: how to record sound to mp3

2021-03-25 Thread tomas
On Thu, Mar 25, 2021 at 12:20:56PM +, Long Wind wrote: > Thanks to all that reply! > now i modify my requirement tohow to use arecord to record sound being played > to wav file > i use buster, how to set default sound recording source?in early debian > distro(stretch?) sound mixer can be

Re: how to record sound to mp3

2021-03-25 Thread Long Wind
Thanks to all that reply! now i modify my requirement tohow to use arecord to record sound being played to wav file i use buster, how to set default sound recording source?in early debian distro(stretch?) sound mixer can be used to set recording source PS: i use twm, i'm afraid that gnome

Re: how to record sound to mp3

2021-03-25 Thread Susmita/Rajib
Please install (if not already) gnome-sound-recorder and set up settings there itself. You could even record on the fastest recording option feasible for your system, and then use soundconverter to convert the sound to mp3. Best.

Re: how to record sound to mp3

2021-03-25 Thread Alexander V. Makartsev
On 25.03.2021 16:37, Long Wind wrote: i use mplayer to play sound i urgently want a program that can record sound being played to mp3 which package shall i install? Thanks! I recommend "audacity" sound editor. It can record audio and export to mp3 or other formats. -- With kindest regards,

Re: how to record sound to mp3

2021-03-25 Thread Nicolas George
to...@tuxteam.de (12021-03-25): > > i use mplayer to play soundi urgently want a program that can record sound > > being played to mp3 > > Command line? (from simple to complex) arecord, sox, ffmpeg > > GUI? I don't know. Perhaps snd, audacity (those are actually sound > editors, but you

Re: how to record sound to mp3

2021-03-25 Thread tomas
On Thu, Mar 25, 2021 at 11:37:53AM +, Long Wind wrote: > i use mplayer to play soundi urgently want a program that can record sound > being played to mp3which package shall i install?Thanks! Command line? (from simple to complex) arecord, sox, ffmpeg GUI? I don't know. Perhaps snd,