Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to convert wav to mp3? 1

Status
Not open for further replies.

janicefoo

Programmer
Apr 17, 2003
53
MY
Dear gurus and members,

I am a newbie in VB and programming. I created an exe that allows to record, play and save user's speech onto his computer. The file is saved as wav. I wonder is it possible to convert the files to mp3 format when user clicks on Save button? I use VB6 to create the MCI and currently stucked in the convertion of wav to mp3.

I would be very glad if someone could share the knowledge and expertise in this area with me. Looking forward to some replies soon.

Thanks in advance,
Janice
 
I would use the Shell command to call out to the LAME (yes, that's it's name) encoder. You can download it at:
Note that it's command-line parameters are very complex.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Hi Chip H,
Thanks for the suggestion. After several research, I decided to use lame_enc.dll and lameencshim.dll for the conversion.

Thanks,
Janice
 
check out it has a section about using lame with VB.

regards

Matt

If you can keep your head while those around you are losing theirs, you obviously haven't grasped the seriousness of the situation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top