I'd like to have a SoX one-liner that would record 1 hour of audio to mp3. I'm on Windows 7. Is this possible?
Asked
Active
Viewed 1,727 times
1 Answers
1
I don't know a one-liner, but a two-liner. Because SoX cant record mp3 you have to do it in two steps.
First, you record the audio as .wav-file:
rec recorded_track.wav 01:00
After that, you can convert it to a mp3-file by using SoX again.
sox infile.wav outfile.mp3
Christian
- 7,217
- 1
- 27
- 39