• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

Audio compression

How to make/convert wav file to mp3 file with a delphi 3.
0
mee27
Asked:
mee27
1 Solution
 
mee27Author Commented:
Edited text of question
0
 
williams2Commented:
MP3's are really just a long sequence of numbers, that figures in a rather complex formular.

The principe is to
1. split the bandwidth into severel frequencies
2. construct a formular, which amplitude looks approx. like the waveform. The formular consists mainly of sines and cosines with variations in length and amplitude.
3. The mp3 stream is constructed by a number of frames, each with it's own 4 bytes long header with information on how to decrypt the folowing sequence of numbers. The header is described as an ISO standard.

If you have no mathematical experience, I surgest you to experiement on using existing components or code.

If you decide to give it a try anyway, I can provide you with information on how to analyse the header.

/Williams
0
 
jack_p50Commented:
you better search the net for sound-components, because mp3 is very difficult format, and even if you can do it yourself, it would be very long and hard.
0
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

 
BoRiSCommented:
mee27

I seem to recall seening a component that does just this at www.torry.ru, just go to the vcl section then sound effects...

Later
BoRiS
0
 
ZifNabCommented:
Hi mee27,

look at these, thats what I know about MP3 components :

there are components at : http://www.delphipages.com/ 

but they are made to talk with winamp, ...

other's, but not winamp 'needers'

    http://www.ig.com.ua/wabbit/programs/mpegplay.html 

    http://www.dialog-medien.de/html/products.html 

    http://www.ege.edu.tr/delphi/ftp/d20free/mpegplay.zip 

Regards, Zif.

BoRiS, can you email your url again? Thank you very much!
0
 
bryan7Commented:
I have a component for that, to play a MP3 file.
It also can decode it to a wav file.

bryan
0
 
mee27Author Commented:
Thank you very much for your answers..and all the comments. This is a great one i have seen. Sorry i'm not so good in English..Thanks all.
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now