Jump to content

Help with audio format conversion

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1
knightspider00000

knightspider00000

    Newbie

  • Members
  • Pip
  • 1 posts
Howdy!

I've been assigned a project (for the course I'm attending) to create a program that compresses wav files to mp3. I have no background in digital signal processing (or the inner workings of audio formats for that matter), and don't have much of an idea where to start.

I've looked up the very basics of the wav format but any attempt to find more about audio compression hits me with terms like 'psychoacoustics' and 'modified discrete cosine transform'.

Could someone suggest how to go about this? Will it require learning much about Digital Sig. Processing? If so, could you suggest a source that describes what I need to know without going into too much detail?

I'll be using C/C++.

Thanks.

#2
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,720 posts
MP3 Format Information (scroll down a bit)
WAV Format Information (near bottom)

There's C source code for decoding MP3 files in the first link, near the middle.

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Look up LAME. It's open-source and encodes to MP3.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Of course, the user needs the LAME library to be installed as well - but it probably is if the user has something like Audacity installed, which needs the LAME library to export to MP3s.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
LAME is open-source, so he could look at how the encoding was performed.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#6
rameshwar_kulwant

rameshwar_kulwant

    Newbie

  • Members
  • Pip
  • 1 posts
Hi ,
This is very ineresting project.

#7
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Yes, it is - and welcome to CodeCall! :D

Did KnightSpider00000 manage it?
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums