Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Rep:
mp3 conversion and frequency
I have a large wav speech file (SPM4854.wav) that I would like to encode to an mp3 with 16 kHz 24 kbps single-ch MPEG-2 Layer III (10.7x) qval=3. Typing:
lame -s 16 -b 24 SPM4854.wav SPM48524.mp3
encodes an mp3 at 8 kHz and 24 kbps. I have sox-can I use that to help me make a file with a frequency of 16 kHz?
I think your lame options are wrong for what you're trying to do.
Without experimenting I can't tell you exactly the right ones, but I would try something like lame -a -V8 -b infile outfile to get a mono vbr at low quality. It should work.
My real advice would be to use Audacity and use the graphical interface. It's easier to understand if you're not sure what you're doing.
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Original Poster
Rep:
Didn't work the way I wanted it. It saved at a bitrate of 24 in audacity but also used a frequency of 8 kHz which made the audio crack. 16 kHz would be ok-can I get that...I do on other audio files (not sure why)?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.