I want to know how do I convert an mp3 file to vox file format.
2 Answers
You want Sound eXchange aka SoX. Here's an example of converting WAV to VOX (source):
sox input.wav -r 8000 -c 1 output.vox vol 1.0 polyphase stat
See the SoX manpage and supported file formats documentation.
Note that the general sox syntax is:
sox [global-options] [input-format-options] infile1 [... infile2]
[output-format-options] outfile [effect [effect-options]
So in the above example, -r 8000 -c 1
are format options for the output VOX file.
You probably won't need input file options for MP3 data since SoX can read that from the file header.