Solved

wav to mp3 convertor

Posted on 2003-11-19
8
912 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
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
 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sending Gmail through Delphi 3 102
Process Javascript errors with Delphi TWebBrowser 1 129
Delphi - replicating a form 8 72
How to define IfThen functions in one common unit? 4 49
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 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

8 Experts available now in Live!

Get 1:1 Help Now