Monday, May 6, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 3536  / 3 Years ago, wed, june 16, 2021, 1:50:48

What is a good way to convert mp3 files to speex files? I'll favor answers that give an easy solution for converting multiple files at a time and/or maintain good quality for spoken audio. Though any solution will be appreciated since I haven't found even a difficult way that works.


More From » software-recommendation

 Answers
7

Example for processing all mp3 files in current folder to speex using wide band (input rate converted to 16KHz with best SRC available - SoX):



for f in *.mp3 ; do sox "$f" -r 16k -t wav - | speexenc -w - "${f%.*}.speex" ; done


Depending on preferences change speex option and/or SoX rate converter to appropriate setting. For spoken audio example wide band should be fine


[#42215] Thursday, June 17, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
gerrin

Total Points: 347
Total Questions: 109
Total Answers: 121

Location: Tanzania
Member since Fri, Oct 29, 2021
3 Years ago
gerrin questions
Sun, Sep 25, 22, 12:20, 2 Years ago
Sat, Sep 11, 21, 20:11, 3 Years ago
Tue, Jan 11, 22, 22:26, 2 Years ago
Thu, Oct 28, 21, 14:34, 3 Years ago
Sat, Mar 12, 22, 10:03, 2 Years ago
;