Solved

wav to mp3 convertor

Posted on 2003-11-19
8
907 Views
Last Modified: 2010-04-05
hi,

 i wish to make a very simple wav to mp3 convertor  or a CD ripper.
please show me some source or components that will help me program this.

thanks.
0
Comment
Question by:earlrainer
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 3

Expert Comment

by:Mamouri
ID: 9777390
Hi!

You must use a library for encoding/decoding MP3!
Best and most popular OpenSource project is LAME. Lame used by a large companies like eHelp.com (developer of RoboHelp and RoboDemo), and in a lot of CD2MP3 Ripper!

It orginaly wrote in C but it have some dll files that you can use in your project.
It have a comman-line tool for encoding/decoding too!

I suggest using Command-Line tool.

Lame MP3 homepage:

http://lame.sourceforge.net/

See Lame MP3 yourself and if you cant using it I will write a simple program for you!

Regards
0
 
LVL 1

Expert Comment

by:Muuss
ID: 9777581
Swiftsoft distributes freely a blade encoder component that is able to convert waves to mp3.
http://www.swiftsoft.de/free.html
don't forget to download the blade dll (url in readme file)
0
 
LVL 3

Expert Comment

by:Mamouri
ID: 9777616
Hi again!

Pleas read article in following url, too:
It help you a lot for writing Audio Tools progrms:

http://www.howtodothings.com/showarticle.asp?article=35

and it can help you about converting wav to mp3 and all possible ways!

Regards
0
 
LVL 1

Author Comment

by:earlrainer
ID: 9784920
hi,

 thank you guys for your help. though i still have problems.

Muss,
 i downloaded the file from the source you mentioned , but the URL for blade itself does not work

Mamouri,
 i have now got the source for LAME , but dont know how to proceed. there is a PAS file in the source...but beyond that i dont understand. there is also no lame.exe .the batch file also does not seem to work

please help

regards
 
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 1

Expert Comment

by:Muuss
ID: 9785873
Blade's homepage :
http://bladeenc.mp3.no/

just visit the Download page, all is there

or go to
http://www2.arnes.si/~mmilut/
and download
http://www2.arnes.si/~mmilut/BEnc-0942-Win-i586-dll.zip
0
 
LVL 1

Author Comment

by:earlrainer
ID: 9787870

Hi Muuss,

 i got the blade.exe now

 now if i try to install the delphi components you wrote earlier i get an error saying compiler.inc not found

 do you know how i can fix this

 thanks
0
 
LVL 2

Expert Comment

by:TheLeader
ID: 9808342
listening
0
 
LVL 1

Accepted Solution

by:
Muuss earned 200 total points
ID: 9809512

First of all, download mmtools7.exe from swiftsoft and install it. Make sure that delphi can access the dcu files (library paths, tools->options).

then in MMMpReg.pas

change the file as follow :

unit MMMpReg;

"
{$I COMPILER.INC}

{$DEFINE _BLADEENC}

Interface

uses
    DesignIntf,
    DesignEditors;
"


then add "C:\Program Files\Borland\Delphi7\Source\ToolsAPI" (or what it is on your computer) to your library pathes.

create a proxies.pas file containing :
"unit Proxies;

interface

function IsProxyClass(ComponentClass: TClass): Boolean;

implementation

function IsProxyClass(ComponentClass: TClass): Boolean;
begin
  Result := True;
end;

end."

and place it in the source/toolsapi dir, or in the directory you compile blade in.

it should work now.


0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now