Here is a link to a MSVC-6 project that uses the lame library to
encode a .wav file to an .mp3 file. It has relatively straightforword
sequential calls without callbacks that helped me understand what the
lame api was doing.

http://inverse.sf.net/Misc/TestLameEncode.zip
based on tweaked "frontend\main.c" from lame

The .c file should be cross-platform. A test.wav is included in the
.zip, as well as the libmp3lame.lib and mpglib.lib where the .dsp
project file expects to find them.

It's part of the "CleanSpeech" (aka SermonEditor) freeware I've been
working on that is derived from the open source Audacity project.

HTH

----- Original Message ----- 
From: "Steven Wittwer" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, April 05, 2005 5:07 PM
Subject: [mp3encoder] Streaming straight to MP3


Hi everyone...this is my first post, so sorry if this is an obvious
question, I know very little about MP3.  I have developed an activeX
control that uses directX to capture raw PCM audio, I can then process
the data (custom VU,. EQ, Reverb, or whatever), then it writes the
data to disk as a wave file.  I'm wondering if there is a way to write
straight to MP3?  I would like to add this as an option.  I use the
control to record 1.5 hour services at our church, and it takes to
long to convert to MP3 after writing to wave (we are a mobile church,
so I only have access to the computer on sunday mornings).

Thanks,
Steve Wittwer
South County Church
_______________________________________________
mp3encoder mailing list
[email protected]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder


_______________________________________________
mp3encoder mailing list
[email protected]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to