3 Replies - 6368 Views - Last Post: 01 March 2010 - 10:30 AM Rate Topic: -----

#1 m.fayez  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 01-March 10

read an MP3 file in C++

Posted 01 March 2010 - 07:07 AM

helloo
i'd like to know how to read an mp3 file or an audio file using C++
is there an instruction to do this task as in MATLAB ??
thnx in advance
Is This A Good Question/Topic? 0
  • +

Replies To: read an MP3 file in C++

#2 VentiLator  Icon User is offline

  • New D.I.C Head

Reputation: 8
  • View blog
  • Posts: 40
  • Joined: 07-March 09

Re: read an MP3 file in C++

Posted 01 March 2010 - 07:52 AM

There are several libraries that are capable of handling .mp3 files.

take a look at this: http://www.mpg123.de/
Was This Post Helpful? 2
  • +
  • -

#3 bodom658  Icon User is offline

  • Villiage Idiom
  • member icon

Reputation: 112
  • View blog
  • Posts: 1,123
  • Joined: 22-February 08

Re: read an MP3 file in C++

Posted 01 March 2010 - 08:15 AM

I guess it really depends on what you want to do with it, but VentiLator has the right Idea. I'd also take a look at xmms2 source for ideas if you think that'd help.
Was This Post Helpful? 1
  • +
  • -

#4 m.fayez  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 01-March 10

Re: read an MP3 file in C++

Posted 01 March 2010 - 10:30 AM

thanks for the reply
i'll use the wav file in a speech recognition application
so i need to know how to save the file in an array or something
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1