Re: MP3 encoding of wav files from Olympus voice recorder



On Tue, 26 Sep 2006 18:12:55 +0200, Dances With Crows wrote:

On Tue, 26 Sep 2006 16:26:00 +0200, Bernard staggered into the Black Sun
and said:
My Olympus Voice Recorder VN-960PC generates wav files, and I wonder
why I cannot mp3 encode them using LAME. If I try to do so, I get mp3
files that are inaudible, I mean, I can hear nothing else than a
background noise like compressed air leaking out of a cut tire.

Take one of these .wav files and run file on it. Like so:

clairissa:/usr/share/sounds$ file k3b_error1.wav k3b_error1.wav: RIFF
(little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 8000 Hz

Here is what I get :

file dw_c0106.wav
dw_c0106.wav: RIFF (little-endian) data, WAVE audio, mono 22050 Hz



...and reproduce the data for us. Also give the exact lame command
you're using.

I have tried many lame options. Oh, by the way, the inaudible files that I
get are shorter in terms of playing time, about 4 times shorter that the
normal playing time

below, one typical lame command that I use :

lame -r -s 16 --bitwidth 16 -m m -q 0 --noreplaygain dw_c0106.wav
trial3.mp3

This one gives something that is maybe less weird than whatever else I get
using other parameters ; I can hear that someone is kind of talking, but
much faster than normal.

Finally, play one of these .wav files using play or
whatever, and make sure it plays properly.

it does play properly with anything, including MSWIN Windows Media Player


I can successfully encode *.wav files coming from anywhere [else], but
not those that come out from my voice recorder. Could anyone explain me
what the problem could be and what to do about it?

.wav files do not necessarily have to contain PCM data. They usually
do, but not always. They could contain audio that's compressed in some
way, or they could have a strange sampling rate, or they could be mono
where lame is expecting stereo. The output of the file command will
tell you what the file really is.

How should I set lame parameters for those particular wav files?

Check what the file really is, and check the man page for lame to set
things up properly. HTH,
.



Relevant Pages

  • Re: MP3 encoding of wav files from Olympus voice recorder
    ... why I cannot mp3 encode them using LAME. ... Take one of these .wav files and run file on it. ... play one of these .wav files using play or ...
    (comp.os.linux.hardware)
  • Re: MP3 encoding of wav files from Olympus voice recorder
    ... why I cannot mp3 encode them using LAME. ... data, WAVE audio, Microsoft PCM, 8 bit, mono 8000 Hz ...
    (comp.os.linux.hardware)
  • Re: Downloading to a mobile phone
    ... > I've downgraded a couple of MP3s to 32kbs mono using lame and remembered ... > that there is a way to upload these to a website and grab them from there, ...
    (uk.comp.os.linux)
  • Re: C# Grammar issues
    ... Mono is and always will be lame. ... MS's DotNet stuff and have probably learned a lot about compilers and ... and I'm not so interested in it as to try to follow the Mono ... Dacon Software Consulting ...
    (microsoft.public.dotnet.languages.csharp)