Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Lame Encoding Vox -> Mp3 (Read 8400 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Lame Encoding Vox -> Mp3

I'm having trouble encoding vox files to mp3's.  vox files are extremely low quality audio files at a sample rate of 6000.  Has anybody ever messed with this before?  I've tried different flags but I'm getting different types of "white noise".  Any help would be greatly appreciated.
Thanks

Lame Encoding Vox -> Mp3

Reply #1
I routinely handle similarly poor quality files but find MP3 a lousy choice. WavPack gets my 11 kHz mono files down to 8-11 kbps. This isn't helpful if you really need MP3, but I found inflated file sizes the only way to maintain acceptable audio quality.

Lame Encoding Vox -> Mp3

Reply #2
I'm having trouble encoding vox files to mp3's.  vox files are extremely low quality audio files at a sample rate of 6000.  Has anybody ever messed with this before?  I've tried different flags but I'm getting different types of "white noise".  Any help would be greatly appreciated.
Thanks

From http://www.nch.com.au/acm/formats.html
vox - the vox format most commonly uses the Dialogic ADPCM (Adaptive Differential Pulse Code Modulation) codec. Similar to other ADPCM formats, it compresses to 4-bits. Vox format files are similar to wave files except that the vox files contain no information about the file itself so the codec sample rate and number of channels must first be specified in order to play a vox file. Vox a very old file type and is pretty poor. We do not recommend it for anything except for supporting legacy systems.

Looks like you will first need to decode the vox file to something that lame can use.

 

Lame Encoding Vox -> Mp3

Reply #3

I'm having trouble encoding vox files to mp3's.  vox files are extremely low quality audio files at a sample rate of 6000.  Has anybody ever messed with this before?  I've tried different flags but I'm getting different types of "white noise".  Any help would be greatly appreciated.
Thanks

From http://www.nch.com.au/acm/formats.html
vox - the vox format most commonly uses the Dialogic ADPCM (Adaptive Differential Pulse Code Modulation) codec. Similar to other ADPCM formats, it compresses to 4-bits. Vox format files are similar to wave files except that the vox files contain no information about the file itself so the codec sample rate and number of channels must first be specified in order to play a vox file. Vox a very old file type and is pretty poor. We do not recommend it for anything except for supporting legacy systems.

Looks like you will first need to decode the vox file to something that lame can use.


I think I know what you are saying.  I must first convert the vox file to wav format then encode to mp3.  I have one more question.  Can lame use .dll's for special reasons?  When further looks into the directory that holds lame (this was setup by another corporate) I'm finding a .dll that has the name "VoxWavConv.dll".  Could lame use this?

Lame Encoding Vox -> Mp3

Reply #4


I'm having trouble encoding vox files to mp3's.  vox files are extremely low quality audio files at a sample rate of 6000.  Has anybody ever messed with this before?  I've tried different flags but I'm getting different types of "white noise".  Any help would be greatly appreciated.
Thanks

From http://www.nch.com.au/acm/formats.html
vox - the vox format most commonly uses the Dialogic ADPCM (Adaptive Differential Pulse Code Modulation) codec. Similar to other ADPCM formats, it compresses to 4-bits. Vox format files are similar to wave files except that the vox files contain no information about the file itself so the codec sample rate and number of channels must first be specified in order to play a vox file. Vox a very old file type and is pretty poor. We do not recommend it for anything except for supporting legacy systems.

Looks like you will first need to decode the vox file to something that lame can use.


I think I know what you are saying.  I must first convert the vox file to wav format then encode to mp3.  I have one more question.  Can lame use .dll's for special reasons?  When further looks into the directory that holds lame (this was setup by another corporate) I'm finding a .dll that has the name "VoxWavConv.dll".  Could lame use this?

Unfortunately not.

Lame Encoding Vox -> Mp3

Reply #5



I'm having trouble encoding vox files to mp3's.  vox files are extremely low quality audio files at a sample rate of 6000.  Has anybody ever messed with this before?  I've tried different flags but I'm getting different types of "white noise".  Any help would be greatly appreciated.
Thanks

From http://www.nch.com.au/acm/formats.html
vox - the vox format most commonly uses the Dialogic ADPCM (Adaptive Differential Pulse Code Modulation) codec. Similar to other ADPCM formats, it compresses to 4-bits. Vox format files are similar to wave files except that the vox files contain no information about the file itself so the codec sample rate and number of channels must first be specified in order to play a vox file. Vox a very old file type and is pretty poor. We do not recommend it for anything except for supporting legacy systems.

Looks like you will first need to decode the vox file to something that lame can use.


I think I know what you are saying.  I must first convert the vox file to wav format then encode to mp3.  I have one more question.  Can lame use .dll's for special reasons?  When further looks into the directory that holds lame (this was setup by another corporate) I'm finding a .dll that has the name "VoxWavConv.dll".  Could lame use this?

Unfortunately not.


ahh, crappy. 

Lame Encoding Vox -> Mp3

Reply #6
I routinely handle similarly poor quality files but find MP3 a lousy choice. WavPack gets my 11 kHz mono files down to 8-11 kbps. This isn't helpful if you really need MP3, but I found inflated file sizes the only way to maintain acceptable audio quality.


When looking through the documentation it seems to show that it does not support conversion of ADPCM, just PCM.

Lame Encoding Vox -> Mp3

Reply #7

I routinely handle similarly poor quality files but find MP3 a lousy choice. WavPack gets my 11 kHz mono files down to 8-11 kbps. This isn't helpful if you really need MP3, but I found inflated file sizes the only way to maintain acceptable audio quality.


When looking through the documentation it seems to show that it does not support conversion of ADPCM, just PCM.

In the past I have seen mention of using foobar2000 to convert ADPCM files. You might look into that. It can also handle the conversion to mp3, possibly in a single step.

Lame Encoding Vox -> Mp3

Reply #8
If you have a LAME build, which uses a recent LibSndfile DLL for reading input files, you can use LAME to convert vox files into mp3, as VOX seems to be supported by LibSndfile since version 1.0.2.

http://www.mega-nerd.com/libsndfile/

Lame Encoding Vox -> Mp3

Reply #9
If you have a LAME build, which uses a recent LibSndfile DLL for reading input files, you can use LAME to convert vox files into mp3, as VOX seems to be supported by LibSndfile since version 1.0.2.

http://www.mega-nerd.com/libsndfile/

How would one specify the sample rate and number of channels, since that information is apparently not in the file itself?

Lame Encoding Vox -> Mp3

Reply #10
LibSndfile says VOX files are single channel files at a samplerate of 8 kHz.

There is currently no way to tell LAME to overrule what LibSndfile says.

Code: [Select]
robert@sly:~/Audio/lame-070912> sox  ../1.wav -r8000 1.vox

Code: [Select]
robert@sly:~/Audio/lame-070912> ./frontend/lame -v 1.vox
LAME 3.98 (beta 5, Sep 12 2007) 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), 3DNow! (ASM used), SSE (ASM used), SSE2
Using polyphase lowpass filter, transition band:  3903 Hz -  4000 Hz
Encoding 1.vox to 1.vox.mp3
Encoding as 8 kHz VBR(q=4) single-ch MPEG-2.5 Layer III (ca. 10x) qval=0
    Frame          |  CPU time/estim | REAL time/estim | play/CPU |    ETA
  5203/5203  (100%)|    0:02/    0:02|    0:02/    0:02|   173.43x|    0:00
  8 [  15] *
16 [ 889] ********************************
24 [2259] ********************************************************************************
32 [ 114] *****
40 [ 531] *******************
48 [ 653] ************************
56 [ 685] *************************
64 [  57] ***
-------------------------------------------------------------------------------------------
   kbps       mono %     long switch short %
   32.1      100.0        32.4  29.6  38.1
Writing LAME Tag...done
ReplayGain: +4.7dB

Code: [Select]
robert@sly:~/Audio/lame-070912> ll 1.vox*
-rw-r--r-- 1 robert users 1497322 12. Sep 14:39 1.vox
-rw-r--r-- 1 robert users 1501488 12. Sep 14:39 1.vox.mp3


(edit: added code blocks)

PS: You can build LAME with LibSndfile support on Windows too